Compute-Runtime-Validation
6a24610ed1
Revert "fix: Make makeResident explicitly blocking on linux"
...
This reverts commit 9095c3ed8a .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-05-10 11:03:13 +02:00
Szymon Morek
9095c3ed8a
fix: Make makeResident explicitly blocking on linux
...
Currently this call is blocking on Windows and
xe kmd, this commit also makes it blocking on i915.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-05-09 14:13:42 +02:00
Mateusz Hoppe
e8afccd071
fix: use IoctlHelperXe::create method
...
- create ioctl helper with dedicated method
Related-To: NEO-11160
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-05-07 21:05:04 +02:00
Bartosz Dunajski
e5882e0d31
feature: pass GraphicsAllocation to fence wait
...
Related-To: NEO-8179
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-05-07 17:59:28 +02:00
Young Jin Yoon
07aa53fd87
fix: disable scratch page by default only on PVC
...
Disabled scratch paged by default only on PVC with productHelper.
Related-To: GSD-7742
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2024-05-01 23:44:48 +02:00
Bartosz Dunajski
806da85ec6
refactor: prework to pass interrupt hint
...
Related-To: NEO-8179
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-04-29 11:14:53 +02:00
Maciej Bielski
ff494d5c50
feature: add tile-to-lmem-region map in MemoryInfo
...
Arguments names refreshed to be more explanatory.
Related-To: NEO-9754
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2024-04-26 15:16:03 +02:00
Bartosz Dunajski
2a2596c13b
refactor: pass additional data to ioctl helper
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-04-26 14:53:14 +02:00
Bartosz Dunajski
8e5f9e72c8
refactor: simplify waiting for fence logic
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-04-25 22:36:19 +02:00
Mateusz Jablonski
25bed07989
fix: correct calculating system shared memory size
...
do not exceed system memory region size when region is available
Related-To: HSD-18038050680
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-04-24 18:55:23 +02:00
Mateusz Jablonski
22bedda081
fix: handle GPU error in xe path
...
get DRM_XE_EXEC_QUEUE_GET_PROPERTY_BAN property and signal gpuHang based on this
Related-To: HSD-18038050680
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-04-24 10:29:39 +02:00
Maciej Bielski
8bef74133f
feature: add setupIpVersion for Xe
...
Related-To: NEO-10773
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2024-04-23 16:07:23 +02:00
Brandon Yates
11e13ee04d
fix: Wait indefinitely for vmbind fence when debugging
...
Related-to: NEO-9672
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-04-22 09:23:43 +02:00
Mateusz Jablonski
5d5f3b8d3d
refactor: remove not needed adjustment of timeout in xe path
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-04-19 15:40:03 +02:00
Maciej Bielski
07ac0809db
fix: put VRAM regions in the reporting order on xe
...
Related-To: NEO-11165
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2024-04-18 22:06:01 +02:00
Mateusz Hoppe
34544c35dc
refactor: add const and virtual to context methods
...
Related-To: NEO-10920
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-04-17 19:20:03 +02:00
Mateusz Jablonski
aa26694bad
refactor: remove not needed function
...
Related-To: NEO-11160
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-04-17 10:52:14 +02:00
Mateusz Jablonski
15d7a31148
refactor: add separate function to create IoctlHelperXe
...
unify ioctl helper xe logic
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-04-17 08:52:30 +02:00
Jaroslaw Warchulski
ca70bb99b2
refactor: reduce the number of DrmAllocation constructors
...
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com >
2024-04-16 15:37:09 +02:00
Maciej Bielski
c2b4699cb6
feature: Add mask of tiles to each memory region in Xe
...
* Derive that information from GT list
* Use it to compute local memory size given the mask of tiles to account
for
* Leverage IoctlHelper to dispatch execution (i915 vs Xe)
Related-To: NEO-9754
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2024-04-16 14:22:40 +02:00
Mateusz Jablonski
5b6acb4f3f
fix: ignore unrecognized topology type in xe path
...
Related-To: NEO-11125
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-04-15 12:16:38 +02:00
Mateusz Jablonski
ff4a919004
fix: correct gt id in context param engines in xe path
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-04-15 12:07:48 +02:00
Mateusz Jablonski
62390d3def
feature: add number of l3 banks to TopologyData
...
Related-To: NEO-11125
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-04-15 11:20:43 +02:00
Mateusz Jablonski
635d495767
fix: correct gtId when getting path to frequency files in xe path
...
Related-To: NEO-11111
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-04-15 10:44:06 +02:00
Mateusz Jablonski
27398c2b6f
fix: get timestamp frequency from default engine in xe path
...
Related-To: NEO-11111
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-04-15 10:36:08 +02:00
Mateusz Jablonski
b5435f7dfe
fix: store queried gt list data in ioctl helper xe
...
with this commit we query the info only once
Related-To: NEO-11111
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-04-12 12:20:34 +02:00
Mateusz Jablonski
8eb17a843b
fix: correct path to frequency files in xe path
...
Related-To: NEO-11111
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-04-12 11:49:48 +02:00
Mateusz Jablonski
5e8c71ca3d
refactor: remove not needed members from ioctl helper xe
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-04-12 11:35:54 +02:00
Morek, Szymon
016529ac12
performance: Set WB cache mode for sysmem
...
Related-To: NEO-10867
Signed-off-by: Morek, Szymon <szymon.morek@intel.com >
2024-04-12 09:01:56 +02:00
Mateusz Jablonski
cb2b572e94
feature: add support for null aub mode
...
In this mode AUB csr will be created, however, no aub file will be created
Related-To: NEO-11097
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-04-09 16:59:42 +02:00
Morek, Szymon
52411a1739
fix: Remove unrecoverable_if in IoctlHelperXe
...
This method is always called to check if
debugger is enabled.
Signed-off-by: Morek, Szymon <szymon.morek@intel.com >
2024-04-09 09:49:01 +02:00
Mateusz Jablonski
9468915768
fix: correct preemption support in xe path
...
preemption is always supported by xe kmd
Related-To: NEO-10496, HSD-18037744953
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-04-04 13:29:02 +02:00
Young Jin Yoon
907129bb33
feature: disable scratch page by default
...
Modified default values for disableScratch and gpuPageFault
to true and 10 respectively in drm_neo.cpp, in order to
disable scratch pages by default.
Modified to set gpuPageFault to 0 as a default value when
scratch page is not disabled.
Related-To: GSD-5673
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2024-04-04 09:50:02 +02:00
Mateusz Jablonski
420e1391b2
fix: handle not aligned gtt size reported by i915
...
when i915 reports gtt size between 47 and 48 bits we consider
it as 48 bit VA space
Related-To: GSD-8215
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-29 07:51:06 +01:00
Young Jin Yoon
d6a14d4ed5
feature: support explicit memory locking
...
Added lockMemory in context to explicitly locking memory,
Added a boolean flag in graphics_allocation to indicate the allocation
is locked, and modified memory_operations_handler to add lock().
Related-To: NEO-8277
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2024-03-29 07:31:22 +01:00
Krzysztof Gibala
2374ffa915
refactor: print errno from mmap and munmap calls
...
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2024-03-28 19:05:54 +01:00
Mateusz Jablonski
bcaa62bed3
build: refactor linux kernel headers
...
Add cmake flags to provide path to headers to drm / i915 /i915 prelim / xe
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-28 14:48:09 +01:00
Compute-Runtime-Validation
e3f50e8aa9
Revert "fix: handle not aligned gtt size reported by i915"
...
This reverts commit dae901c13f .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-03-28 12:03:23 +01:00
Mateusz Jablonski
3b1e6b61e4
fix: remove setting scratch page flag in xe path
...
Related-To: HSD-18037680815
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-28 09:16:48 +01:00
Mateusz Jablonski
dae901c13f
fix: handle not aligned gtt size reported by i915
...
when i915 reports gtt size between 47 and 48 bits we consider
it as 48 bit VA space
Related-To: GSD-8215
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-28 08:46:53 +01:00
Mateusz Jablonski
e435a5cac4
fix: correct timeout for xe user fence
...
Related-To: HSD-18037675531
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-28 08:34:24 +01:00
Mateusz Jablonski
34a80e915c
fix: correct xe kmd flag for bind capture
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-27 19:37:56 +01:00
Mateusz Jablonski
2eecf29278
fix: correct setting scratch page in xe path
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-27 16:44:21 +01:00
Maciej Plewka
b722f3b579
feature: Add interface to bind resources as readonly
...
Related-To: NEO-10398
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2024-03-27 14:24:58 +01:00
Mateusz Jablonski
3914f60c96
refactor: remove not needed hardcoded values in xe path
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-27 10:58:31 +01:00
Compute-Runtime-Validation
8e44a46983
Revert "feature: bind resources as read only"
...
This reverts commit f3d36d3350 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-03-27 08:51:47 +01:00
Mateusz Jablonski
5b6dd87fc3
refactor: remove not needed hardcoded values in xe path
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-27 07:21:50 +01:00
Mateusz Jablonski
0b57b0fb7a
fix: remove invalid hardcoded flags for vm create in xe path
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-26 21:36:19 +01:00
Mateusz Jablonski
1f96e6e251
fix: update uapi headers version to 6.8.1
...
source of files: https://git.kernel.org/stable/h/v6.8.1
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-26 16:08:32 +01:00
Maciej Plewka
f3d36d3350
feature: bind resources as read only
...
Related-to: NEO-10398
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2024-03-26 14:11:57 +01:00