Lukasz Jobczyk
486cc71b76
refactor: Add GDI profiling
...
Resolves: NEO-9236
Related-To: NEO-10036
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-02-07 18:44:11 +01:00
Maciej Plewka
ce17580b28
fix: Use Rcs engine in blender on DG2
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2024-02-07 18:21:54 +01:00
Naklicki, Mateusz
eb0b0c2c89
refactor: add missing xe logs
...
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2024-02-06 13:03:46 +01:00
Kamil Kopryk
a4f7dda98f
refactor: Add xe print debug key
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-02-02 16:39:51 +01:00
Katarzyna Cencelewska
e6ba9766bd
feature: add debug flags to force pat index
...
for cached recouces: OverridePatIndexForCachedTypes
for uncached resouces: OverridePatIndexForUncachedTypes
Related-To: NEO-10157
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2024-02-02 16:11:34 +01:00
Brandon Yates
27c089d60d
feature: Register ELF for xe debugger
...
Related-to: NEO-9674
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-02-02 09:19:19 +01:00
Jitendra Sharma
00b1f1c5b5
fix: set runalone mode in xe only for render and compute
...
Runalone mode in XE is supported only for RENDER and COMPUTE.
Related-To: NEO-9139
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2024-02-02 09:13:17 +01:00
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
Filip Hazubski
d920753ca6
fix: Disable related logic when EnableHostAllocationMemPolicy is not set
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2024-01-31 13:45:52 +01:00
Yoon, Young Jin
cbe35d70a5
fix: initialize libnuma only when flag is set
...
Modified in memory_info.cpp to initialize libnuma only when
EnableHostAllocationMemPolicy is set.
Related-To: NEO-8276
Signed-off-by: Yoon, Young Jin <young.jin.yoon@intel.com >
2024-01-30 18:27:43 +01:00
Maciej Plewka
564e0f0319
performance: Align host mem to 2MB when range is not limited
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
Related-To: NEO-10217
2024-01-30 14:43:13 +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
Compute-Runtime-Validation
fa9c79fb63
Revert "refactor: Add GDI profiling"
...
This reverts commit 524ae7713a .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-01-30 10:47:34 +01:00
Mateusz Jablonski
da16dad344
fix: don't limit vm bind support based on platform
...
Related-To: GSD-7097
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-01-29 19:43:15 +01:00
Lukasz Jobczyk
524ae7713a
refactor: Add GDI profiling
...
Resolves: NEO-9236
Related-To: NEO-10036
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-01-29 11:36:04 +01:00
Maciej Plewka
7728123907
fix: Do not use 2mb alignment for host ptr allocs
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
Related-To: NEO-9945
2024-01-29 11:01:00 +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
c0686da2d6
fix: update uapi eudebug headers
...
- Update uapi eudebug headers in third_party/uapi-eudebug/drm
to 67590b534a037466f83ae023f31c6186a53d9d86 from
https://gitlab.freedesktop.org/miku/kernel/-/tree/eudebug-dev-pub
Related-To: NEO-9139
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2024-01-23 16:39:56 +01:00
Katarzyna Cencelewska
7bbe57c671
feature: add debug info for logging pat indexes
...
Related-To: HSD-18031172224
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2024-01-23 13:34:35 +01:00
Mateusz Jablonski
a697a3f718
refactor: create new members for storing spill and private memory in scratch
...
rename private scratch space into scratch space slot 1 as it can be generic
Related-To: NEO-9944
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-01-23 12:42:25 +01:00
Compute-Runtime-Validation
f9f9035b95
Revert "refactor: create new members for storing spill and private memory in ...
...
This reverts commit 87eb5f554a .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-01-23 09:13:00 +01:00
Compute-Runtime-Validation
e949ba7144
Revert "refactor: Add GDI profiling"
...
This reverts commit 8d56f8fb6b .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-01-23 06:13:02 +01:00
Mateusz Jablonski
87eb5f554a
refactor: create new members for storing spill and private memory in scratch
...
rename private scratch space into scratch space slot 1 as it can be generic
Related-To: NEO-9944
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-01-22 19:48:48 +01:00
Lukasz Jobczyk
8d56f8fb6b
refactor: Add GDI profiling
...
Resolves: NEO-9236
Related-To: NEO-10036
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-01-22 14:24:08 +01:00
Maciej Bielski
134c718a25
fix: support zeEventPool IPC handles from single process
...
For all execution paths where needed, use `BufferObjectHandleWrapper`
instances for registration of BO-handles and try to obtain shared
ownership. This allows both sides of IPC communication to be implemented
in the same process and avoid the double-free problem on a BufferObject
of the same handle.
Currently there are two pairs of such calls:
* `zeEventPoolGetIpcHandle()` + `zeEventPoolOpenIpcHandle()`
* `zeMemGetIpcHandle()` + `zeMemOpenIpcHandle()`
The capability of executing both sides from the same process is useful
for testing but not only.
Related-To: NEO-9837
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2024-01-19 14:49:38 +01:00
Mateusz Jablonski
93e941fd73
refactor: simplify engine mapping array
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-01-19 12:51:12 +01:00
Yoon, Young Jin
9c7578f5f4
fix: change numa_library to read default policy
...
Changed NumaLibrary to read default policy instead of using
the address-based policy, and remove unnecessary argument.
Removed numaif.h from the repo as it is no longer required.
Related-To: NEO-8276
Signed-off-by: Yoon, Young Jin <young.jin.yoon@intel.com >
2024-01-19 08:31:41 +01:00
Yoon, Young Jin
a084b1cf42
fix: change numa library string for SLES
...
Modified libnuma.so.1 to be loaded instead of libnuma.so for
SLES compatibility
Related-To: NEO-8276
Signed-off-by: Yoon, Young Jin <young.jin.yoon@intel.com >
2024-01-19 08:22:17 +01:00
Kacper Nowak
c238f731af
fix: Skip mapping copy engines for unsupported ones
...
Based on the info retrieved from product helper, skip mapping returned
copy engines from KMD to disabled ones.
- Unify logic for EngineInfo ctors (remove redundant code).
Related-To: NEO-8356
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2024-01-18 09:49:14 +01:00
Brandon Yates
976d112188
performance: optimize copy in allocateDebugMetadata
...
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-01-18 08:07:02 +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
Warchulski, Jaroslaw
f7dc17e6a2
fix: set mmapPtr in every allocation in multiGraphicAllocation
...
Related-To: GSD-7360
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2024-01-16 15:18:44 +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
Mateusz Jablonski
7b40b01f54
feature: add debug key for toggling bit in 57bit GPU VA for specific allocations
...
Related-To: NEO-9419
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-01-15 19:37:00 +01:00
Brandon Yates
ba0db2488a
refactor: Implement Xe Resoure Registration (2/x)
...
Refactor drm_debug.cpp into IoctlHelper
Related-to: NEO-9161
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-01-11 08:26:29 +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
Katarzyna Cencelewska
5d2d3ed899
refactor: modify sip kernel helpers
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2024-01-09 17:09:10 +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
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