Francois Dugast
e311ba5597
refactor: Move ownership of engine type to caller of setDefaultEngine
...
Related-To: GSD-7097
Signed-off-by: Francois Dugast <francois.dugast@intel.com >
2024-02-01 14:20:20 +01:00
Francois Dugast
278ced35dc
fix: Use capability table to determine engine type for defaultEngine
...
Related-To: GSD-7097
Signed-off-by: Francois Dugast <francois.dugast@intel.com >
2024-01-30 14:28:09 +01:00
Jitendra Sharma
548ecec7f8
feature: Implement debugger open IOCTL
...
Related-To: NEO-8405
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2024-01-24 09:50:39 +01:00
Brandon Yates
76de854a69
feature: Set Debug Attach Available for Xe
...
Related-to: NEO-8402
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-01-24 09:04:11 +01:00
Jitendra Sharma
aa191b6f88
feature: Set runalone mode for contexts with online debugging
...
Related-To: NEO-9139
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2024-01-17 09:01:30 +01:00
Naklicki, Mateusz
a28a2d305e
fix: align NEO code to new uAPI header
...
PMU is removed from XeKMD as it is likely to change in the future.
Related-To: NEO-8324
Co-authored-by: Francois Dugast <francois.dugast@intel.com >
Co-authored-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
Signed-off-by: Francois Dugast <francois.dugast@intel.com >
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2024-01-16 13:36:32 +01:00
Brandon Yates
d3baab00db
feature: Register resources for Xe at vm creation (1/x)
...
Add interfaces to IoctlHelperXe for registering resources.
Introduce new debug key EnableXeResourceRegistration to attach
resources to vm_create ioctl.
Related-to: NEO-9161
Signed-off-by: Brandon Yatse <brandon.yates@intel.com >
2024-01-11 08:15:50 +01:00
Compute-Runtime-Validation
46d860b2bf
Revert "feature: Register resources for Xe at vm creation (1/x)"
...
This reverts commit e1fefd1974 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-01-09 11:36:00 +01:00
Brandon Yates
e1fefd1974
feature: Register resources for Xe at vm creation (1/x)
...
Add interfaces to IoctlHelperXe for registering resources.
Introduce new debug key EnableXeResourceRegistration to attach
resources to vm_create ioctl.
Related-to: NEO-9161
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-01-08 13:36:24 +01:00
Young Jin Yoon
4ccae1dbb4
feature: support memory policy for GEM_CREATE
...
Modified ioctl_helper_prelim to support the extension of gem_create_ext,
i.e. prelim_drm_i915_gem_create_ext_mempolicy.
Added two debug variables to be used for the mempolicy extension.
Modified functions in memory_info and drm_memory_manager to support extension
Added numaif.h from https://github.com/numactl/numactl/tree/master ,
v2.0.14
Related-To: NEO-8276
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2024-01-04 23:49:10 +01:00
Mateusz Jablonski
d8f6551b6b
refactor: move i915 ioctl helper to dedicated file
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-28 12:01:18 +01:00
Mateusz Jablonski
72a999599f
refactor: remove i915 dependency from xe ioctl helper
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-28 09:29:27 +01:00
Naklicki, Mateusz
4fa6368c01
fix: cast param to proper datatype width
...
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2023-12-27 09:23:19 +01:00
Naklicki, Mateusz
611b847d19
fix: align NEO code to new uAPI header
...
Related-To: NEO-8324
Co-authored-by: Francois Dugast <francois.dugast@intel.com >
Co-authored-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
Signed-off-by: Francois Dugast <francois.dugast@intel.com >
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2023-12-22 17:36:55 +01:00
Naklicki, Mateusz
08f7e7be18
fix: align NEO to new Xe KMD header
...
Align to the new PAT and cache coherency support
There is an issue with coherency=non_coh, which
is default option for some platforms.
Add temporary W/A until this issue is resolved.
xe_drm.h header is generated from the series
"PAT and cache coherency support"
from https://patchwork.freedesktop.org/series/123027/
Related-To: NEO-9421, NEO-8324
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2023-12-22 16:44:26 +01:00
Mateusz Jablonski
138fb65401
refactor: correct naming of enum class constants 11/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-19 14:52:57 +01:00
Compute-Runtime-Validation
570b4d3d39
Revert "fix: align NEO to new Xe KMD header"
...
This reverts commit f68b8a2c97 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-12-14 10:23:31 +01:00
Mateusz Jablonski
2eba5b35e4
refactor: correct naming of DrmParam enum values
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-13 15:43:46 +01:00
Naklicki, Mateusz
f68b8a2c97
fix: align NEO to new Xe KMD header
...
Align to the new PAT and cache coherency support
xe_drm.h header is generated from the series
"PAT and cache coherency support"
from https://patchwork.freedesktop.org/series/123027/
Related-To: NEO-9421, NEO-8324
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2023-12-13 14:14:35 +01:00
Mateusz Jablonski
cff6c81be0
refactor: correct naming of DrmIoctl enums
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-12 10:02:19 +01:00
Mateusz Jablonski
da957d1a37
refactor: correct naming of enum class constants 1/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-05 14:26:42 +01:00
Mateusz Jablonski
c9664e6bad
refactor: rename global debug manager to debugManager
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-30 13:00:59 +01:00
Naklicki, Mateusz
dc29c08abd
fix: align NEO code to new uAPI header
...
Related-To: NEO-9566
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2023-11-27 19:50:23 +01:00
Francois Dugast
f465cf5f27
feature: update Xe KMD header
...
xe_drm.h header is generated from the series
"uAPI Alignment - Remove unused features"
from https://patchwork.freedesktop.org/series/126278/
This aligns with Xe KMD commit ("drm/xe/pmu: Drop interrupt pmu event").
Related-To: NEO-8324
Signed-off-by: Francois Dugast <francois.dugast@intel.com >
2023-11-24 11:40:42 +01:00
Young Jin Yoon
3782b4bd0e
feature: add functions to get/set VA space
...
Added an extension version of zeContextGetVirtualAddressSpaceIpcHandle
and zeContextPutVirtualAddressSpaceIpcHandle, which return
ZE_RESULT_ERROR_UNSUPPORTED_FEATURE for now.
Related-To: NEO-8259
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2023-11-06 20:08:45 +01:00
Compute-Runtime-Validation
bcc5a8502b
Revert "feature: add functions to get/set VA space"
...
This reverts commit 0550c80d4f .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-11-03 02:06:36 +01:00
Young Jin Yoon
0550c80d4f
feature: add functions to get/set VA space
...
Added an extension version of zeContextGetVirtualAddressSpaceIpcHandle
and zeContextPutVirtualAddressSpaceIpcHandle, which return
ZE_RESULT_ERROR_UNSUPPORTED_FEATURE for now.
Related-To: NEO-8259
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2023-11-02 18:42:27 +01:00
Francois Dugast
1fd9d29f54
feature: update Xe KMD header
...
xe_drm.h header is generated from the series "uAPI Alignment - take 1 v4"
from https://patchwork.freedesktop.org/series/124387/
Related-To: NEO-8324
Signed-off-by: Francois Dugast <francois.dugast@intel.com >
Signed-off-by: Kamil, Kopryk <kamil.kopryk@intel.com >
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2023-10-24 12:03:45 +02:00
Katarzyna Cencelewska
ff1a8770fe
fix: when gt type media on xe kmd then do not inizialize
...
also use proper size when query config
Related-To: HSD-18034189281
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2023-10-19 12:37:36 +02:00
Compute-Runtime-Validation
096e424428
Revert "fix: initialize tile only when gt type main on xe kmd"
...
This reverts commit cbde47d638 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-10-19 09:47:58 +02:00
Katarzyna Cencelewska
cbde47d638
fix: initialize tile only when gt type main on xe kmd
...
also use proper size when query config
Related-To: HSD-18034189281
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2023-10-18 16:01:16 +02:00
Mateusz Jablonski
85eafc9e61
fix: query drm info to aligned storages
...
xe topology info to byte aligned storage
xe engine info to 2 byte aligned storage
system info to 4 byte aligned storage
all other info to 8 byte aligned storage
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-06 16:11:40 +02:00
Compute-Runtime-Validation
d5f90ae155
Revert "fix: query drm info to 8 byte aligned storage"
...
This reverts commit 9b344280d6 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-10-05 06:07:27 +02:00
Mateusz Jablonski
9b344280d6
fix: query drm info to 8 byte aligned storage
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-03 18:43:53 +02:00
Compute-Runtime-Validation
8fa0b90f35
Revert "fix: query drm info to 8 byte aligned storage"
...
This reverts commit d0e615820c .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-10-03 15:41:11 +02:00
Mateusz Jablonski
d0e615820c
fix: query drm info to 8 byte aligned storage
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-03 11:13:38 +02:00
John Falkowski
56f05303c9
feature: add support for zeMemGet/SetAtomicAccessAttributeExp
...
Resolves: NEO-8219
Signed-off-by: John Falkowski <john.falkowski@intel.com >
2023-10-02 15:59:17 +02:00
Mateusz Jablonski
3ceafa2259
fix: remove setting debug flags for ioctl helper xe
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-09-26 15:42:52 +02:00
Francois Dugast
670eaeb050
feature: update Xe KMD header
...
xe_drm.h header is taken from commit e51e857ffad411e1b78821866e9f02187345a11a
https://gitlab.freedesktop.org/drm/xe/kernel
Related-To: NEO-8324
Signed-off-by: Francois Dugast <francois.dugast@intel.com >
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-09-18 08:44:00 +02:00
Mateusz Jablonski
fca50ba710
refactor: remove not needed logic for syncobj in xe
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-09-14 10:27:28 +02:00
Kamil Kopryk
1ab0467301
fix: Add bind info for allocation from ipc handle in xe
...
Related-To: NEO-7996
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-09-13 12:34:10 +02:00
Cencelewska, Katarzyna
a6ea67bd09
fix: add empty functions to set and get gemTiling in xeIoctlHelper
...
it is needed until there is no support in xe kmd for image tiling
Related-To: NEO-8325
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2023-09-12 16:11:37 +02:00
Cencelewska, Katarzyna
df961b3dc0
fix: update properly bindInfo in GemCreate on xe kmd
...
Related-To: NEO-8325
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2023-09-12 16:04:28 +02:00
Cencelewska, Katarzyna
79ea10ec98
fix: when no memoryBanks set properly flags to gemCreate
...
Related-To: NEO-8325
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2023-09-08 15:54:54 +02:00
Kamil Kopryk
79e30f9ecd
fix: Correct maxEuPerSubSlice calculation in drm
...
Related-To: NEO-7996
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-09-08 13:33:58 +02:00
Cencelewska, Katarzyna
98dae70415
fix: add helper to proper call GemCreate on xe kmd
...
Related-To: NEO-8325
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2023-09-08 12:27:11 +02:00
Kamil Kopryk
9e2ff7c5c3
fix: correct logging PrimeHandleToFd ioctl in xe
...
Related-To: NEO-7996
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-08-30 12:28:26 +02:00
Filip Hazubski
fe601f527f
fix: Provide DRM_XE_VM_CREATE_FAULT_MODE flag to GemVmCreate calls
...
DRM_XE_VM_CREATE_FAULT_MODE flag is to be used when
Drm::hasPageFaultSupport returns true.
Related-To: NEO-7996
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2023-08-24 08:25:58 +02:00
Kamil Kopryk
ffac216ab2
fix: use decanonize from gmm helper in xe
...
Related-To: NEO-7996
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-08-07 17:45:03 +02:00
Compute-Runtime-Validation
d93789dbab
Revert "fix: use decanonize from gmm helper in xe"
...
This reverts commit e6b0930657 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-08-04 17:20:25 +02:00