Compute-Runtime-Validation
8e44a46983
Revert "feature: bind resources as read only"
...
This reverts commit f3d36d3350 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-03-27 08:51:47 +01:00
Dominik Dabek
295b58a11f
fix: move ulls controller thread start
...
Move starting ulls controller thread outside constructor to avoid vptr
race.
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-03-27 08:06:50 +01:00
Mateusz Jablonski
5b6dd87fc3
refactor: remove not needed hardcoded values in xe path
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-27 07:21:50 +01:00
Mateusz Jablonski
0b57b0fb7a
fix: remove invalid hardcoded flags for vm create in xe path
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-26 21:36:19 +01:00
Mateusz Jablonski
1f96e6e251
fix: update uapi headers version to 6.8.1
...
source of files: https://git.kernel.org/stable/h/v6.8.1
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-26 16:08:32 +01:00
Bartosz Dunajski
fce016ee7a
refactor: add new semaphore param
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-03-26 15:46:47 +01:00
Maciej Plewka
f3d36d3350
feature: bind resources as read only
...
Related-to: NEO-10398
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2024-03-26 14:11:57 +01:00
Dominik Dabek
562d6f114b
performance: helper for adjust ULLS on battery
...
Related-To: NEO-10800
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-03-26 12:57:30 +01:00
Bartosz Dunajski
74dcb5a9e3
feature: initial support for sync dispatch token allocation
...
Related-To: NEO-8171
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-03-26 12:07:58 +01:00
Brandon Yates
87022c31d3
feature: Register critical section metadata for xe debugger
...
Related-to: NEO-9161
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-03-25 20:56:08 +01:00
Mateusz Hoppe
72725e6ba9
feature: set priority for lowPriority contexts
...
Related-To: NEO-10168
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-03-25 20:19:43 +01:00
Young Jin Yoon
068f6a25c6
Revert "feature: support explicit memory locking"
...
This reverts commit 27a3307bb0 .
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2024-03-25 20:10:20 +01:00
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
Mateusz Jablonski
6af9856e33
fix: reorder members in BufferObject class
...
Related-To: HSD-13011781488
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-25 11:44:38 +01:00
Mateusz Hoppe
fd34df899c
refactor: add function to fill context properties in xe
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-03-25 11:30:49 +01:00
Filip Hazubski
eaa80073ee
performance: pass binary by reference
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2024-03-25 10:48:05 +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
Compute-Runtime-Validation
df164174b4
Revert "fix: pass FtrTile64Optimization as-is"
...
This reverts commit 22d08dabc4 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-03-22 23:56:28 +01:00
Mateusz Jablonski
8d38a0c726
fix: remove not needed hardcoded caps reported by ioctl helper xe
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-22 19:00:28 +01:00
Krzysztof Gibala
4d797890af
fix: Use FtrHwScheduling for setting ftrWddmHwQueues
...
Related-To: NEO-10212
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2024-03-22 18:36:24 +01:00
Mateusz Jablonski
d94be09020
refactor: remove not needed check for exec softpin
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-22 17:30:49 +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
Mateusz Jablonski
97a0b25162
fix: remove not needed check for context id
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-22 16:00:13 +01:00
Mateusz Jablonski
8e6240ac70
fix: don't use fake userptr flag in ioctl helper xe
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-22 15:59:56 +01:00
Compute-Runtime-Validation
a75db375a1
Revert "fix: remove hardcoded caps reported by ioctl helper xe"
...
This reverts commit 0b2e8e2848 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-03-22 15:15:19 +01:00
Krzysztof Gibala
e8983f5274
fix: Detect FtrHwScheduling on WSL
...
Related-To: NEO-10212
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2024-03-22 14:40:49 +01:00
Dominik Dabek
2b964254d6
performance: debug key for adjust ULLS on battery
...
ULLS controller timeout settings will be adjusted based on ac line
status and lowest queue throttle from submissions.
Lowest queue throttle is reset when controller stops ULLS.
Related-To: NEO-10800
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-03-22 14:24:00 +01:00
Mateusz Jablonski
ec19ce536a
refactor: store userptr value in buffer object
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-22 12:49:13 +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
Mateusz Jablonski
0b2e8e2848
fix: remove hardcoded caps reported by ioctl helper xe
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-22 10:41:54 +01:00
Naklicki, Mateusz
021f4c6299
refactor: use more precise function name
...
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2024-03-22 10:09:41 +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
Young Jin Yoon
ec009cf9e3
fix: abort only when disabling scratch page
...
Modifed getResetStatus to abort only when scratch page is disabled
Removed an incorrect UNRECOVERABLE_IF statement based on the status:
validPageFault can be true when banned flag is not set, if CAT error
does not occur as a result of page fault.
Related-To: GSD-5673
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2024-03-21 21:55:25 +01:00
Mateusz Jablonski
4df0dd7894
fix: remove hardcoded caps reported by ioctl helper xe
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-21 21:09:20 +01:00
Mateusz Jablonski
92d37b20a6
fix: setup gpu address space based on config info from xe kmd
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-21 18:49:19 +01:00
Mateusz Jablonski
1e343053ba
refactor: remove redundant recreating vector of engines in xe kmd path
...
make ContextParamEngine structure more generic and populate engines
by drm specific methods
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-21 17:55:39 +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 Jablonski
22d08dabc4
fix: pass FtrTile64Optimization as-is
...
Related-To: NEO-10623
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-21 16:52:27 +01:00
Aravind Gopalakrishnan
04b99de4d6
refactor: Force tlb flush during TC after copy
...
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2024-03-21 07:25:46 +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
Mateusz Jablonski
614ed7ff5f
fix: remove not needed appendBaseAddressOffset method
...
Related-To: NEO-10623
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-20 17:46:14 +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
Raiyan Latif
40471da591
fix: properly retrieve sub-device count in allocateRTDispatchGlobals
...
Previous method used for retrieiving sub-device count in this path
did not take into account device affinity mask nor device hiearchy
mode, resulting in segmentation faults when attempting to allocate
rtDispatchGlobals structure using improper deviceBitFields.
Related-To: NEO-8422
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com >
2024-03-20 09:23:30 +01:00
Filip Hazubski
1fb1826fff
fix: Add DG2 device ids
...
Add following device ids: 0x56BE, 0x56BF.
Update device brand string for device ids: 0x56BA, 0x56BB, 0x56BC, 0x56BD.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2024-03-19 12:52:31 +01:00
Filip Hazubski
e0f67da7f4
fix: Update ATS-M device id
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2024-03-19 12:37:48 +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
Jaroslaw Warchulski
7c5640669c
fix: incorrect check in parseAffinityMask function
...
Resolves: GSD-8333
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com >
2024-03-19 09:20:00 +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
Naklicki, Mateusz
e9ee54da24
fix: prepare L3 cache banks getter
...
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2024-03-18 15:12:16 +01:00