Commit Graph

10436 Commits

Author SHA1 Message Date
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
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
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
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
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
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
d07503534d Move drm tests to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-23 15:09:45 +02:00
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
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
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
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
8f5467d3c6 test: create working dir for tests
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-23 12:02:01 +02:00
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
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
8711baa338 infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-21 11:55:55 +02:00
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
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
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
a835175208 igsc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2022-05-20 16:30:24 +02:00
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
47d9d8f9e2 test: add missing include
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-20 16:02:52 +02:00
6ae83b4c08 infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-20 15:55:32 +02:00
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
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
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
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
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
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
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
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
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
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
f3c3822ab8 infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-20 01:42:20 +02:00
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
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
4be1ca618d Add command list tests
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-05-19 15:35:23 +02:00
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
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
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
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
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
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
c25d2a1769 Moving tracing tests to core target
Related-To: NEO-4522

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-05-19 11:48:08 +02:00
b3bbbea1aa Add function tests
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-05-19 11:47:53 +02:00
8cda3ef5cb Move tag allocator tests to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-19 11:30:07 +02:00
6dc1e2d8c4 Adding command list memory extension unit tests
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-05-19 11:22:39 +02:00
888c935efb Do not wait for completion in direct submission controller
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-05-19 11:12:42 +02:00
d69bf76282 Rename r_pod_cast function to safePodCast
Rename is necessary, because NEO uses camelCase convention for
function names.

Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-05-19 10:43:20 +02:00
4aa7cc527a test: move .config files to shared/
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-19 01:12:51 +02:00
955ef84306 Optimize number of dc flush to single after all dispatched builtin kernels
Related-To: NEO-6871

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-05-18 22:43:52 +02:00