Young Jin Yoon
65f3e80796
Revert "build: remove static_assert for drm header change"
...
This reverts commit 219470f60d .
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2024-03-08 09:54:30 +01:00
Mrozek, Michal
10313b7b84
refactor: remove not needed code
...
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2024-03-07 18:50:16 +01:00
Lukasz Jobczyk
6d1a3d404e
refactor: Add helper to control flat ring buffer
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-03-07 17:52:23 +01:00
Bartosz Dunajski
79d80047ef
refactor: improve mmap logging logic
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-03-07 12:15:39 +01:00
Mateusz Jablonski
8ae4a3bc7a
fix: pass Sku/Wa tables for gmm without additional translations on Windows
...
Related-To: NEO-10623
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-06 14:58:58 +01:00
Bartosz Dunajski
fcd57f94cf
refactor: capability to print mmap and munmap calls
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-03-06 14:29:01 +01:00
Brandon Yates
7a0d2df2fe
fix: Handle Pat Index Ext not supported on Xe
...
Xe does not support VmBindPatIndexExtension. This patch
fixes the handling of this case and prevents corrupting
other extensions
Related-to: NEO-9674
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-03-06 11:18:31 +01:00
Dominik Dabek
a04c67ec52
performance(ocl): refactor pool allocators tests
...
add explicit tests for xe hpc
Related-To: NEO-9700
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-03-05 18:48:55 +01:00
Kozlowski, Marek
6751d19c19
fix: decanonize pointer to match GPU heap address space
...
* `zeVirtualMemReserve` `pStart` address may be passed in a canonizated form.
Resolves: NEO-10086
Signed-off-by: Kozlowski, Marek <marek.kozlowski@intel.com >
2024-03-01 12:18:11 +01:00
Lukasz Jobczyk
e5db84f370
performance: Use GEMCreateExt when allocate by KMD
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-02-29 18:01:55 +01:00
Lukasz Jobczyk
409e19a832
performance: Enable cmd buffer preallocation per CmdQ on xe and later
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-02-29 17:41:58 +01:00
Lukasz Jobczyk
676644bc50
performance: Enable internal heap preallocation on xe and later
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-02-28 17:58:52 +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
Young Jin Yoon
bf9805b0bb
fix: override reset_stat IOCTL macro for prelim
...
Modified to return DRM_IOCTL_I915_GET_RESET_STATS of prelim headers
as the macro values used for non-prelim is different from the prelim
value due to sizeof() embedded in _IOWR()
Related-To: GSD-5673
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2024-02-28 10:09:27 +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
Young Jin Yoon
219470f60d
build: remove static_assert for drm header change
...
Removed static_assert for reset_stats before updating
drm header to v2.0-r23.
Related-To: GSD-5673
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2024-02-27 17:42:01 +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
Lukasz Jobczyk
55f2b31f2a
refactor: adjust device page fault state print
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-02-23 12:50:40 +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
Michal Mrozek
27f4eab52f
fix: restore previous order of variables
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
Resolves: NEO-10439
2024-02-19 14:13:54 +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
Brandon Yates
ea7ae7564f
feature: Implement read/writeGpuMemory for Xe debugger
...
- makes prelim read/writeGpuMemory generic
- Implements Xe specific ioctls and fsyncs
- Refactors dbg IoctlHelper to use shared base class
for Xe and i915
Related-to: NEO-9668
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-02-08 22:09:59 +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
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
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
Kacper Nowak
999ec9b2ca
refactor: Unify logic for getting atomic FP caps 1/n
...
- Separate logic for fp16/32/46 caps.
- Add aggregated constexprs for local & global caps of given type
- Pass arguments by reference
- Add hwInfo as argument for future refactors
- Add static_asserts in L0 to ensure there is no mismatch between
internal/external caps
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2024-02-07 11:39:36 +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
Katarzyna Cencelewska
d0b009901c
fix: use proper gmm resource type for uncache resources
...
when new coherency model
Resolves: NEO-9657
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2024-01-31 15:26:11 +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
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