b21fef96cb
Wait for events from host
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-10-10 12:12:13 +02:00
6532cb28bb
Fix minor typos
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-10-06 11:32:42 +02:00
99d63facb5
Clarify meaning of ForceDeviceId debug flag
...
this flag can be used only to override device id in AUB/TBX mode
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-09-20 13:15:15 +02:00
3a7f266d66
Enable BCS split in OCL
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-09-08 15:56:30 +02:00
c0ce477f85
Revert "Enable BCS split WA in OCL"
...
This reverts commit abfcaf1265
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-09-06 20:42:57 +02:00
abfcaf1265
Enable BCS split WA in OCL
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-09-05 13:34:11 +02:00
20f49481f2
Revert "Enable BCS split WA in OCL"
...
This reverts commit d672920121
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-09-03 20:25:10 +02:00
d672920121
Enable BCS split WA in OCL
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-09-01 16:26:00 +02:00
bca852617c
Remove usage of TestLegacy from opencl tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-08-16 22:16:48 +02:00
e6fc458d4b
Add a struct for test fixtures with correct method naming convention
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-08-11 12:55:52 +02:00
a6c1d9578e
Move files between shared/test/common/helpers and shared/test/unit_test/helpersi
...
unit_test/helpers/cmd_buffer_validator.h -> common/helpers
unit_test/helpers/gtest_helpers.h -> common/helpers
common/helpers/blit_commands_helper_tests.inl -> unit_test/helpers
common/helpers/simd_helper_tests.inl -> unit_test/helpers
common/helpers/simd_helper_tests_pvc_and_later.inl -> unit_test/helpers
common/helpers/state_base_address_tests.h -> unit_test/helpers
Related-To: NEO-6524
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-08-10 15:23:12 +02:00
6450be2414
Remove redundant device and revision id members from Drm class
...
Drm should set these values directly to hw info in root device environment
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-08-09 10:13:32 +02:00
7434a7503a
Change macro definition to constexpr definition
...
I915_CONTEXT_PRIVATE_PARAM_BOOST -> contextPrivateParamBoost
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-07-27 11:26:19 +02:00
2d151ec0fe
Move Drm cleanup logic to separated method
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-07-25 12:23:37 +02:00
35aff13178
ULT: correct mock os layer not to increment counter in case of failure
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-07-22 18:56:10 +02:00
78c96db2fa
Create wrappers for different version of i915 headers
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-07-18 10:15:44 +02:00
4bdd8860a1
test.h refactor
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-07-04 18:20:07 +02:00
7a1cac0674
Fix EnableCmdQRoundRobindEngineAssign flag
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-06-27 11:38:52 +02:00
4d6169ee8b
Extract querying device id and revision to a dedicated method
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-08 14:04:46 +02:00
70cf43fd6e
Remove redundant query for device id and revision
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-08 12:21:33 +02:00
b3814e41b4
Create enum for Ioctl request values
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-27 13:22:59 +02:00
05cb48976f
Create wrappers for drm getparam, query, gem close, prime handle, version
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-24 19:51:27 +02:00
7d3fc9ab74
Create wrappers for gem context destroy, gem vm control, gem wait, reset stats
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-24 16:01:05 +02:00
51d1752a68
Create a wrapper for drm_i915_gem_context_create_ext
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-24 15:21:58 +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
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
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
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
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
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
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
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
26221678aa
Enable engines round robin assign
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-04-28 11:49:15 +02:00
f6dae5ecf2
Test: Refactor ioctl mock call to be more deterministic
...
Add flag forceExtraIoctlDuration for controlling duration in
ioctl ULT call.
Related-To: NEO-6537
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-04-27 09:32:16 +02:00
1b1c06746f
Test: Ensure that ioctl statistics test is deterministic
...
Related-To: NEO-6537
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-04-22 13:36:21 +02:00
06fa316a75
Assign pat_index to BO during creation
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-04-21 13:25:13 +02:00
f3bcbfb305
Revert "Enable engines round robin assign"
...
This reverts commit b81380a879
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-04-21 12:43:28 +02:00
b81380a879
Enable engines round robin assign
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-04-20 11:52:33 +02:00
3d8effcd69
Clean-Up unused code related to GMock
...
This commit:
- Removes usings e.g. ::testing::Return
- Removes unnecessary gmock inclues
- Replaces Gmock macros (e.g. EXPECT_THAT) with our custom implementations
Related-To: NEO-4941
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2022-03-22 16:16:34 +01:00
60ed4c4e1f
Enable timestamp wait mechanism
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-03-22 13:12:36 +01:00
aa7ba69746
Revert "Enable timestamp wait mechanism"
...
This reverts commit 1c0502733f
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-03-20 07:02:16 +01:00
1c0502733f
Enable timestamp wait mechanism
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-03-18 11:45:01 +01:00
12e2670b9a
Add ioctl helper function to check vm bind availability
...
Related-To: NEO-6591
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-15 12:43:50 +01:00
1671e0a1a7
Add new debug flags for filtering devices to open
...
FilterBdfPath is used only on Linux as a filter for BDF
when opening from /dev/dri/by-path
FilterDeviceId is used on both OSes as a filter for device id
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-03 14:34:01 +01:00
db94f4b8e1
Clear Drm profiling variables and macros
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-02-01 15:51:47 +01:00
7daee00df4
Add alarmTime to ULTs
...
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com >
Related-To: NEO-6413
2022-01-31 13:51:57 +01:00
68ce1ee989
Revert "Enable engines round robin assign"
...
This reverts commit c374073a4f
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-01-30 04:42:13 +01:00
c374073a4f
Enable engines round robin assign
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-01-28 15:29:02 +01:00
72edadb265
Remove not used GT type info
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-01-26 18:06:38 +01:00
eedc77e1ec
Disable waiting on timestamps.
...
Not yet ready for full enabling.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2022-01-14 13:35:14 +01:00