Lukasz Jobczyk
7b8abd8fff
fix: pass GMM to Drm::getPatIndex
...
Related-To: NEO-9543
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-01-08 09:14:14 +01:00
Lukasz Jobczyk
add394722c
fix: Create GMM in DrmMemoryManager::createAllocWithAlignment
...
Resolves: NEO-9739
Related-To: NEO-9543
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-01-05 13:17:11 +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
John Falkowski
138f22f684
fix: correct calculation for chunking size
...
Resolves: NEO-9562
Signed-off-by: John Falkowski <john.falkowski@intel.com >
2023-12-27 16:27:09 +01:00
Mateusz Jablonski
368070069e
refactor: remove intel_hwconfig_types file from third party
...
remove not needed querying of vs/hs/ds/ps/gs threads
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-27 15:32:23 +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
Compute-Runtime-Validation
341a13ce8e
Revert "performance: Limit tlb flush WA scope on DG2 Linux"
...
This reverts commit fa181937a4 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-12-24 08:17:39 +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
Lukasz Jobczyk
fa181937a4
performance: Limit tlb flush WA scope on DG2 Linux
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-12-21 12:18:29 +01:00
Mateusz Jablonski
a4888b39c6
build: add clang-tidy restriction for Enum case
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-21 08:58:51 +01:00
Compute-Runtime-Validation
590418a588
Revert "performance: Limit tlb flush WA scope on DG2 Linux"
...
This reverts commit 0b85a9f256 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-12-21 08:52:58 +01:00
Lukasz Jobczyk
0b85a9f256
performance: Limit tlb flush WA scope on DG2 Linux
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-12-20 16:53:54 +01:00
Maciej Bielski
cb448c6c35
fix: add missing registerIpcExportedAllocation
...
Unify `getIpcMemHandle()` and `getIpcMemHandles()` and fix the issue of
missing IPC handles registration while reducing copy-pasted code.
Also replace `boHandle` with `boHandleWrapper` to leverage `refCount`
properly and avoid double-free.
Related-To: NEO-8904
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2023-12-19 15:09:21 +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
Mateusz Jablonski
de93bc6928
refactor: correct naming of enum class constants 10/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-19 11:30:39 +01:00
Mateusz Jablonski
dd1b9d6abc
refactor: correct naming of enum class constants 8/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-19 08:18:18 +01:00
Brandon Yates
0c7ba17f1a
feature(debugger): Implement attach for xe debugger
...
Related-to: NEO-8407
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2023-12-18 16:27:17 +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
Mateusz Jablonski
739d181026
refactor: correct naming of enum class constants 6/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-13 14:48:52 +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
432142c574
refactor: correct naming of enum class constants 4/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-13 08:08:51 +01:00
Mateusz Jablonski
01dd503e47
refactor: correct naming of MemoryPool enum values
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-13 07:51:39 +01:00
Mateusz Jablonski
0428c0acd1
refactor: correct naming of HeapIndex enum values
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-12 11:46:17 +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
b182917d9d
refactor: correct naming of allocation types
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-11 16:23:37 +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
c48e57e2de
refactor: rename register offsets and constants
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-04 18:31:39 +01:00
John Falkowski
911acd81a2
feature: add SetBOChunkingSize debug variable
...
Resolves: NEO-9562
Signed-off-by: John Falkowski <john.falkowski@intel.com >
2023-12-04 06:21:01 +01:00
Compute-Runtime-Validation
9add9f12dc
Revert "feature: add SetBOChunkingSize debug variable"
...
This reverts commit e1df8f9112 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-12-03 03:28:16 +01:00
Mateusz Jablonski
e57d372608
refactor: correct naming of enum class constants
...
EngineGroupType
BlitDirection
PostBlitMode
WaitStatus
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-01 11:53:51 +01:00
John Falkowski
e1df8f9112
feature: add SetBOChunkingSize debug variable
...
Resolves: NEO-9562
Signed-off-by: John Falkowski <john.falkowski@intel.com >
2023-12-01 09:39:47 +01:00
Kacper Nowak
4a0064033a
fix: Correct AIL initialization in runtime
...
- Initialize AIL helper in runtime (linux/windows/AUB path).
- Return false if AIL configuration initialization is called with empty
AIL helper (is nullptr).
- Skip mentioned condition if AIL is disabled via EnableAIL debug key.
Related-To: NEO-9240
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2023-12-01 02:42:10 +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
Fabian Zwolinski
06ec4c3a82
fix: aub residency in HW+AUB mode
...
Related-To: NEO-9230
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-11-29 11:54: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
Lukasz Jobczyk
128dc4a3ad
Revert "performance: disable gem close worker on non integrated devices"
...
This reverts commit 3cf7cbc9e9 .
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-11-20 14:49:04 +01:00
Mateusz Jablonski
35c1f34672
refactor: move number of threads per eu to release helper
...
Related-To: HSD-18034098647
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-20 12:16:33 +01:00
Lukasz Jobczyk
3cf7cbc9e9
performance: disable gem close worker on non integrated devices
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-11-17 15:24:03 +01:00
Mateusz Jablonski
a0f8e8accc
fix: initialize max capability values for ARL
...
setup max values when overriding hw info with debug key
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-15 13:44:11 +01:00
Dominik Dabek
961a8d91d0
refactor: move gmm constructor flags to struct
...
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2023-11-15 09:26:13 +01:00
John Falkowski
f0175b3916
feature: set device allocation chunking as default
...
Device allocation chunking only applies for multi-tile mode for implicit scaling
Related-To: NEO-9051
Signed-off-by: John Falkowski <john.falkowski@intel.com >
2023-11-07 10:58:17 +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
Compute-Runtime-Validation
fca2159430
Revert "fix: if device hierarchy is flat then getSubDevicesCount return 1u"
...
This reverts commit cb0bb57f49 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-10-26 15:40:29 +02:00