Commit Graph

4376 Commits

Author SHA1 Message Date
Compute-Runtime-Validation
40cea2f6fe Revert "feature: Implement thread control and att event handling for xe"
This reverts commit fb73fad6d7.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-02-23 05:00:21 +01:00
Michal Mrozek
9f1648b57a fix: use non zero value for event completion.
upon device reset memory gets reset to 0, which can cause
false event completion.

Related-To: NEO-7765
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2024-02-22 18:50:45 +01:00
Dunajski, Bartosz
000f776741 feature: skip barrier programming for in-order regualr cmdlists
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-02-22 15:57:44 +01:00
Jitendra Sharma
fb73fad6d7 feature: Implement thread control and att event handling for xe
Related-To: NEO-9673
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-02-22 15:24:35 +01:00
Joshua Santosh Ranjan
14cf315bda refactor(sysman): optimize use of fd handles in engine module
Related-To: NEO-10449

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2024-02-21 19:17:31 +01:00
Kulkarni, Ashwin Kumar
a207c73c58 fix(sysman): set init values for pci link speed params
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2024-02-21 15:52:45 +01:00
Fabian Zwolinski
5490cf517f fix: set LeakDetectionMode-off in test creating detached thread
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2024-02-21 13:34:17 +01:00
Bellekallu Rajkiran
075fae19fd refactor: Merge prelim and non-prelim implementations for power
Abstract power set request support based on hw.

Related-To: NEO-10804

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-02-21 12:19:35 +01:00
Brandon Yates
0f817d1db4 refactor: Move debugger IsaAllocation to common linux code
-replace i915 event with generic EventToAck type
-Move isamap to common Client Connection
-Move isa memory access functions to common linux imp

Related-to: NEO-9669

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-02-21 12:04:31 +01:00
Bellekallu Rajkiran
607b7a7a0e refactor: Abstract Ecc configuration based on product
Related-To: NEO-8728

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-02-21 11:45:14 +01:00
Fabian Zwolinski
6b2281e66c fix: make sure builtins async init is complete when finishing driver init
Related-To: NEO-10045
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2024-02-20 21:15:57 +01:00
Zbigniew Zdanowicz
db9d0c9a58 fix: remove heap resource leak after command list reset
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-02-20 14:38:19 +01:00
Michal Mrozek
0edb025cf7 performance: apply padding only for last kernel.
not needed for all kernels, only for last one.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2024-02-20 14:30:14 +01:00
Zbigniew Zdanowicz
ca8406f97e refactor: add event residency parameter to command list append kernel call
Related-To: NEO-10064

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-02-20 12:13:40 +01:00
Mateusz Hoppe
d9b662a735 fix: ignore ZET_ENABLE_PROGRAM_DEBUGGING when system misconfigured
- if debug not enabled in the system, ignore env var for enabling
debugging

Resolves: NEO-10370

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-02-19 15:54:17 +01:00
Jitendra Sharma
f56babb2a9 refactor: Move common attention handling EuDebug code out of prelim
Move common attention handling code from prelim in common linux
debug_session(.h/.cpp) files.
This common code could be shared to handle attention events for
prelim and xe driver based Eu Debug

Related-To: NEO-9673
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-02-19 14:49:30 +01:00
Dunajski, Bartosz
f404f3ceb1 refactor: initial support for per platform extension string
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-02-19 14:47:30 +01:00
Dunajski, Bartosz
5d6ce43cf9 fix: return correct device address for standalone CB Event
Related-To: NEO-8145

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-02-19 11:35:30 +01:00
Dunajski, Bartosz
8dc3364d56 fix: append paths for standalone CB Event
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-02-16 18:14:31 +01:00
Slawomir Milczarek
1a00d96735 fix: Fixed timeout resolution for zeCommandQueueSynchronize
According to Level Zero specification: timeout [in] if non-zero,
then indicates the maximum time (in nanoseconds) to yield
before returning ZE_RESULT_SUCCESS or ZE_RESULT_NOT_READY

Related-To: NEO-8927

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2024-02-16 15:39:00 +01:00
Mateusz Hoppe
ce079c62d5 feature: bindless images extension - pitched ptr support
- add support for allocating image from pitched pointer allocated from
device memory
- extend blackbox test with bindless image using USM memory

Related-To: NEO-10352

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-02-16 15:30:12 +01:00
Kacper Nowak
bb5974e562 refactor: Add method for retrieving extra device info
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2024-02-16 15:16:55 +01:00
Zbigniew Zdanowicz
dce595ba9d refactor: add walker pointer to command list launch parameters
Related-To: NEO-10062

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-02-16 11:28:20 +01:00
Aravind Gopalakrishnan
618f1dd346 feature: Implement zeCommandListImmediateAppendCommandListsExp [1/N]
Prepare execute call to accept event args

