Commit Graph

10344 Commits

Author SHA1 Message Date
Katarzyna Cencelewska
8ff34fea29 Fix typo
-engineGroupTyp to engineGroupType
-remove gap between commits to use same desc.ordinal in createCommandQueue

Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-05-24 12:15:12 +02:00
Mateusz Jablonski
f26164776e test: zero-initialize states in test's body
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-24 11:53:16 +02:00
Filip Hazubski
57eb195571 Correct calculating of CL_DEVICE_GLOBAL_MEM_CACHE_SIZE value
Related-To: NEO-6991, NEO-6993

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-05-24 11:42:01 +02:00
Katarzyna Cencelewska
637767500d Add implementation for flag NodeOrdinal to l0
create method adjustCommandQueueDesc

Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-05-24 11:10:59 +02:00
Bellekallu Rajkiran
3efdfba41e Add support for error correction codes
Implement ECC API.
Add ULTs to validate error correction codes.
Integrate sysman ecc with igsc.

Related-To: LOCI-2782

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-05-24 11:03:16 +02:00
Compute-Runtime-Validation
b48d4a87d2 Revert "Enable cl_intel_split_work_group_barrier extension for all platforms"
This reverts commit 4bb5a49eda.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-05-24 09:48:09 +02:00
Mateusz Jablonski
f8983a8ecf test: Move linux specific tests to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-23 19:21:50 +02:00
Brandon Yates
2bc0402deb Update L0 Loader to v1.8.1
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2022-05-23 18:38:56 +02:00
Zbigniew Zdanowicz
a7acec9a04 Block event signal until cache flush is completed
Related-To: NEO-6871

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-05-23 17:51:16 +02:00
Mateusz Jablonski
b6a9ed98c9 test: move drm mocks/fixtures and related tests to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-23 17:48:07 +02:00
Filip Hazubski
4bb5a49eda Enable cl_intel_split_work_group_barrier extension for all platforms
Related-To: NEO-6991, NEO-6993

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-05-23 17:26:36 +02:00
Filip Hazubski
fd341beced Enable extension for Xe HPG platforms
Enable cl_intel_subgroup_split_matrix_multiply_accumulate extension
for Xe HPG platforms.

Related-To: NEO-6991, NEO-6993

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-05-23 17:17:49 +02:00
Mateusz Jablonski
b0e75b18fd Create a wrapper for drm_i915_gem_context_create_ext_setparam
Related-To: NEO-6852, NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-23 16:42:54 +02:00
Michal Mrozek
b934a3f5cb Revert "Enable ZE_ENABLE_PCI_ID_DEVICE_ORDER by default"
This reverts commit 4fb776b6d5eac2ea3b3ee1becde937f189bb02b9.

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-05-23 15:17:33 +02:00
Mateusz Jablonski
d07503534d Move drm tests to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-23 15:09:45 +02:00
Zbigniew Zdanowicz
7ca20ceb4b Change event algorithm to limit cache flush operation to single kernel packet
Related-To: NEO-6871

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-05-23 13:58:16 +02:00
Mateusz Hoppe
66c1727398 Program SIP end WA for non-copyOnly cmd queues
Resolves: NEO-6949

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-05-23 13:51:26 +02:00
Mateusz Jablonski
a552252fee Extend IoctlHelper::get interface - pass drm version
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-23 13:45:33 +02:00
Filip Hazubski
36a07a77a1 Program Source/Destination CompressionType field in XY_BLOCK_COPY_BLT
Properly handle blitter commands for media compressed images.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-05-23 12:16:19 +02:00
Artur Harasimiuk
8f5467d3c6 test: create working dir for tests
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-23 12:02:01 +02:00
Lukasz Jobczyk
13f8139951 Change direct submission controller unit to microseconds
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-05-23 08:34:49 +02:00
Bellekallu Rajkiran
b3d9893df5 Modify media performance multiplier scale to factor conversion
Set performance factor to half of max performance factor when
multiplier scale is 0.5.
Add ULTs to verify the same.

