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
Andrzej Koska
d4f59c1b09
feature: Enabling Blitter Remapping for REGISTER_MEM
...
Related-To: NEO-11934
Signed-off-by: Andrzej Koska <andrzej.koska@intel.com >
2024-09-11 09:14:44 +02:00
Mateusz Jablonski
1c15fa5c70
fix: correct thread-safety in removing from bind info vector in xe path
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-11 02:49:27 +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
Fabian Zwoliński
ea5b586c37
fix: move pathExists out of sys calls and do not mock it
...
Moved pathExists from SysCalls to path.h.
In ULTs, use unchanged pathExists and mock stat, getFileAttributesA instead.
Add Windows and Linux ULTs for pathExists.
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com >
2024-09-10 19:24:45 +02:00
Bartosz Dunajski
9bdd7b784a
fix: remove not needed cooperative kernel checks
...
Related-To: HSD-18039871488
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-09-10 18:32:20 +02:00
Kamil Kopryk
49a2050312
test: correct drm ults if heapless is enabled
...
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-09-10 18:12:29 +02:00
Dominik Dabek
b2fc7345cf
performance: redesign usm alloc reuse mechanism
...
Dedicated pools for different allocations size ranges.
Additional reused allocations will create their own pools.
Do not reuse allocations >256MB.
Related-To: NEO-6893, NEO-12299, NEO-12349
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-09-10 18:12:14 +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
Bartosz Dunajski
4f1262645b
refactor: pass extra walker params
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-09-10 15:30:03 +02:00
Kamil Kopryk
deb0fd8f6e
build: use stateless options suffix if heapless enabled in test kernels
...
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-09-10 13:31:01 +02:00
Mateusz Hoppe
a6bf424417
refactor: determine hp copy engine once after gfx core helper is created
...
- do not determine engine on every call to getDefaultHpCopyEngine()
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-09-10 10:00:48 +02:00
Kamil Kopryk
c7a6a74e4e
test: correct expectations in opencl tests if heapless enabled 4/4
...
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-09-10 09:22:41 +02:00
Damian Tomczak
41e24635e3
fix: correct maxMemAllocSize
...
Resolves: NEO-11857
Signed-off-by: Damian Tomczak <damian.tomczak@intel.com >
2024-09-10 09:15:18 +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
Lukasz Jobczyk
fa61b92cfb
fix: Don't use copy rect middle on LNL Windows
...
Resolves: HSD-18039890120
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-09-10 06:34:15 +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
e30b8c0300
fix: windows cl_cache fixes and improvements
...
Fixed the function that checks if a directory exists.
Added debug message in case config file creation fails.
Simplified setting pattern for searching all files in a directory.
Adding file search loop skip when found file is a directory.
Fixes : #762
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com >
2024-09-09 19:25:52 +02:00
Bartosz Dunajski
dd8460beba
refactor: reduce TBX download timeout for unit tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-09-09 19:05:03 +02:00
Zbigniew Zdanowicz
0628d97ee1
feature: update processing kernel residency
...
- save position of kernel internal container when allocation can change
- reuse the same position when new allocation arrives
- add index container for additional allocation of image argument
- save position of additional allocation of image argument
- reuse position when for new image argument
Related-To: NEO-11719
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-09-09 14:10:02 +02:00
Zbigniew Zdanowicz
0f5d9fbb65
performance: replace method calls with constexpr function
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-09-06 15:21:42 +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
Kamil Kopryk
95b035a071
fix: global stateless heap creation in heapless path
...
Related-To: NEO-10681
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-09-05 16:56:00 +02:00
Andrzej Koska
b0e7a11e9a
refactor: Improving information transfer about the copy engine
...
Related-To: NEO-11934
Signed-off-by: Andrzej Koska <andrzej.koska@intel.com >
2024-09-05 16:11:52 +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
Kamil Kopryk
6d7e2760dc
refactor: correct expectations in level zero tests if heapless enabled 3/n
...
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-09-03 15:11:59 +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
Kamil Kopryk
d79889c3b2
test: correct expectations in opencl tests if heapless enabled 2/n
...
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-09-03 11:14:17 +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
Compute-Runtime-Validation
5569ebbe1f
Revert "feature: capture multiple cpu pagefault handler"
...
This reverts commit 44f2912195 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-09-03 05:18:26 +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
Young Jin Yoon
44f2912195
feature: capture multiple cpu pagefault handler
...
Recorded multiple page fault handlers by using vector in
cpu_page_fault_manager_linux.
Added a static handlerIndex in order to track the depth of
handler logic to call appropriate previous handlers.
Related-To: NEO-11563
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2024-09-02 16:46:35 +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
Mateusz Hoppe
ae3edba369
feature: limit contexts in group based on number of CCS engines
...
Related-To: NEO-12258, HSD-14023076222
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-08-30 19:55:31 +02:00
Michal Mrozek
ce3cb71773
performance: add debug flag to control timestamp caching
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2024-08-30 16:32:06 +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
c934877790
refactor: remove not needed function
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-08-30 12:18:14 +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