Compute-Runtime-Validation
e11917cfcd
Revert "fix: remove not needed checks in ioctl helper xe"
...
This reverts commit 5a6d0b21ac .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-03-14 21:38:09 +01:00
Mateusz Jablonski
d3ab256f55
fix: don't use fake userptr flag in ioctl helper xe
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-14 18:41:17 +01:00
Mateusz Jablonski
5a6d0b21ac
fix: remove not needed checks in ioctl helper xe
...
pass gt id to contextSetParam
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-14 18:14:50 +01:00
Neil R. Spruit
b5f8a38f19
feature: Enable Per IP euStall Functionality
...
Related-To: NEO-10220
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com >
2024-03-14 16:49:52 +01:00
Zbigniew Zdanowicz
8fe1a460f8
refactor: simplify isDcFlushAllowed implementation
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-03-14 15:09:39 +01:00
Compute-Runtime-Validation
ef7dbc99f1
Revert "fix: don't use fake userptr flag in ioctl helper xe"
...
This reverts commit 98824fdaf6 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-03-14 14:35:14 +01:00
Mateusz Jablonski
833fa6bce1
fix: correct querying engines from xe kmd
...
we get drm_xe_query_engines, not array of drm_xe_engine_class_instance
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-14 12:06:25 +01:00
Mateusz Jablonski
98824fdaf6
fix: don't use fake userptr flag in ioctl helper xe
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-14 10:07:38 +01:00
Zbigniew Zdanowicz
9815f1e99b
refactor: group template implementations and change inl file names
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-03-14 08:38:05 +01:00
Young Jin Yoon
7b81c4e08f
feature: abort when unexpected GPU page fault detected
...
If ResetStats from i915 is from the GPU page fault, abort
the entire process instead of disabling engines.
Added a fallback mechanism when prelim_drm_i915_reset_stats
fails.
Related-To: GSD-5673
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2024-03-14 08:14:59 +01:00
Mateusz Jablonski
0210e37f03
fix: respect gt id when finding xe engine info
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-13 20:52:36 +01:00
Francois Dugast
78e55f31b6
fix: Remove unused constant USER_FENCE_VALUE
...
Related-to: NEO-10321
Signed-off-by: Francois Dugast <francois.dugast@intel.com >
2024-03-13 15:26:26 +01:00
Compute-Runtime-Validation
9cce1183cd
Revert "feature: use prelim reset_stats for detailed statisics"
...
This reverts commit 835dc8b594 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-03-13 14:31:57 +01:00
Aravind Gopalakrishnan
3f20dd3b49
refactor: Add optional user fence during unbind
...
Add optional fence and wait operations after unbind operation.
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2024-03-13 12:47:44 +01:00
Young Jin Yoon
835dc8b594
feature: use prelim reset_stats for detailed statisics
...
Added getResetStats() in ioctl_helper.h to support extended header for
prelim_drm_i915_reset_stats.
Added new data structure to capture the fault data structure for prelim.
Related-To: GSD-5673
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2024-03-13 11:37:04 +01:00
Francois Dugast
5483e466e8
fix: Align on strings returned for unknown values
...
Related-to: NEO-10321
Signed-off-by: Francois Dugast <francois.dugast@intel.com >
2024-03-13 11:21:51 +01:00
Lukasz Jobczyk
c3f1eba24a
refactor: Add flag to control DC flush
...
Related-To: NEO-10556
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-03-12 14:54:16 +01:00
Mateusz Jablonski
973757a58d
build: enable xe drm detection by default
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-11 14:29:20 +01:00
Dominik Dabek
5ba9308804
performance: debug flag for localPreferred
...
Add flag for setting localPreferred (implicit when gmm localOnly=0 and
NonLocalOnly=0) when allocating buffer, svmGpu and image.
Related-To: NEO-9695
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-03-11 10:51:49 +01:00
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