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
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
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
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
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
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
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
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
Brandon Yates
87022c31d3
feature: Register critical section metadata for xe debugger
...
Related-to: NEO-9161
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-03-25 20:56:08 +01:00
Mateusz Hoppe
72725e6ba9
feature: set priority for lowPriority contexts
...
Related-To: NEO-10168
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-03-25 20:19:43 +01:00
Young Jin Yoon
068f6a25c6
Revert "feature: support explicit memory locking"
...
This reverts commit 27a3307bb0
.
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2024-03-25 20:10:20 +01:00
Mateusz Hoppe
fd34df899c
refactor: add function to fill context properties in xe
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-03-25 11:30:49 +01:00
Young Jin Yoon
27a3307bb0
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().
Change the logic to work correctly with makeResident() when lock() is
called previously for the same memory region
Related-To: NEO-8277
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2024-03-25 09:49:18 +01:00
Mateusz Jablonski
8d38a0c726
fix: remove not needed hardcoded caps reported by ioctl helper xe
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-22 19:00:28 +01:00
Mateusz Jablonski
d94be09020
refactor: remove not needed check for exec softpin
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-22 17:30:49 +01:00
Mateusz Jablonski
97a0b25162
fix: remove not needed check for context id
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-22 16:00:13 +01:00
Mateusz Jablonski
8e6240ac70
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-22 15:59:56 +01:00
Compute-Runtime-Validation
a75db375a1
Revert "fix: remove hardcoded caps reported by ioctl helper xe"
...
This reverts commit 0b2e8e2848
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-03-22 15:15:19 +01:00
Mateusz Jablonski
0b2e8e2848
fix: remove hardcoded caps reported by ioctl helper xe
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-22 10:41:54 +01:00
Mateusz Jablonski
4df0dd7894
fix: remove hardcoded caps reported by ioctl helper xe
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-21 21:09:20 +01:00
Mateusz Jablonski
92d37b20a6
fix: setup gpu address space based on config info from xe kmd
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-21 18:49:19 +01:00
Mateusz Jablonski
1e343053ba
refactor: remove redundant recreating vector of engines in xe kmd path
...
make ContextParamEngine structure more generic and populate engines
by drm specific methods
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-21 17:55:39 +01:00
Mateusz Jablonski
6b33d91140
fix: remove not needed check for context param engine count
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-18 13:17:05 +01:00
Mateusz Jablonski
e21180992f
fix: remove not needed check for engine instance count
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-15 16:16:21 +01:00
Mateusz Jablonski
0270cd6a5b
fix: respect gt id when getting engines for drm context under xe kmd
...
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-15 16:02:47 +01:00
Compute-Runtime-Validation
94cc48f81b
Revert "fix: don't use fake userptr flag in ioctl helper xe"
...
This reverts commit d3ab256f55
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-03-15 03:08:01 +01:00
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
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