Mateusz Jablonski
ac42206e0a
fix: defer creation of IoctlHelperXe
...
create IoctlHelperXe within Drm::setupIoctlHelper
Related-To: NEO-13527
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-12-18 15:36:15 +01:00
Jitendra Sharma
0248b53d86
feature: Retrieve vmToTile map information for multi tile eudebug support
...
Related-To: NEO-11104
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2024-12-18 11:59:49 +01:00
Mateusz Jablonski
169469eb06
refactor: extract querying device id / revision id to separate method in xe path
...
Related-To: NEO-13527
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-12-18 09:57:19 +01:00
Mateusz Jablonski
474005de7d
refactor: move Drm methods definition to drm_neo.cpp file
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-12-17 13:41:57 +01:00
Compute-Runtime-Validation
c7d1f3b6a9
Revert "performance: don't wait on fence immediately after bind"
...
This reverts commit ff65d0ab59 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-12-17 06:03:24 +01:00
Mateusz Jablonski
9b4606f5c6
refactor: remove not needed code
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-12-16 23:47:37 +01:00
Mateusz Jablonski
53d255063c
fix: create eudebug interface at initialize of ioctl helper
...
Related-To: NEO-13511
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-12-16 23:45:17 +01:00
Szymon Morek
ff65d0ab59
performance: don't wait on fence immediately after bind
...
Related-To: NEO-13456
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-12-16 16:56:05 +01:00
Jitendra Sharma
322089fa5f
feature: Pass cookie in vmBindExt
...
Provide cookie in vmBindExt, so that information about deviceBitField
could be provided to vmBind. This information could be used in
debugUMD code to to create grouping of ISA segments on different
tiles.
Related-To: NEO-11104
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2024-12-16 14:11:20 +01:00
Mateusz Jablonski
86ecbf3507
fix: explicitly report unhandled event exec queue placements
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-12-16 13:11:39 +01:00
Mateusz Jablonski
8f7bacdd95
feature: add eudebug interface class
...
eudebug interface is now hidden under EuDebugInterface class
shared code uses generic object and param values
layout of structs is guarded by static asserts
eudebug support is guarded by cmake flags:
- NEO_ENABLE_XE_EU_DEBUG_SUPPORT - enables eudebug in general
- NEO_USE_XE_EU_DEBUG_EXP_UPSTREAM - registers exp upstream uAPI support
- NEO_ENABLE_XE_PRELIM_DETECTION - registers prelim uAPI support
This way we can support two different xe-eudebug interfaces within
single binary.
In unit tests there is mock eudebug interface enabled (even if no
eudebug support is enabled by cmake flag).
Related-To: NEO-13472
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-12-13 17:07:12 +01:00
Mateusz Jablonski
49c028858a
fix: optimize bind info in ioctl helper xe
...
bind info container is needed to distinguish between userptr and handles
with this change it stores only userptrs and their corresponding gpu va
Related-To: NEO-13501
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-12-13 16:07:30 +01:00
Compute-Runtime-Validation
924ad580bd
Revert "fix: enable scratch pages on xekmd"
...
This reverts commit 74824f659a .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-12-11 07:10:27 +01:00
Szymon Morek
c3ed6e062a
performance: enable timestamp reuse on linux
...
Related-To: NEO-13456
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-12-10 11:57:45 +01:00
Naklicki, Mateusz
74824f659a
fix: enable scratch pages on xekmd
...
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2024-12-10 11:48:09 +01:00
Mateusz Jablonski
d78ca38d9b
refactor: remove dead code
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-12-09 19:26:00 +01:00
Maciej Bielski
4467b1e8de
feature: specify cache level when reserving a region
...
Related-To: NEO-12837
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2024-12-09 12:54:48 +01:00
Mateusz Jablonski
b46525f556
feature: handle DRM_XE_TOPO_SIMD16_EU_PER_DSS in xe non-prelim path
...
Related-To: NEO-12012
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-11-18 13:41:16 +01:00
Compute-Runtime-Validation
fd1a000ae4
Revert "feature: enable recoverable pagefault"
...
This reverts commit c6c2eef063 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-11-06 07:39:04 +01:00
Young Jin Yoon
c6c2eef063
feature: enable recoverable pagefault
...
Enabled recoverable pagefault
Related-To: NEO-13116
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2024-11-04 21:44:04 +01:00
Naklicki, Mateusz
64061b623b
feature: xekmd vm prefetch
...
Related-To: HSD-18040382956
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2024-10-31 13:49:25 +01:00
Slawomir Milczarek
2b2bd19845
feature: Add branch dir suffix for ioctl helper xe prelim in cmake
...
Related-To: NEO-12846
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2024-10-25 12:20:43 +02:00
Naklicki, Mateusz
a429f520fb
fix: use proper cpu caching for USM allocations
...
When using USM allocation, placement of BO can be simultaneously set to
local and system memory. This indicatates that migration between them
is allowed, but then we must not allow CPU caching to prevent corruptions.
Related-To: HSD-18040382956
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2024-10-24 03:24:29 +02:00
Compute-Runtime-Validation
69046526bd
Revert "feature: Add branch dir suffix for ioctl helper xe prelim in cmake"
...
This reverts commit ac9386e190 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-10-23 19:25:11 +02:00
Slawomir Milczarek
ac9386e190
feature: Add branch dir suffix for ioctl helper xe prelim in cmake
...
Related-To: NEO-12846
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2024-10-23 14:30:58 +02:00
Szymon Morek
7f2b806413
fix: Override timestamp width from KMD
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-10-14 13:38:33 +02:00
Wojciech Konior
6b40f9bc5a
refactor: engineInstancedType removed
...
Related-To: NEO-12594
Signed-off-by: Wojciech Konior <wojciech.konior@intel.com >
2024-10-09 16:30:48 +02:00
Bartosz Dunajski
834f00d48b
fix: dont query timestamp if debug flag is disabled
...
Related-To: NEO-12907
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-10-09 16:08:04 +02:00
Bartosz Dunajski
9a280892f8
refactor: add timestamps to xe logs
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-10-07 11:42:55 +02:00
Artur Harasimiuk
22505ca3ed
refactor: cleanup coding style
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2024-10-02 12:42:39 +02:00
Mateusz Jablonski
9b7ac3a71e
fix: correct querying number of slices in xe path
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-25 19:16:41 +02:00
Mateusz Jablonski
d3432c6b2b
fix: respect max subslice count when parsing subslice info in xe path
...
don't parse more data than max subslice count
setup slice count based on slice indices size
unify get topology map and get topology data methods to reduce
loop iterations
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-25 17:01:05 +02:00
Mateusz Jablonski
f8e77d5f43
fix: remove check for xe vmbind flags support
...
bind immediate and readonly flags are already available in upstream
Related-To: NEO-12774
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-24 14:33:31 +02:00
Jitendra Sharma
25f2504bf5
fix: set eudebug extension property when debugging enabled
...
In order to debug on XE, XE_EXEC_QUEUE_SET_PROPERTY_EUDEBUG
needs to be set up.
Related-To: NEO-12691
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2024-09-18 08:32:03 +02:00
Mateusz Jablonski
86a088e13f
feature: move L3 bank query from xe-prelim to xe-nonprelim path
...
Related-To: NEO-11125
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-17 18:14:17 +02:00
Young Jin Yoon
4b132245d1
fix: use immediate for makeMemoryResident
...
Modified to enable immediate flag when resident boolean
is true for vm_bind
Related-To: NEO-8277
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2024-09-17 07:48:58 +02:00
Brandon Yates
33364baae7
fix: Use prelim prefix for xe debug sysfs file name
...
Related-to: NEO-7979
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-09-13 23:23:22 +02:00
Mateusz Jablonski
bc5237ca8a
feature: add support for query l3 bank count in xe-prelim
...
Related-To: NEO-11125
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-11 11:28:43 +02:00
Mateusz Jablonski
1c15fa5c70
fix: correct thread-safety in removing from bind info vector in xe path
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-11 02:49:27 +02:00
Mateusz Jablonski
dfbad8029b
feature: add support for SIMD16 EU per DSS to xe-prelim helper
...
Related-To: NEO-12012
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-10 15:35:46 +02:00
Mateusz Jablonski
eca60f01d1
refactor: extract IoctlHelperXePrelim that would use xe prelim headers
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-10 12:04:11 +02:00
Mateusz Jablonski
3e96dcf969
refactor: move eu per dss topology type detection to separate file
...
Related-To: NEO-12012
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-08-23 18:07:43 +02:00
Compute-Runtime-Validation
006285105d
Revert "fix: allow using recoverable pagefaults on xekmd"
...
This reverts commit 4404d0c6b8 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-08-20 05:38:00 +02:00
Naklicki, Mateusz
4404d0c6b8
fix: allow using recoverable pagefaults on xekmd
...
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2024-08-19 15:56:55 +02:00
Naklicki, Mateusz
1317aa539b
fix: unblock xekmd recoverable pagefaults vmbind
...
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2024-08-14 10:46:45 +02:00
Compute-Runtime-Validation
a860adc457
Revert "fix: unblock xekmd recoverable pagefaults vmbind"
...
This reverts commit cc3e6d5055 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-08-09 14:17:41 +02:00
Naklicki, Mateusz
cc3e6d5055
fix: unblock xekmd recoverable pagefaults vmbind
...
Related-To: HSD-13011898606
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2024-08-09 09:10:27 +02:00
Maciej Bielski
e434c5595f
feature: get HW IP version from drm_xe_gt
...
Make use of `drm_xe_gt` members to determine HW IP version when running
with XeKMD. Fall back to current values when the respective ioctl call
does not provide relevant information.
Related-To: NEO-10773
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2024-08-08 12:06:54 +02:00
Bartosz Dunajski
a04cf31110
refactor: improve engine query
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-08-07 18:22:26 +02:00
Mateusz Jablonski
07a11e640f
refactor: include xe header in dedicated namespace
...
avoid redefinition issue in case of integrating multiple xe drm versions
define mock drm xe in inl file to provide xe definitions for mock members
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-08-01 14:38:20 +02:00