Dominik Dabek
0a3c960d61
Enable update task count from wait on DG2
...
Related-To: NEO-6948
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-06-06 11:41:27 +02:00
Vilvaraj, T J Vivek
da52303e6e
SysMan: Diagnostics warm reset fix.
...
The following modifications were done as part of the fix
for warm reset.
1. Release sysman resources before quiscenting the GPU.
2. Add additional checks to confirm quiscenting of the GPU
before launching the diagnostics tests.
3. Fixed warm reset with wait time to allow the changes to be
propagated to the entire GPU PCI tree.
4. Modified the ULT's completely to avoid the usage of MOCKS.
5. Made Diagnostics handle creation per-device from per-SubDevice.
Related-To: LOCI-3053
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com >
2022-06-06 10:09:47 +02:00
Joshua Santosh Ranjan
83e06eb901
Metrics: Fix domains not cleared during deactivation
...
This patch fixes issue related to domains not cleared during
deactivation which causes incorrect accesses.
Related-To: LOCI-3150
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2022-06-04 04:19:57 +02:00
Jaime Arteaga
de4b42118d
Fix kernelBaseAddress extension
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-06-03 18:35:13 +02:00
Mateusz Jablonski
9f89a91671
Unify shared code between ioctl helpers upstream and prelim
...
Related-To: NEO-7028
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-03 15:16:57 +02:00
Artur Harasimiuk
fe475efb3f
infra update
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-06-03 15:08:14 +02:00
Mateusz Jablonski
5bf1c84ed3
Cleanup includes in sampler, image, builtin and event
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-03 10:21:59 +02:00
Mateusz Jablonski
747c2d3d83
Cleanup includes in cmdlist, cmdqueue, context, device, driver and module
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-03 02:54:41 +02:00
Mateusz Hoppe
7e58789c02
L0Debug - move i915 KMD event reading to a dedicated thread
...
- reading events must not be blocked, for example by other ioctls
- by moving event reading to another thread, handling events is not
blocking event reading
Related-To: NEO-7019
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-06-02 21:09:29 +02:00
Jaime Arteaga
0fa221e5c7
Add ULT confirming no image properties returned on XE_HPC_CORE
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-06-02 20:12:09 +02:00
Jaime Arteaga
8c6a3639d9
Remove non-needed branch from freeMem
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-06-02 20:06:56 +02:00
Artur Harasimiuk
53c67934e1
infra update
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-06-02 19:45:54 +02:00
Daniel Chabrowski
d3414153d4
Fix typos in debug variables
...
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com >
2022-06-02 18:41:11 +02:00
Mateusz Jablonski
2a4c68dc38
Remove not needed dependencies from device_imp.h
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-02 18:35:34 +02:00
Krzysztof Gibala
21bcab7986
Move logger tests to shared
...
- Create new files for logger test in shared
- Reduce number of ULTs by converting parameterized tests into the normal
one.
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-06-02 18:11:23 +02:00
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
Artur Harasimiuk
0a4adc7c72
infra update
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-06-02 15:04:45 +02:00
Artur Harasimiuk
43b4b4375a
infra update
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-06-02 13:06:15 +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
Jaime Arteaga
1670081df7
Clean up context vector of devices
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-06-02 07:00:14 +02:00
Jaime Arteaga
325db6a99c
Fix P2P support for implicit scaling
...
when using implicit scaling, 2 dma-buf handles, one per tile, are
needed to support dma access from peer.
Related-To: LOCI-3122
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
22.23.23405
2022-06-01 20:10:32 +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
bb71f92ca9
Move common ioctl request values to common method
...
Related-To: NEO-7028
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-01 19:28:17 +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
Artur Harasimiuk
e6c9738010
infra update
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-06-01 17:41:19 +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
Grzegorz Choinski
1e7d789e63
lint revision update
...
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com >
2022-06-01 12:33:04 +02:00
Kacper Nowak
c9cb58ec8e
Wrap L0 exported functions to prevent symbol collision
...
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-05-31 21:52:16 +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
Mateusz Hoppe
8d50aaeac0
Cleanup cmake files
...
remove unnecessary string(CONCAT ...)
remove unused function
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-05-31 15:37:16 +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
Mateusz Jablonski
9fa1c9d4cc
Extract create drm context logic to ioctl helper
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-31 11:59:41 +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
Mateusz Jablonski
16fd791a7c
Fix L0: reuse partially linked segments when performing dynamic linking
...
When module is created but not fully linked we don't copy ISA to GPU
however we need to store patched segments for dynamic linking
Related-To HSD-18022114161
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-30 17:12:30 +02:00
Krzysztof Gibala
ae56d50b4f
Pass canonized gpuAddress to GraphicsAllocation
...
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-05-30 16:54:38 +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
Mateusz Hoppe
05b5e33bb9
Refactor of DebugSession
...
- added ThreadHelper to handle closing thread
- renamed condition variable - to indicate API events use
Related-To: NEO-7019
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-05-30 15:22:30 +02:00
Igor Venevtsev
608a1d39bc
L0 debugger Win - code cleanup
...
- remove unnecessary KmHeaders WA
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-05-30 12:13:42 +02:00
Zbigniew Zdanowicz
9e575532b3
Extend command list kernel interface
...
Related-To: NEO-6959
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-05-30 11:56:24 +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
ec1badf6ba
igc revision update
...
Signed-off-by: ocldev <ocldev@intel.com >
2022-05-30 09:46:22 +02:00