Mateusz Jablonski
168ed4af54
fix: improve reducing wmtp support on Xe2 platforms
...
don't disable wmtp based on ftr flag, instead use compiler product helper
Related-To: NEO-12648
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-26 19:15:42 +02:00
Mateusz Jablonski
9b7ac3a71e
fix: correct querying number of slices in xe path
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-25 19:16:41 +02:00
Mateusz Jablonski
c7db84930c
test: fix test compilation issues with clang18
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-25 18:09:25 +02:00
Mateusz Jablonski
d3432c6b2b
fix: respect max subslice count when parsing subslice info in xe path
...
don't parse more data than max subslice count
setup slice count based on slice indices size
unify get topology map and get topology data methods to reduce
loop iterations
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-25 17:01:05 +02:00
Szymon Morek
468e309e11
fix: call evict under lock
...
Related-To: NEO-12657
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-09-25 10:26:01 +02:00
Mateusz Jablonski
f8e77d5f43
fix: remove check for xe vmbind flags support
...
bind immediate and readonly flags are already available in upstream
Related-To: NEO-12774
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-24 14:33:31 +02:00
Maciej Plewka
80f75ceace
fix: submit dummy exec to pin memory during zeContextMakeMemoryResident call
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2024-09-23 14:43:59 +02:00
Slawomir Milczarek
354bef70ac
feature: Add ioctl helper function to get fence address
...
Related-To: NEO-11817
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2024-09-20 19:30:10 +02:00
Wojciech Konior
c1edd23fd2
test: removing isEngineInstanced from tests
...
Related-To: NEO-12594
Signed-off-by: Wojciech Konior <wojciech.konior@intel.com >
2024-09-20 15:08:12 +02:00
Mateusz Jablonski
18a7a5f6fa
refactor: update hw cmds base from gen8 to gen12lp
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-19 18:07:46 +02:00
Lukasz Jobczyk
a890ed5648
performance: Ensure hostptrs removed before creating new one
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-09-19 14:34:19 +02:00
Compute-Runtime-Validation
e4d2f16632
Revert "performance: Ensure hostptrs removed before creating new one"
...
This reverts commit ac1d203555 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-09-18 19:31:34 +02:00
Lukasz Jobczyk
ac1d203555
performance: Ensure hostptrs removed before creating new one
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-09-18 14:23:16 +02:00
Jitendra Sharma
25f2504bf5
fix: set eudebug extension property when debugging enabled
...
In order to debug on XE, XE_EXEC_QUEUE_SET_PROPERTY_EUDEBUG
needs to be set up.
Related-To: NEO-12691
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2024-09-18 08:32:03 +02:00
Mateusz Jablonski
86a088e13f
feature: move L3 bank query from xe-prelim to xe-nonprelim path
...
Related-To: NEO-11125
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-17 18:14:17 +02:00
Lukasz Jobczyk
64c935a594
fix: Do not defer external hostptr destroy
...
Resolves: NEO-12567
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-09-17 14:54:01 +02:00
Mateusz Jablonski
7e218a5f70
test: simplify IsAtLeastGen12lp and IsAtMostGen12lp matchers
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-17 13:42:19 +02:00
Young Jin Yoon
4b132245d1
fix: use immediate for makeMemoryResident
...
Modified to enable immediate flag when resident boolean
is true for vm_bind
Related-To: NEO-8277
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2024-09-17 07:48:58 +02:00
Mateusz Jablonski
4f715c9b6a
test: remove not needed tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-16 18:45:46 +02:00
Dominik Dabek
e0a14f6076
test: allow any igc indirect detection version
...
Check detection enabled correctness instead of version number.
Related-To: NEO-12491
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-09-16 12:13:32 +02:00
Dominik Dabek
39aa702806
fix: disable usm host recycle, PVC
...
Related-To: NEO-12633
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-09-16 06:37:33 +02:00
Dominik Dabek
3bd2befe74
refactor: indirect detection helpers, VC
...
Allow for different required version for VC compiled kernels.
Define constant for detection disabled.
Related-To: NEO-12491
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-09-13 19:42:57 +02:00
Kamil Kopryk
d016c41825
test: skip drm command stream multi tile mem exec ults if heapless
...
Related-To: NEO-12653
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-09-13 16:35:10 +02:00
Kamil Kopryk
20c4a75171
test: correct expectation in ults if heapless enabled
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-09-13 09:57:26 +02:00
Chandio, Bibrak Qamar
27c7fbc611
feature: set error description in os_interface/linux
...
Added setErrorDescription for drm_buffer_object, drm_memory_manager,
and ioctl_helper_prelim
Related-To: NEO-12456
Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com >
2024-09-12 18:48:41 +02:00
Michal Mrozek
dd631610b3
refactor: move memory tracking to memory manager
...
- remove wddm specific code
- improve total size reported to be in decimal
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2024-09-12 17:32:38 +02:00
Michal Mrozek
da59b88122
refactor: improve logging of allocations
...
add capability to measure total amount of allocated memory
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2024-09-12 11:00:27 +02:00
Kamil Kopryk
d18d58d4f7
test: correct expectations in ults if heapless enabled
...
Related-To: NEO-10681
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-09-12 09:20:47 +02:00
Michal Mrozek
7cba813c81
refactor: improve logging by adding size.
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2024-09-11 20:33:55 +02:00
Dominik Dabek
571d703135
refactor: indirect detection helpers
...
Check indirect detection version from igc header for JIT.
Move required version to its own method.
This allows for different required versions per platform.
Related-To: NEO-12491
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-09-11 14:49:54 +02:00
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
Kamil Kopryk
f080d985aa
test: correct DrmCommandStreamMultiTileMemExecFixture
...
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-09-11 09:47:32 +02:00
Young Jin Yoon
675ec13439
fix: add rootDeviceIndex for BufferObjectHandleWrapper
...
Modified sharedBoHandles to use the (boHandle, rootDeviceIndex) pair
as a key instead of boHandle, and added rootDeviceIndex variable in
the BufferObjectHandleWrapper class of drm_buffer_object.h.
Previously sharedBoHandles uses boHandle as a key. However, this will
not work with the system using multiple devices, because each devices
can return the same handle to refer different memory region.
Related-To: GSD-9024
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2024-09-10 19:27:19 +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
Wenbin Lu
7ac991fa3f
fix: add workaround for incorrect DRM system info
...
Related-To: NEO-9489
Signed-off-by: Wenbin Lu <wenbin.lu@intel.com >
2024-09-10 08:48:01 +02:00
Wenbin Lu
bfaeeb01d6
feature: support SVM heap in reserveVirtualMem
...
Related-To: NEO-11981
Signed-off-by: Wenbin Lu <wenbin.lu@intel.com >
2024-09-09 23:22:04 +02:00
Fabian Zwoliński
38e1614f4a
fix: create and use new allocation type for syncBuffer
...
Related-To: NEO-11533
Related-To: HSD-18039788811
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com >
2024-09-06 14:11:33 +02:00
Lukasz Jobczyk
a54a3bf624
performance: Optimize heap handling when mitigate dc flush
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-09-06 04:33:41 +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
Szymon Morek
80ef56ef4a
fix: Fix residency handling when out-of-memory occurs
...
Related-To: NEO-12434 , NEO-11755
When OOM was triggered from KMD then reiterate
over allocations again since allocations which
should be resident could be evicted during trim process.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-09-05 13:23:37 +02:00
Compute-Runtime-Validation
a8be06b92e
Revert "performance: enable indirect detection, xe hpg"
...
This reverts commit a7c4256e65 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-09-05 03:35:23 +02:00
Compute-Runtime-Validation
d842f65cf1
Revert "fix: submit dummy exec to pin memory during zeContextMakeMemoryReside...
...
This reverts commit f9b87d53e6 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-09-05 03:28:03 +02:00
Dominik Dabek
a7c4256e65
performance: enable indirect detection, xe hpg
...
Enable for xe hpg and lpg.
Related-To: NEO-12491
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-09-04 16:57:54 +02:00
Maciej Plewka
f9b87d53e6
fix: submit dummy exec to pin memory during zeContextMakeMemoryResident call
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
Related-To: NEO-11879
2024-09-04 14:07:29 +02:00
Naklicki, Mateusz
2db6955296
performance: remove excessive ioctl call
...
Related-to: HSD-18039694684
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2024-09-04 10:07:56 +02:00
Compute-Runtime-Validation
99f62ac866
Revert "feature: support SVM heap in reserveVirtualMem"
...
This reverts commit 93cde3ee12 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-09-03 20:20:25 +02:00
Wenbin Lu
93cde3ee12
feature: support SVM heap in reserveVirtualMem
...
Related-To: NEO-11981
Signed-off-by: Wenbin Lu <wenbin.lu@intel.com >
2024-09-03 11:38:51 +02:00
Compute-Runtime-Validation
dc84b163b5
Revert "performance: Optimize heap handling when mitigate dc flush"
...
This reverts commit 9249c5c65c .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-09-03 08:33:20 +02:00
Szymon Morek
e6abfafa16
fix: drain paging fence queue before waiting for resources
...
Related-To: NEO-12197
If ULLS controller waits for CSR lock, and driver must
wait for resources due to OOM, then draing paging fence queue
directly
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-09-03 07:45:25 +02:00
Lukasz Jobczyk
9249c5c65c
performance: Optimize heap handling when mitigate dc flush
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-09-02 18:12:19 +02:00