Related-To: LOCI-3026

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-05-22 05:01:06 +02:00
Artur Harasimiuk
8711baa338 infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-21 11:55:55 +02:00
Zbigniew Zdanowicz
9b39a21fff Add new module tests and test kernels
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-05-20 22:30:50 +02:00
Jaime Arteaga
075e192ac2 Enable ZE_ENABLE_PCI_ID_DEVICE_ORDER by default
Most customers use this already, so enable by default to have
consistent enumeration of devices.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
22.21.23309
2022-05-20 18:02:10 +02:00
Sebastian Luzynski
b8cf0c757a Notify gtpin onCommandBufferComplete
Notify gtpin onContextDestroy before SVM Allocations are deleted.

Resolves: NEO-6985

Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
2022-05-20 16:42:13 +02:00
ocldev
a835175208 igsc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2022-05-20 16:30:24 +02:00
Mateusz Jablonski
2202d05ea1 Create a wrapper for drm_i915_gem_context_param
Related-To: NEO-6852, NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-20 16:11:51 +02:00
Mateusz Jablonski
47d9d8f9e2 test: add missing include
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-20 16:02:52 +02:00
Artur Harasimiuk
6ae83b4c08 infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-20 15:55:32 +02:00
Mateusz Jablonski
d5771d2e93 Create a wrapper for drm_i915_gem_set_domain
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-20 15:19:40 +02:00
Mateusz Jablonski
c47c6b9d94 test: correct parameters for memcpy_s function, limit source buffer size
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-20 14:34:38 +02:00
Mateusz Jablonski
d0423235ea feature: enable linux completion fence on Xe Hp
Related-To: NEO-6643
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-20 14:20:57 +02:00
Artur Harasimiuk
dc78375d46 use test_files from source location in ults
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-20 14:20:13 +02:00
Mateusz Jablonski
685b9396d4 feature: enable linux completion fence on Xe Hpc
Related-To: NEO-6643
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-20 13:06:52 +02:00
Mateusz Jablonski
3ac5853e8d Add a method to check drm support
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-20 12:44:19 +02:00
Mateusz Hoppe
fb40e8d1a6 Do not decanonize SBA addresses when tracking
- use cannonized addresses for debugger

Resolves: NEO-6997

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-05-20 11:58:42 +02:00
Kamil Diedrich
ddd8a08fac Add mechanism to avoid calling gdi calls while process exit
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-05-20 11:11:52 +02:00
Mateusz Hoppe
673a6244ee Fix cmake ULT targets messages
- print correct working directory
- add full command line to run test targets

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-05-20 10:45:52 +02:00
Yates, Brandon
db6562c092 Add windows debugger feature check
Related-To: NEO-6717
Signed-off-by: Yates, Brandon <brandon.yates@intel.com>
2022-05-20 08:42:59 +02:00
Artur Harasimiuk
f3c3822ab8 infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-20 01:42:20 +02:00
Mateusz Jablonski
2f63131f0d Create wrappers for drm_i915_gem_mmap and drm_i915_gem_mmap_offset
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-19 18:51:09 +02:00
Mateusz Jablonski
ea956a863a Use MemoryClassInstance instead of drm_i915_gem_memory_class_instance
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-19 17:16:32 +02:00
Zbigniew Zdanowicz
4be1ca618d Add command list tests
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-05-19 15:35:23 +02:00
Mateusz Jablonski
3be31b821b Create a wrapper for drm_i915_query_topology_info
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-19 15:27:46 +02:00
Pawel Wilma
d9858bf206 Add debug variable to override device name
This commit introduces debug variable to override device name reported
by CL_DEVICE_NAME property in OpenCL and ze_device_properties_t.name in
level_zero

Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2022-05-19 15:16:13 +02:00
Mateusz Jablonski
e7e1e64cca Create a wrapper for drm_i915_gem_context_param_sseu
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-19 14:10:09 +02:00
Michal Mrozek
cbd73d2d9c Do not switch to batched mode when update task count form wait is enabled.
There is not need to enable batching in this case as we do not have
synchronization points between enqueues.

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-05-19 13:16:20 +02:00
Compute-Runtime-Validation
9cf1fbd627 Revert "Add windows debugger feature check"
This reverts commit 65214e2e4c.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-05-19 12:57:04 +02:00
Katarzyna Cencelewska
65e70c7a0f Refactor tests with magic numbers on xe_hpc
-Steppings not baseDieA0 is available only on pvc xt
-Convert to use proper configuration in specific tests scenarios

Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-05-19 12:00:43 +02:00