Mateusz Jablonski
78a4a92b44
refactor: reorder members to reduce internal padding in structs
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-25 15:50:00 +01:00
Filip Hazubski
270e8af729
performance: pass extension function name by reference
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2024-03-25 10:17:08 +01:00
Young Jin Yoon
27a3307bb0
feature: support explicit memory locking
...
Added lockMemory in context to explicitly locking memory,
Added a boolean flag in graphics_allocation to indicate the allocation
is locked, and modified memory_operations_handler to add lock().
Change the logic to work correctly with makeResident() when lock() is
called previously for the same memory region
Related-To: NEO-8277
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2024-03-25 09:49:18 +01:00
Jitendra Sharma
f0bdd5765b
refactor: share acknowledgeEvent code for I915 and XE
...
Also remove not needed resumeImp and interruptImp methods
from level_zero/tools/source/debug/linux/xe/debug_session.h
The correct implementation is in DebugSessionLinux and
the overrides in DebugSessionLinuxXe are not needed
Related-To: NEO-8407
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2024-03-22 18:45:58 +01:00
Bartosz Dunajski
9aa81bae75
feature: initial support to enable synchronized dispatch
...
Related-To: NEO-8171
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-03-22 17:23:58 +01:00
Jitendra Sharma
b8c27ddb20
feature: Implement VM_BIND EU debug event for XE
...
Related-To: NEO-8407
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2024-03-22 15:02:49 +01:00
Katarzyna Cencelewska
da7b03dd15
fix: to always use grfs count in calculateNumThreadsPerThreadGroup
...
grf size != grf count
Related-To: GSD-8437
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2024-03-22 11:03:18 +01:00
Brandon Yates
df54d67f40
feature: Implement SBA and module debug access for xe debugger
...
Reuse code from i915 implementation for accesing SBA, module debug,
and context save area
Related-to: NEO-9161
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-03-22 10:50:02 +01:00
Wenju He
c0f30bece4
refactor: remove redundant allocateBindlessSlot from Image getDeviceOffset
...
This is a NFC change.
Bindless slot is already allocated in image initialize function.
Related-To: NEO-10352
Signed-off-by: Wenju He <wenju.he@intel.com >
2024-03-22 10:37:16 +01:00
Katarzyna Cencelewska
dd1d52259e
refactor: add param rootDeviceEnvironment to calculateNumThreadsPerThreadGroup
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2024-03-21 22:25:14 +01:00
Zbigniew Zdanowicz
bf7436c2a2
refactor: change interface in level zero hw helper methods
...
Related-To: NEO-10062
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-03-21 21:55:10 +01:00
Zbigniew Zdanowicz
b3be51fc35
refactor: add checker for stateless only kernels
...
Related-To: NEO-10381
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-03-21 21:54:55 +01:00
Zbigniew Zdanowicz
12affba420
feature: add override key to change command list update capability
...
Related-To: NEO-10062
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-03-21 17:11:27 +01:00
Mateusz Hoppe
0cec5ccc32
fix: check if any of devices has BindlessHeapHelper enabled
...
- report Bindless_images extension in driver only when at least one
device has global bindless heaps enabled
Related-To: NEO-10352
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-03-20 20:50:58 +01:00
Wenju He
03078541d7
feature: make global bindless heaps resident when created
...
Make bindless heaps resident right after heap allocation.
Motivation is that SYCL bindless image can be passed as a value argument
or through memory. Therefore, we're not able to make its bindless heap
resident during kernel initialization or setting kernel arguments.
This fixes SYCL bindless image read_write_*D.cpp tests on DG2.
Related-To: NEO-7063
Signed-off-by: Wenju He <wenju.he@intel.com >
2024-03-20 14:40:11 +01:00
Mateusz Hoppe
27b930cabc
refactor: allow default setting for UseExternalAllocatorForSshAndDsh
...
- value of -1 selects driver default setting for external allocator
Related-To: NEO-7063
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-03-20 12:29:56 +01:00
Brandon Yates
7f8bac7703
fix: Remove Xe Debug stubs for read/writeMemory
...
The correct implementation is in DebugSessionLinux and
the overrides in DebugSessionLinuxXe are not needed
Related-to: NEO-9669
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-03-20 08:43:28 +01:00
Joshua Santosh Ranjan
06fcdd28f3
feature: add debug flag for metrics logs
...
Related-To: NEO-10125
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2024-03-19 12:33:26 +01:00
Mateusz Jablonski
a2742492ab
feature: enable xe drm detection by default
...
driver is built with xe drm support by default
added cmake flag to control xe eu debug API support
NEO_ENABLE_XE_EU_DEBUG_SUPPORT
This flag is disabled by default and uapi-eu-debug headers are not
needed for driver compilation as these headers are not a part of
upstream kernel yet.
Related-To: NEO-10780
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-19 08:47:13 +01:00
Mateusz Jablonski
19dcc80e44
Revert "build: enable xe drm detection by default"
...
This reverts commit 973757a58d .
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-18 09:04:59 +01:00
Bellekallu Rajkiran
9736313d10
feature: Support for ccs mode configuration via SysFs
...
Add support for configuring ccs mode for all applicable devices
before KMD is loaded.
Use ZEX_NUMBER_OF_CCS to configure ccs mode.
Format is as follows:
ZEX_NUMBER_OF_CCS=NumberOfCcs i,e Setting ZEX_NUMBER_OF_CCS
to 4 sets ccs mode to 4 for all devices for which configuration
is supported.
Related-To: NEO-10378
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2024-03-15 15:51:45 +01:00
Zbigniew Zdanowicz
f496233462
refactor: use single vector to store used heap allocations
...
Related-To: NEO-10483
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-03-15 15:01:36 +01:00
Neil R. Spruit
b5f8a38f19
feature: Enable Per IP euStall Functionality
...
Related-To: NEO-10220
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com >
2024-03-14 16:49:52 +01:00
Joshua Santosh Ranjan
a730cf17c0
fix: fix static initialization in zello metrics
...
Related-To: NEO-10764
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2024-03-14 08:25:42 +01:00
Bartosz Dunajski
e400a5c624
feature: in-order host counter allocation pooling 2
...
Related-To: NEO-10507
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-03-13 18:59:02 +01:00
Zbigniew Zdanowicz
9e04907c9b
feature: add flag allowing noop space for cb events from the same in order pool
...
Related-To: NEO-10385
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-03-13 14:42:59 +01:00
Artur Harasimiuk
4021b83c6c
ci: infra revision update
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2024-03-13 09:12:59 +01:00
Joshua Santosh Ranjan
9ad5445a72
refactor: make all metric and group have a metric source
...
Related-To: NEO-8783
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2024-03-12 21:20:40 +01:00
Ben Ashbaugh
e00230a6c2
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-03-12 17:54:09 +01:00
Kamil Kopryk
626b3846b0
refactor: change compute walker to defaultWalkerType
...
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-03-12 17:52:43 +01:00
Young Jin Yoon
add1ff4902
fix: ddi table for event pool introspection APIs
...
Modified event pool ddis for introspection APIs to be included
only when level-zero 1.9 or above is used.
Related-To: NEO-10265
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2024-03-12 16:57:16 +01:00
Mateusz Jablonski
3722130f04
test: correct printing device uuid in zello_sysman
...
cout cannot print uint8_t as numeric value
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-12 15:28:47 +01:00
Mateusz Jablonski
8d83f7603c
performance: skip dummy blits prior to flush without postsync
...
Related-To: NEO-9996
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-12 12:38:58 +01:00
Zbigniew Zdanowicz
3f740f3460
feature: add new functionality to in order patch helpers
...
Related-To: NEO-10385
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-03-12 09:17:53 +01:00
Bari, Pratik
75ce4dbe3b
fix(sysman): Changes in the hwmon name for Xe.
...
Related-To: NEO-10485
Signed-off-by: Bari, Pratik <pratik.bari@intel.com >
2024-03-12 08:54:02 +01:00
Zbigniew Zdanowicz
1ce19495b4
feature: add output list of commands for counter based wait events
...
Related-To: NEO-10385
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-03-11 16:19:34 +01:00
Bellekallu Rajkiran
072304296c
feature: Remove support for min power limit property
...
Max limit to be same as default power limit.
Related-To: NEO-10525
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2024-03-11 15:30:56 +01:00
Mateusz Jablonski
973757a58d
build: enable xe drm detection by default
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-11 14:29:20 +01:00
Compute-Runtime-Validation
4082e9f028
Revert "feature: in-order host counter allocation pooling"
...
This reverts commit 2f03c48c7a .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-03-09 19:47:10 +01:00
Mrozek, Michal
f71f6d2b72
refactor: remove not needed code
...
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2024-03-08 18:18:55 +01:00
Mrozek, Michal
13a347cbde
refactor: remove not needed code
...
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2024-03-08 15:10:06 +01:00
Joshua Santosh Ranjan
c6bcdf8c7b
fix(sysman): correct the error number for fd overflow
...
Related-To: NEO-10513
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2024-03-08 13:52:32 +01:00
Mateusz Hoppe
5e15543b14
test: improve unit tests - use virtual file system
...
- use virtualFileSystem in ULTs, writeDataToFile() does not create file
but instead saves filename. Call to fileExists() checks if file was
previously written
Related-To: NEO-7006
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-03-08 13:34:19 +01:00
Dunajski, Bartosz
2f03c48c7a
feature: in-order host counter allocation pooling
...
Related-To: NEO-10507
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2024-03-08 13:13:04 +01:00
Wenju He
ea69b156d2
test: Add image_query test to zello_bindless_kernel
...
This is helpful to test image query builtin in bindless modes.
Related-To: NEO-7063
Signed-off-by: Wenju He <wenju.he@intel.com >
2024-03-08 10:59:07 +01:00
Fabian Zwolinski
36ab19faf7
fix: enable cl_cache by default in Level Zero
...
Related-To: NEO-10045
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2024-03-08 10:21:33 +01:00
Zbigniew Zdanowicz
f1f874c47d
feature: store timestamp cb event clear and sync commands
...
Related-To: NEO-10385
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-03-08 09:37:26 +01:00
Wenbin Lu
0ba501f7e0
fix: report number of XeLink hops
...
Also fix one ASAN + LTO failure
Related-To: GSD-7126
Signed-off-by: Wenbin Lu <wenbin.lu@intel.com >
2024-03-08 07:00:22 +01:00
Compute-Runtime-Validation
b44725b371
Revert "feature: Remove support for min power limit property"
...
This reverts commit cb924cfe6e .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-03-07 20:29:35 +01:00
Mrozek, Michal
10313b7b84
refactor: remove not needed code
...
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2024-03-07 18:50:16 +01:00