Mateusz Jablonski
3e96dcf969
refactor: move eu per dss topology type detection to separate file
...
Related-To: NEO-12012
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-08-23 18:07:43 +02:00
Compute-Runtime-Validation
006285105d
Revert "fix: allow using recoverable pagefaults on xekmd"
...
This reverts commit 4404d0c6b8 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-08-20 05:38:00 +02:00
Naklicki, Mateusz
4404d0c6b8
fix: allow using recoverable pagefaults on xekmd
...
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2024-08-19 15:56:55 +02:00
Naklicki, Mateusz
1317aa539b
fix: unblock xekmd recoverable pagefaults vmbind
...
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2024-08-14 10:46:45 +02:00
Compute-Runtime-Validation
a860adc457
Revert "fix: unblock xekmd recoverable pagefaults vmbind"
...
This reverts commit cc3e6d5055 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-08-09 14:17:41 +02:00
Naklicki, Mateusz
cc3e6d5055
fix: unblock xekmd recoverable pagefaults vmbind
...
Related-To: HSD-13011898606
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2024-08-09 09:10:27 +02:00
Maciej Bielski
e434c5595f
feature: get HW IP version from drm_xe_gt
...
Make use of `drm_xe_gt` members to determine HW IP version when running
with XeKMD. Fall back to current values when the respective ioctl call
does not provide relevant information.
Related-To: NEO-10773
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2024-08-08 12:06:54 +02:00
Bartosz Dunajski
a04cf31110
refactor: improve engine query
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-08-07 18:22:26 +02:00
Mateusz Jablonski
07a11e640f
refactor: include xe header in dedicated namespace
...
avoid redefinition issue in case of integrating multiple xe drm versions
define mock drm xe in inl file to provide xe definitions for mock members
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-08-01 14:38:20 +02:00
Naklicki, Mateusz
d9dec7acfc
fix: improve reported flag names for binding process in xe
...
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2024-07-29 18:08:13 +02:00
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