Mateusz Jablonski
dae901c13f
fix: handle not aligned gtt size reported by i915
...
when i915 reports gtt size between 47 and 48 bits we consider
it as 48 bit VA space
Related-To: GSD-8215
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-28 08:46:53 +01:00
Mateusz Jablonski
e435a5cac4
fix: correct timeout for xe user fence
...
Related-To: HSD-18037675531
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-28 08:34:24 +01:00
Mateusz Jablonski
34a80e915c
fix: correct xe kmd flag for bind capture
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-27 19:37:56 +01:00
Mateusz Jablonski
2eecf29278
fix: correct setting scratch page in xe path
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-27 16:44:21 +01:00
Maciej Plewka
b722f3b579
feature: Add interface to bind resources as readonly
...
Related-To: NEO-10398
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2024-03-27 14:24:58 +01:00
Mateusz Jablonski
3914f60c96
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 10:58:31 +01:00
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
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
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
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
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
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
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
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
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
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
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
6b33d91140
fix: remove not needed check for context param engine count
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-18 13:17:05 +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
Compute-Runtime-Validation
016c234893
Revert "feature: disable scratch page by default"
...
This reverts commit dab5469f81 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-03-16 01:52:00 +01:00
Mateusz Jablonski
1319ab4efc
refactor: don't setup struct members with designated initializers
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-15 16:36:00 +01:00
Mateusz Jablonski
e21180992f
fix: remove not needed check for engine instance count
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-15 16:16:21 +01:00
Mateusz Jablonski
0270cd6a5b
fix: respect gt id when getting engines for drm context under xe kmd
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-15 16:02:47 +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
Young Jin Yoon
dab5469f81
feature: disable scratch page by default
...
Modified default values for disableScratch and gpuPageFault
to true and 10 respectively in drm_nep.cpp, in order to
disable scratch pages by default.
Related-To: GSD-5673
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2024-03-15 11:44:10 +01:00
Young Jin Yoon
9633f49dab
fix: make gpuFaultCheckCounter more robust
...
Modified drm_neo.h and .cpp to check when condition is greater
than and equal to instead of equal, and changed gpuFaultCheckCounter
to be atomic
Related-To: GSD-5673
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2024-03-15 10:40:12 +01:00
Young Jin Yoon
82728ff394
feature: add logic to iterate for all contexts to check GPU pagefault
...
Implemented to go through entire contexts in the process and then query
reset status to check the unexpected GPU segfault.
Added a new debug variable GpuFaultCheckThreshold to change the checking
frequency for each hang check for performance analysis.
Related-To: GSD-5673
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2024-03-15 07:48:39 +01:00
Compute-Runtime-Validation
94cc48f81b
Revert "fix: don't use fake userptr flag in ioctl helper xe"
...
This reverts commit d3ab256f55 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-03-15 03:08:01 +01:00
Compute-Runtime-Validation
e11917cfcd
Revert "fix: remove not needed checks in ioctl helper xe"
...
This reverts commit 5a6d0b21ac .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-03-14 21:38:09 +01:00
Mateusz Jablonski
d3ab256f55
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-14 18:41:17 +01:00
Mateusz Jablonski
5a6d0b21ac
fix: remove not needed checks in ioctl helper xe
...
pass gt id to contextSetParam
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-14 18:14:50 +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
Zbigniew Zdanowicz
8fe1a460f8
refactor: simplify isDcFlushAllowed implementation
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-03-14 15:09:39 +01:00
Compute-Runtime-Validation
ef7dbc99f1
Revert "fix: don't use fake userptr flag in ioctl helper xe"
...
This reverts commit 98824fdaf6 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-03-14 14:35:14 +01:00