Related-To: NEO-10356

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2024-02-15 17:09:03 +01:00
Dunajski, Bartosz
5085300449 feature: query to get kernel/module register sizes
Related-To: NEO-7357

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-02-15 13:00:00 +01:00
Michal Mrozek
25b3a3dbfa fix: user proper settings for caches.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2024-02-15 11:38:34 +01:00
Brandon Yates
0fb6f4bf3f refactor: make Debugger ClientConnection common for xe/i915
- Add base ClientConnection type and derived i915/xe types
- Add accessor function fo retreive ClientConnection
- Move getElfOffset to common linux code
- Add accessor functions for getElfSize and getElfData

Related-to: NEO-9669

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-02-15 11:27:10 +01:00
Lukasz Jobczyk
a05cc69a5a fix: Handle OOM in BCS split
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-02-15 10:44:17 +01:00
Compute-Runtime-Validation
9570d02134 Revert "fix: correctly report support for SPIR-V 1.0 through 1.3"
This reverts commit 5120ec2f93.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-02-15 04:00:31 +01:00
Bellekallu Rajkiran
93ab7957fa refactor: Abstract firmware support based on product
Related-To: NEO-10035

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-02-14 23:24:54 +01:00
Katarzyna Cencelewska
3d51832498 test: add preemption field to mock objects
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2024-02-14 21:49:18 +01:00
Mateusz Hoppe
3051c5ef2b feature: bindless image extension
- support for zeMemGetPitchFor2dImage() and
zeImageGetDeviceOffsetExp()

Related-To: NEO-10352

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-02-14 21:11:31 +01:00
Dunajski, Bartosz
88c5872682 feature: debug flag to flush tlb before copy
Related-To: HSD-18036669673

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-02-14 20:05:57 +01:00
Zbigniew Zdanowicz
186e3d2b83 refactor: add residency parameter to command list append kernel call
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-02-14 17:27:24 +01:00
Mateusz Hoppe
a22b9f454d feature: bindless image extension - image properties
- add support for device image properties
(ze_device_pitched_alloc_exp_properties_t)

Related-To: NEO-10352

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-02-14 16:10:47 +01:00
Zbigniew Zdanowicz
2061b5bedf refactor: add command list getter
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-02-14 15:39:47 +01:00
Ben Ashbaugh
5120ec2f93 fix: correctly report support for SPIR-V 1.0 through 1.3
Related-To: NEO-10336

Signed-off-by: Ben Ashbaugh <ben.ashbaugh@intel.com>
2024-02-14 09:21:06 +01:00
Brandon Yates
1e3d57b29a refactor: Move Debugger Mem Access to generic linux implementation
Related-to: NEO-9669

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-02-13 18:56:00 +01:00
Kamil Kopryk
141483c342 feature: use heapless builtins in L0 if supported
Related-To: NEO-7621
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-02-13 16:14:27 +01:00
Mateusz Hoppe
22802d8680 feature: add ZE_experimental_bindless_image extension
- add definitions and functions
- Level Zero spec commit: 49c972463796e614597b028bd344e1b2f64a63b7

Related-To: NEO-10352

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-02-13 15:06:41 +01:00
Jitendra Sharma
ff604bda1b feature: Implement thread control for debugger in XE
Related-To: NEO-9668
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-02-12 19:46:28 +01:00
Zbigniew Zdanowicz
6f74fa46b7 refactor: add method for device query of extension properties
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-02-09 16:15:16 +01:00
Zbigniew Zdanowicz
71457b7f08 feature: add level zero helper cmdlist update capability method
Related-To: NEO-10062

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-02-09 12:48:25 +01:00
Dunajski, Bartosz
e86a860127 refactor: remove unordered_map with extensions functions from Driver class
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-02-09 10:24:54 +01:00
Brandon Yates
ea7ae7564f feature: Implement read/writeGpuMemory for Xe debugger
- makes prelim read/writeGpuMemory generic
- Implements Xe specific ioctls and fsyncs
- Refactors dbg IoctlHelper to use shared base class
for Xe and i915

Related-to: NEO-9668

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-02-08 22:09:59 +01:00
Lukasz Jobczyk
781f851519 fix: Add missing wait for init builtin thread
Resolves: NEO-10314

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-02-08 16:27:46 +01:00
Dunajski, Bartosz
6e7b52c144 test: disable zello bindless image tests if not supported
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-02-08 16:13:26 +01:00
Kulkarni, Ashwin Kumar
6f69fa997a refactor(sysman): refactor firmware flash progress support
Related-To: NEO-9297

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2024-02-08 15:11:04 +01:00
Dunajski, Bartosz
6ea395828e test: dont use host memory for zello atomic test
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-02-08 13:15:18 +01:00
Zbigniew Zdanowicz
3ce8dd0e08 test: add common function to black box tests that verifies extensions
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-02-08 12:32:36 +01:00