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
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
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 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
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
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
Mateusz Jablonski
8cda3ef5cb
Move tag allocator tests to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-19 11:30:07 +02:00
Artur Harasimiuk
4aa7cc527a
test: move .config files to shared/
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-05-19 01:12:51 +02:00
Kacper Nowak
1b8ceb2bbc
Enhance kernel arg info ULTs
...
Manually set values expected by given kernel arg info query.
This prevents issues which incoming zebin switch.
Related-To: NEO-6646
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-05-18 22:36:09 +02:00
Bartosz Dunajski
56a164ffcd
Debug mask support to force uncached Gmm usage type
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-05-18 19:23:34 +02:00
Mateusz Jablonski
5f38555af5
Make test deterministic
...
Related-To: NEO-6611
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-18 19:15:36 +02:00
Mateusz Jablonski
2ad04efd16
Move debug setting and file reader tests to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-18 18:54:02 +02:00
Bartosz Dunajski
ab4a45b271
Update PVC device ids
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-05-18 16:02:25 +02:00
Katarzyna Cencelewska
b2b333d354
Move mock definition of method configureHardwareCustom inside dummyHwConfig
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-05-18 14:06:04 +02:00
Daniel Chabrowski
7463e1970b
Cleanup headers
...
Make TUs and headers self-contained, remove unused headers
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com >
2022-05-18 11:42:06 +02:00
Mateusz Jablonski
ac3005a463
Create a wrapper for drm_i915_query_item
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-18 11:32:44 +02:00
Artur Harasimiuk
3f04769f07
style: configure readability-identifier-naming.FunctionCase
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-05-17 20:55:56 +02:00
Artur Harasimiuk
17b0ddd2a3
ULT execution refactor
...
Add targets to run shared, OpenCL and L0 tests separately. Bind all
these to run_unit_tests.
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-05-17 16:19:40 +02:00
Daniel Chabrowski
155b4ec606
Fix stream space used in MiMath tests
...
Related-To: NEO-6925
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com >
2022-05-17 16:05:37 +02:00
Katarzyna Cencelewska
96e1eb7467
Move variables baseDieRev and baseDieA0Masked from xe_hpc to pvc
...
Pvc specific variables should be located in pvc struct
Related-To: NEO-6738
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-05-17 12:19:16 +02:00
Artur Harasimiuk
3897f43f8e
style: correct local variable naming
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-05-17 11:14:14 +02:00
Kamil Kopryk
99db73c034
Add debug flag to fail build program with stateful access
...
I've added debug flag FailBuildProgramWithStatefulAccess which makes
possible to fail build program/module creation
with stateful access(except builtins) on
pvc and later platforms.
Related-To: NEO-6075
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-05-17 11:01:05 +02:00
Artur Harasimiuk
4c98e98011
style: correct variable naming
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-05-16 17:24:47 +02:00
Szymon Morek
4266f861ac
Make implicit flush for cross-device dependency
...
Related-To: NEO-6418
If there's a cross-device dependency, flush batched
submissions to avoid deadlock.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-05-16 16:29:09 +02:00
Milczarek, Slawomir
9d31d36491
Disable cross-tile kmd migration for usm allocations
...
Ensure KMD migrations for USM allocations to occur between smem and lmem only
Related-To: NEO-6969
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2022-05-16 15:23:34 +02:00
Artur Harasimiuk
d643c587b9
style: correct variable naming
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-05-16 15:02:15 +02:00
Artur Harasimiuk
819e0f5515
style: configure readability-identifier-naming.LocalVariableCase
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-05-16 12:39:44 +02:00
Dominik Dabek
5dcdf53d12
Fix: enable split taskcount from wait only on dg2
...
Related-To: NEO-6948
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-05-13 14:30:16 +02:00
Daria Hinz
de74becdb8
Base hwInfo values setup for AOT
...
In most cases, there was code redundancy, which was minimized in this change.
The setupHardwareInfoBase extraction will also be used for ocloc.
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
Related-To: NEO-6910
2022-05-13 09:40:37 +02:00
Kacper Nowak
ee4a177296
Create mock elf for elf process binary ULTs
...
Instead of using data loaded from the compiled binary, ULTs testing elf
binary data processing will use mock elf created for this purpose.
This will ensure mentioned ULTs independence from binary format in the
context of incoming zebin switch.
Related-To: NEO-6646
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-05-13 09:29:12 +02:00
Daria Hinz
1f52802aac
Ocloc: Add numerical support for PVC revisions
...
New ocloc -device entry:
PVC XT B1 - 12.4.2
PVC XT C0 - 12.4.3
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2022-05-12 18:03:34 +02:00
Mateusz Jablonski
3c18744d10
Create a wrapper for drm_i915_gem_execbuffer2
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-12 17:58:16 +02:00
Patryk Wrobel
9b2ad0c5df
Detect GPU hangs in flushBcsTask()
...
This change introduces detection of GPU hangs in flushBcsTask()
function. The new code has been covered with ULTs.
Related-To: NEO-6681
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-05-12 16:17:16 +02:00
Mateusz Jablonski
40e00e5c08
Create a wrapper struct for drm_i915_reg_read
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-12 14:59:18 +02:00
Krzysztof Gibala
170d628f57
Adjust gmmHelper decanonize method accessing point in getDumpSurfaceInfo
...
Accessing decanonize method as a member of GmmHelper class object
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-05-12 14:25:35 +02:00
Bartosz Dunajski
e722afbefb
Track waitlist TimestampPackets to avoid too early return to the pool
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-05-12 13:54:04 +02:00
Bartosz Dunajski
83a9037640
Revert async Event destruction
...
This reverts f9a5f8a86e and
f89c731a11
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-05-12 13:33:02 +02:00
Mateusz Jablonski
268393d776
Create wrapper for drm_i915_gem_exec_object2
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-12 13:14:27 +02:00
Katarzyna Cencelewska
0b68fdbe52
Move isCooperativeEngineSupported to HwInfoConfig
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-05-12 12:10:23 +02:00
Kamil Kopryk
fb4b1cca4f
Use internal blitter for internal memory transfers
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-6621
2022-05-11 19:33:00 +02:00
Lukasz Jobczyk
a31a674c38
L0 support for expose sub devices as API devices
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-05-11 15:41:53 +02:00
Mateusz Hoppe
c021e2ec5e
L0 Debugger - DebugSession linux implementation
...
- new feature, enabled with PRELIM build
- implementation of debug session for linux
- move ResourceClass enum from Drm to drm_debug.h
Resolves: NEO-6814
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-05-11 15:30:32 +02:00
Baj, Tomasz
4e4560fe91
Add cl_device_uuid_khr to getDeviceInfo.
...
Related-To: NEO-5681
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com >
2022-05-11 14:59:20 +02:00
Artur Harasimiuk
e9be9b64c6
clang-tidy configuration cleanup
...
Define single .clang-tidy configuration with all used checks and use
NOLINT to selectively silence tool. That way cleanup should be easier.
third_part/ has its own configuration that disables clang-tidy for this
folder.
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-05-11 14:02:04 +02:00
Mateusz Jablonski
db178a9604
Remove not needed i915_drm.h includes
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-11 13:08:21 +02:00
Krzysztof Gibala
2fcda0a528
Refactor: Change decanonize method accessing point
...
Accessing decanonize method as a member of GmmHelper class object
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-05-11 12:57:02 +02:00
Fabian Zwolinski
7bb3bcbc05
Read resource info from internal represenation for WSL
...
Related-To: LOCI-3037
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2022-05-11 11:57:23 +02:00