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
Compute-Runtime-Validation
fbabe203c1
Revert "fix: update completion data after makeResident"
...
This reverts commit 13ec7ad32a .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-08-31 20:54:02 +02:00
Compute-Runtime-Validation
d3f32358e9
Revert "performance: Optimize heap handling when mitigate dc flush"
...
This reverts commit 452f4b1dd1 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-08-31 06:03:18 +02:00
Mateusz Jablonski
4bf8e6de2e
test: correct expectation for pat index in bind test
...
Related-To: NEO-10158
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-08-30 20:16:13 +02:00
Szymon Morek
13ec7ad32a
fix: update completion data after makeResident
...
Completion data can't be updated when makeResident fails
Resources could have updated state but paging fence remains the same.
Wait on paging fence during freeing these resources might result in hang.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-08-30 13:29:48 +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
Szymon Morek
df859c6d4a
fix: skip always resident allocations during trim
...
Related-To: NEO-12461
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-08-30 11:22:44 +02:00
Lukasz Jobczyk
452f4b1dd1
performance: Optimize heap handling when mitigate dc flush
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-08-30 10:54:54 +02:00
Compute-Runtime-Validation
63528e70a7
Revert "performance: Optimize heap handling when mitigate dc flush"
...
This reverts commit 1a8149e91c .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-08-30 05:59:25 +02:00
Mateusz Jablonski
4536a1b890
fix: unify clos support on PVC
...
add helper for matching all platforms except selected ones
add matchers for clos support
Related-To: NEO-10158
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-08-29 18:40:51 +02:00
Lukasz Jobczyk
1a8149e91c
performance: Optimize heap handling when mitigate dc flush
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-08-29 17:03:55 +02:00
Compute-Runtime-Validation
2d8397a36f
Revert "fix: skip always resident allocations during trim"
...
This reverts commit c9457bb5eb .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-08-29 15:57:37 +02:00
Kamil Kopryk
6c9a96e4dc
test: correct expectations in ocl tests if heapless enabled 1/n
...
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-08-29 12:54:27 +02:00
Lukasz Jobczyk
5aa5d40937
performance: Mitigate dc flush on LNL Windows
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-08-28 13:35:17 +02:00
Szymon Morek
c9457bb5eb
fix: skip always resident allocations during trim
...
Related-To: NEO-12461
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-08-27 15:04:50 +02:00
Compute-Runtime-Validation
ad0d6f5435
Revert "refactor: Add dc flush mitigation infrastructure"
...
This reverts commit e4412e385a .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-08-27 02:35:06 +02:00
Lukasz Jobczyk
e4412e385a
refactor: Add dc flush mitigation infrastructure
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-08-26 10:38:56 +02:00
Compute-Runtime-Validation
956dd8e17d
Revert "fix: set properly resource params when setAllocationType"
...
This reverts commit 2e0884a301 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-08-24 05:01:38 +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
Katarzyna Cencelewska
2e0884a301
fix: set properly resource params when setAllocationType
...
gmm params: usage, cachable and resource info
should be set properly when override allocation type
Resolves: HSD-22020344331
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2024-08-23 16:57:23 +02:00
Kamil Kopryk
78758b9f89
test: set ccs and rcs exposure in ults
...
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-08-23 15:28:34 +02:00
Bartosz Dunajski
aeb5e0d5ad
fix: pass vm_id to createMediaContext
...
Related-To: NEO-9777
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-08-23 12:53:39 +02:00
Szymon Morek
b8f181d50e
performance: remove trim candidate list
...
Related-To: NEO-11755
Removing trim candidate list reduces overhead
caused by residency handling. Allocations required
for eviction are placed in eviction container managed
by CSR.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-08-23 12:21:50 +02:00