Mateusz Jablonski
bc5237ca8a
feature: add support for query l3 bank count in xe-prelim
...
Related-To: NEO-11125
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-11 11:28:43 +02:00
Mateusz Jablonski
dfbad8029b
feature: add support for SIMD16 EU per DSS to xe-prelim helper
...
Related-To: NEO-12012
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-10 15:35:46 +02:00
Slawomir Milczarek
bf5953c091
feature: Add ioctl helper function to set external context
...
Related-To: NEO-11817
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2024-09-05 15:21:26 +02:00
Mateusz Jablonski
512dac67fa
test: move xe specific mocks to shared/test/common
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-08-30 11:22:58 +02:00
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
Bartosz Dunajski
c42d0fbe49
refactor: improve xe mock engine testing
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-08-08 12:37:31 +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
Mateusz Jablonski
5a339aeb2c
test: define mock drm xe in cpp file
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-08-02 14:36:16 +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
e24acc6155
fix: ensure memory info is queried before querying engine info
...
initialization of engine info relies on memory info data
Related-To: NEO-12073
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-26 09:28:50 +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
Brandon Yates
3c51cea04a
test: Add test for xe debug user fence wait
...
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-07-17 07:40:35 +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
e2dcd8909c
test: remove xe debugger from test that is executed without xe debugger
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-11 15:25:34 +02:00
Maciej Bielski
005b273b1e
test: stop abusing ctors in DrmMockCustom and derived types
...
Calling virtual functions from within constructors is incorrect, the
virtualization mechanism does not work until a constructor completes.
So, instead of performing many operations in constructors, make them
small and use static `create()` methods to construct the object properly
and only then perform additional setup.
Mocks are a prominent example how such practice degrades the code.
A function called from a constructor is basically unmockable. Despite
being overriden by derived type (to alter the execution path as per
needs of a given test-case) the parent versions are always called.
This was making test development more and more painful as at some point
there is no hack to compensate for the lack of standard mechanism.
Related-To: NEO-9754
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2024-07-10 08:34:09 +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
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
da9c009b88
feature: assign unique interrupt to queue
...
Related-To: NEO-8179
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-06-07 10:06:31 +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
Maciej Bielski
dafaaf5f7d
fix: add hasEngines() to check for engines detection
...
Related-To: NEO-9754
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2024-05-22 13:51:53 +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
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
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
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