Lukasz Jobczyk
0fcc67fba9
refactor: Change scope of product helper test
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-02-28 15:52:25 +01:00
Lukasz Jobczyk
d1dd34d0c7
performance: Enable timestamp wait for events on xe and later
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-02-28 14:18:14 +01:00
Brandon Yates
fa4b737326
feature: Implement metadata attaching for vm_bind in xe
...
Related-to: NEO-9674
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-02-28 01:36:20 +01:00
Mateusz Jablonski
9cbc33e23d
fix: setup correct render/display core family for gmmlib initialization
...
pass values got from adapter info
Related-To: NEO-10482
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-02-26 14:49:04 +01:00
Dunajski, Bartosz
6cdd2d5dca
fix: add missing gt_id when creating XE context
...
Related-To: GSD-8046
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2024-02-23 16:50:32 +01:00
Brandon Yates
0fa730e524
build: Update debugger uapi headers to latest
...
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-02-22 16:07:06 +01:00
Dominik Dabek
0120d8a58d
performance: program pat index on mtl linux
...
Enable programming pat indexes on mtl linux for device buffers.
Change DrmMemoryManager::allocateMemoryByKMD to use gemCreateExt.
Set mmap flags based on coherency.
Map as write back on legacy and coherent.
On non-coherent map as write combined.
Changes currently disabled, to enable use debug keys:
DisableGemCreateExtSetPat=0
UseGemCreateExtInAllocateMemoryByKMD=1
Reorder BufferObject to decrease padding.
Related-To: NEO-7896
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-02-16 17:33:07 +01:00
Lukasz Jobczyk
cc1732c930
performance: make resident before lock
...
Resolves: NEO-10369
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-02-16 12:00:38 +01:00
Compute-Runtime-Validation
4d159bd06c
Revert "performance: make resident before lock"
...
This reverts commit 7e7fac01e3 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-02-16 09:23:49 +01:00
Dominik Dabek
ed011de03e
performance: program pat index on mtl linux
...
Enable programming pat indexes on mtl linux for device buffers.
Change DrmMemoryManager::allocateMemoryByKMD to use gemCreateExt.
Changes currently disabled, can be enabled with flag
DisableGemCreateExtSetPat=0
Related-To: NEO-7896
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-02-15 17:15:28 +01:00
Lukasz Jobczyk
7e7fac01e3
performance: make resident before lock
...
Resolves: NEO-10369
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-02-15 11:56:36 +01:00
Compute-Runtime-Validation
7b340775c6
Revert "performance: program pat index on mtl linux"
...
This reverts commit 8e0b23db84 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-02-15 02:06:03 +01:00
Dominik Dabek
8e0b23db84
performance: program pat index on mtl linux
...
Enable programming pat indexes on mtl linux for device buffers.
Change DrmMemoryManager::allocateMemoryByKMD to use gemCreateExt.
Related-To: NEO-7896
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-02-14 18:42:04 +01:00
Kacper Nowak
cccd9a3703
refactor: Add method for retrieving extra device info
...
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2024-02-14 16:38:15 +01:00
Mateusz Jablonski
bb5f6d9660
fix: don't query vm bind support on i915 prelim for pre-Xe platforms
...
Related-To: HSD-18036843571
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-02-09 12:50:48 +01:00
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
Lukasz Jobczyk
5717a726ff
fix: Allow free of zero sized allocation
...
Related-To: NEO-9236
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-02-07 17:04:11 +01:00
Dunajski, Bartosz
923707a509
feature: initial support for local dispatch size query
...
Related-To: NEO-8070
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2024-02-07 14:47:05 +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
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
69c9cacd3e
feature: Enable ULLS on wddm 2.3
...
Related-To: NEO-4843
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-01-29 17:33:28 +01:00
Fabian Zwolinski
c51b656d2c
fix: request instruction cache invalidation on module destroy
...
Invalidation is requested on both linux and windows,
on Csr's that used Isa allocation.
Related-To: NEO-10045
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2024-01-29 16:00:34 +01:00
Lukasz Jobczyk
64175d8bb6
feature: Add ULLS support for WDDM 2.3
...
Resolves: NEO-4843
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-01-29 15:45:43 +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
Katarzyna Cencelewska
eec01e500a
fix: non-coherency issue on arl
...
Resolves: HSD-15015200338
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2024-01-26 10:26:33 +01:00
Mateusz Jablonski
cf4619843d
test: correct size for allocating fread buffer
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-01-24 13:39:23 +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
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
Kacper Nowak
6cf71cce81
refactor: Allow for grouping BCS1+ copy engines in more engine group types
...
Do not group copy engines from BCS1+ in linked copy group by default.
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2024-01-23 12:13:09 +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
Maciej Plewka
09dcc618c1
fix: prefer compression when allocationg by kmd
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2024-01-22 16:38:17 +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
028a5ee2fc
fix: correct calculating highest enabled dual subslice
...
when no DSS is exposed then calculate highest enabled subslice instead
Related-To: NEO-9614
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-01-19 10:48:15 +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
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
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
556645e0c5
fix: add unrecoverable to avoid OOB access
...
Related-To: NEO-9860
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-01-16 00:12:11 +01:00