Baj, Tomasz
9529f21182
Fix missing handle in external memory
...
Related-To: NEO-6757
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com >
2022-06-02 16:05:46 +02:00
Krzysztof Gibala
dc1fe7d59a
Change MemoryPool to enum class
...
Use enum class for MemoryPool in GraphicsAllocation
This change will ensure that GA is constructed in the proper way
- Rename namespace for isSystemMemoryPool method
- Add method getMemoryPoolString for logging actual pool which is in used
- Remove wrong pattern in GraphicsAllocation constructor
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-06-02 12:46:15 +02:00
Mateusz Jablonski
e082b80e0a
Stop using prelim specific values for engine info and memory regions
...
Resolves: NEO-7028
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-02 10:11:30 +02:00
Mateusz Jablonski
09c68a6bb1
Move query compute slices and query memory regions to DrmParam enum
...
Related-To: NEO-6852, NEO-6999, NEO-7028
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-01 19:38:34 +02:00
Mateusz Jablonski
c4bb209f91
Move query hwconfig table and engine info to DrmParam enum
...
Related-To: NEO-6852, NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-01 18:49:49 +02:00
Daniel Chabrowski
1cffe921ba
Move hw_info_config tests to shared
...
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com >
2022-06-01 18:34:18 +02:00
Krzysztof Gibala
e146a8e8ca
Correct wrong constructor pattern in GraphicsAllocation
...
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-06-01 18:06:56 +02:00
Kacper Nowak
83b84b3491
Enahnce kernel debug ULTs
...
Mock ProgramWithKernelDebugging ULTs.
This change is neccessary to ensure independence from binary format
after incoming switching to zebinary format.
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
Related-To: NEO-6646
2022-06-01 17:33:13 +02:00
Mateusz Jablonski
0420df780d
Create enum wrapper for drm engine class values
...
Related-To: NEO-6852, NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-01 14:39:29 +02:00
Compute-Runtime-Validation
ce7de9d66e
Revert "Unify query ioctls"
...
This reverts commit 571199d048 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-05-31 20:40:00 +02:00
Naklicki, Mateusz
65ca31d817
Remove magic number from createGemExt method
...
Related-to: NEO-6730
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2022-05-31 17:10:50 +02:00
Bartosz Dunajski
571199d048
Unify query ioctls
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-05-31 15:28:23 +02:00
Naklicki, Mateusz
58ec879c46
Add support for gem create extension to create VM_PRIVATE BOs
...
Add support for PRELIM_I915_GEM_CREATE_EXT_VM_PRIVATE extension
to create VM_PRIVATE BOs.
Related-to: NEO-6730
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2022-05-31 15:18:33 +02:00
Igor Venevtsev
dc2e1dfdb0
L0 Debugger Win - add initial event handling
...
Related-To: NEO-6723
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-05-31 13:27:06 +02:00
Zbigniew Zdanowicz
afceaa6e19
Use system fence only when using system allocations or system scope event
...
Related-To: NEO-6959
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-05-31 12:55:30 +02:00
Daniel Chabrowski
14134be74e
Move hw_info_config tests to shared
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
2022-05-30 18:10:02 +02:00
Filip Hazubski
d7420f1786
Add isMatrixMultiplyAccumulateSupported query to HwInfoConfig
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-05-30 16:35:12 +02:00
Mateusz Jablonski
b821027ddf
Test: extend test scope to Xe Hpc platforms
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-30 15:52:12 +02:00
Katarzyna Cencelewska
9fade632ba
Add test for adjustWalkOrder
...
Related-To: NEO-6964
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-05-30 10:33:35 +02:00
ocldev
af745fb1df
dependencies update
...
Signed-off-by: ocldev <ocldev@intel.com >
2022-05-28 09:48:40 +02:00
Mateusz Jablonski
9938b4001d
Use ioctl helper when creating VM
...
Related-To: NEO-6999, NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-27 21:52:07 +02:00
Igor Venevtsev
8c165a6f41
L0 Debugger Windows - implement debugger attach/detach
...
Related-To: NEO-6718
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-05-27 16:25:56 +02:00
Mateusz Jablonski
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
Mateusz Jablonski
c4095411c7
Remove HwHelper::isLinuxCompletionFenceSupported method
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-27 12:07:15 +02:00
Filip Hazubski
35d1f2e341
Add debug flag to control programming of thread arbitration policy with SCM
...
Related-To: NEO-6801
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-05-27 11:35:41 +02:00
Zbigniew Zdanowicz
8431234845
Change interface to method programing additional fields of command
...
Related-To: NEO-6959
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-05-26 21:32:59 +02:00
Daniel Chabrowski
6fd7ae7142
Cleanup headers
...
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com >
2022-05-26 17:55:44 +02:00
Daniel Chabrowski
b5495169ca
Enable implicit scaling via platform config
...
Related-To: NEO-6819
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com >
2022-05-26 13:57:19 +02:00
Neil R Spruit
8c894fad5e
Change Packed binary Returned in L0 GetNative to be the Target Device binary
...
- Packed Binary Returned to a customer in L0 GetNative is now
the target device's native binary.
Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com >
2022-05-25 21:27:45 +02:00
Jaime Arteaga
359e848dbe
Revert "Fix for task count hang issue"
...
This reverts commit 340ba8bf56 .
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-05-25 20:34:00 +02:00
Lukasz Jobczyk
921f76eea0
Calculate timeout using CCSes count
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-05-25 11:44:11 +02:00
Mateusz Jablonski
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
Yates, Brandon
adc51c1b47
Set context debuggable when debugging is enabled
...
Related-to: NEO-6896
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
2022-05-24 16:45:32 +02:00
Mateusz Jablonski
5b297ba860
test: zero-initialize states in test's body
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-24 16:18:41 +02:00
Mateusz Jablonski
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
Mateusz Jablonski
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
Lukasz Jobczyk
d440d26c69
Ensure sleep is called in direct submission controller
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-05-24 14:25:24 +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
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
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
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
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
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
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 >
2022-05-20 18:02:10 +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
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