Mateusz Jablonski
b488799e85
feature: add support for new vm bind flags based on upstream xe kernel
...
support for DRM_XE_VM_BIND_FLAG_IMMEDIATE and DRM_XE_VM_BIND_FLAG_READONLY
Fixes : #717
Related-To: NEO-10958
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-25 12:43:54 +02:00
Wenbin Lu
357a607d22
refactor: correct the naming of some topology-related variables
...
Related-To: NEO-9489
Signed-off-by: Wenbin Lu <wenbin.lu@intel.com >
2024-07-24 08:39:12 +02:00
Compute-Runtime-Validation
ae68df3832
Revert "fix: unblock xekmd recoverable pagefaults vmbind"
...
This reverts commit 8f4472a26c .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-07-23 16:48:15 +02:00
Naklicki, Mateusz
8f4472a26c
fix: unblock xekmd recoverable pagefaults vmbind
...
Related-To: HSD-13011898606
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2024-07-23 12:00:25 +02:00
Brandon Yates
4513e42ddb
build: Update to latest eudebug xe uapi
...
Remove implementation of some unused and removed
uapis
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-07-22 10:01:44 +02:00
Katarzyna Cencelewska
2d1f4e6214
fix: use WB for cpu caching only if system memory
...
affect xe kmd only
Related-To: NEO-11690
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2024-07-17 15:35:08 +02:00
Mateusz Jablonski
48d6788b3a
fix: add fallback for missing eu count in topology
...
for xe kmd there will be new query for EU per DSS for PVC, LNL, BMG platforms
when new query is available, previous one (currently used in NEO) will be empty
To avoid integration issues this commit adds fallback to setup that value based
on max eu per dss that we get from GuC in device blob
Support for new query is in PR https://github.com/intel/compute-runtime/pull/745
Related-To: NEO-12012
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-17 14:31:29 +02:00
Mateusz Jablonski
64f2312aa0
refactor: setup engine capabilities in drm specifc code
...
once drm specific code queries engine info, caps are stored in drm-agnostic form
Related-To: NEO-10445
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-15 11:00:15 +02:00
Joshua Santosh Ranjan
2e5bf8d24d
fix: remove perf open from the initialization path
...
Related-To: NEO-11975
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2024-07-15 10:17:53 +02:00
Mateusz Jablonski
3f65f75cc3
refactor: unify EngineInfo ctors
...
remove redundant constructor
create helper struct for numbers of engines
adjust test scopes
Related-To: NEO-10445
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-11 17:08:15 +02:00
Mateusz Jablonski
51a9aa792f
refactor: pass engine capabilities to all EngineInfo ctors
...
Related-To: NEO-10445
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-11 09:29:17 +02:00
Bartosz Dunajski
9ea6b0322e
refactor: add missing PrintBOCreateDestroyResult prints
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-07-08 15:35:11 +02:00
Bartosz Dunajski
bb21d25ed0
feature: initial support for creating media context
...
Related-To: NEO-11386
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-07-03 12:23:31 +02:00
Maciej Bielski
5188ab8909
refactor: ioctlHelperXe::createDrmContext
...
Ease code reusability.
Related-To: NEO-9754
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2024-07-03 10:52:00 +02:00
Brandon Yates
a432bdecc1
refactor: Reorganize xe debugger includes
...
Related-to: NEO-11365
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-07-02 12:28:11 +02:00
Compute-Runtime-Validation
2800282bdb
Revert "fix: unblock xekmd recoverable pagefaults vmbind"
...
This reverts commit 5e144dae16 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-06-25 18:09:25 +02:00
Naklicki, Mateusz
5e144dae16
fix: unblock xekmd recoverable pagefaults vmbind
...
Related-To: HSD-13011898606
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2024-06-25 13:23:48 +02:00
Mateusz Hoppe
cd3219d092
feature: add debug key to set vmBind userFence wait timeout
...
- VmBindWaitUserFenceTimeout
Related-To: NEO-11219
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-06-19 15:01:30 +02:00
Brandon Yates
a7dc19cf9a
build: Update xe debug uapi header
...
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-06-11 10:19:10 +02:00
Aravind Gopalakrishnan
1cca55624b
feature: Retrieve CXL type info from drm query
...
Related-To: NEO-11362
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2024-06-10 11:00:20 +02:00
Bartosz Dunajski
455f74991e
feature: pass interrupt flag to queue creation api
...
Related-To: NEO-8179
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-06-06 12:36:21 +02:00
Compute-Runtime-Validation
1731c09d3a
Revert "fix: add missing pagefault support query on XeKMD"
...
This reverts commit 50dfe33efa .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-06-04 22:46:01 +02:00
Naklicki, Mateusz
50dfe33efa
fix: add missing pagefault support query on XeKMD
...
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2024-06-04 15:47:14 +02:00
Neil R. Spruit
960664f352
feature: Enable EuStall Metrics with xeKMD
...
Related-To: NEO-9645
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com >
2024-05-31 11:04:12 +02:00
Mateusz Jablonski
134702b38c
feature: introduce mechanism for detecting new vm bind flags support in xe path
...
https://github.com/intel/compute-runtime/pull/717
Related-To: NEO-10958
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-05-23 14:29:09 +02:00
Katarzyna Cencelewska
12d1bce6b9
fix: change gmm resource for externalHostPtr
...
Resolves: NEO-10157
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2024-05-22 16:50:17 +02:00
Compute-Runtime-Validation
94a4bbac57
Revert "fix: change gmm resource for externalHostPtr"
...
This reverts commit 63843862df .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-05-21 07:43:53 +02:00
Katarzyna Cencelewska
63843862df
fix: change gmm resource for externalHostPtr
...
Resolves: NEO-10157
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2024-05-21 00:43:29 +02:00
Bartosz Dunajski
986ec4f7cc
refactor: add functions to store extra engines
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-05-20 10:46:23 +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
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
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
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
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