Dominik Dabek
ac8dcdb298
fix: do not unregister shared allocation
...
Allocations imported from shared handle are not using registerAlloc in drm
manager but on free, unregister was called.
This could lead to problems with allocation size tracking.
This change will skip the unregisterAllocation call if allocation is
imported from shared handle.
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-10-02 16:32:24 +02:00
Mateusz Jablonski
14c8f1f15d
refactor: remove not used function
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-10-02 16:14:40 +02:00
Naklicki, Mateusz
516e502b8c
fix: remove obsolete workaround about memory locking
...
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2024-10-02 15:55:50 +02:00
Artur Harasimiuk
22505ca3ed
refactor: cleanup coding style
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2024-10-02 12:42:39 +02:00
Compute-Runtime-Validation
680e62d333
Revert "performance: Set dispatch all for small TG"
...
This reverts commit 0dc2870513 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-10-02 05:41:13 +02:00
Andrzej Koska
6abc5eb1a1
fix: using releaseHelper to determine MTP enablement
...
Related-To: NEO-12466
Signed-off-by: Andrzej Koska <andrzej.koska@intel.com >
2024-10-01 15:06:07 +02:00
Mateusz Jablonski
e4be88dff0
refactor: correct location of ioctl helper files
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-10-01 14:48:12 +02:00
Slawomir Milczarek
edeb7bdd4b
refactor: Allocate copy source for work partition allocation on heap
...
No perforamce impact expected since it is initialized once only,
but has the advantage of using custom allocator by overriding malloc.
Related-To: NEO-12846
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2024-10-01 13:32:55 +02:00
Kamil Kopryk
1378244415
refactor: improve readability
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-10-01 12:55:53 +02:00
Mateusz Jablonski
9819b1e2e4
refactor: remove not needed flag ftrGpGpuMidThreadLevelPreempt
...
the flag was used for mid thread preemption support on pre-gen12 platforms
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-10-01 12:52:12 +02:00
Mateusz Jablonski
bb8b376d30
feature: enable WMTP on LNL
...
Related-To: NEO-12648
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-10-01 12:31:20 +02:00
Szymon Morek
b2fd1972a4
fix: add cpu alloc to eviction list only once
...
Related-To: NEO-12572
Also, before migration to GPU domain, remove it from this list
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-10-01 11:47:32 +02:00
Mateusz Jablonski
9db83b8231
refactor: unify isMidThreadPreemptionSupported function
...
mid thread preemption can be enabled only by ftrWalkerMTP flag
pre-Xe2 devices doesn't support MTP
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-10-01 11:26:04 +02:00
Lukasz Jobczyk
f87c3b57bb
refactor: Add AIL infrastructure to disable 256B Prefetch
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-10-01 11:19:04 +02:00
Mateusz Jablonski
da8ce85f0a
fix: correct preemption surface size when getting wmtp sip from igc
...
when SIP kernel is taken from IGC then state save area header
describes preemption surface size required for the SIP kernel
Related-To: NEO-12826
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-10-01 11:06:58 +02:00
Dominik Dabek
752f313808
fix: limit allocation cache memory wastage
...
Allocations over a certain size will be checked for memory utilization
when chosen for reuse.
If utilization is below a threshold, they will not be reused.
Related-To: NEO-6893
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-10-01 09:49:19 +02:00
Filip Hazubski
72cf384c7d
refactor: Fix typo
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2024-10-01 09:31:02 +02:00
Lukasz Jobczyk
0dc2870513
performance: Set dispatch all for small TG
...
Resolves: NEO-11814
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-10-01 09:28:55 +02:00
Compute-Runtime-Validation
ef1b569a85
Revert "performance: Do not create global fence allocation on integrated"
...
This reverts commit 6bf5183eff .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-10-01 08:14:39 +02:00
Mateusz Jablonski
8c1685b93c
fix: change default gen12lp preemption mode to thread group
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-30 19:19:46 +02:00
Bartosz Dunajski
b8fd1bda36
feature: use sysInfo helper to detect memory type
...
Related-To: NEO-12807
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-09-30 18:19:42 +02:00
Jitendra Sharma
733ca5ac28
fix: Write tail index even for fifo wrap around case
...
Related-To: NEO-7990
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2024-09-30 18:19:28 +02:00
Lukasz Jobczyk
6bf5183eff
performance: Do not create global fence allocation on integrated
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-09-30 13:13:27 +02:00
Compute-Runtime-Validation
f03550487f
Revert "fix: add cpu alloc to eviction list only once"
...
This reverts commit dfc863c7c1 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-09-28 11:50:36 +02:00
Compute-Runtime-Validation
f2b9d1ecf3
Revert "feature: enable WMTP on LNL"
...
This reverts commit 7adf9ad32a .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-09-28 10:28:12 +02:00
Compute-Runtime-Validation
4f96b6132f
Revert "feature: capture multiple cpu pagefault handler"
...
This reverts commit 4b3a6e9cfe .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-09-28 07:53:30 +02:00
Compute-Runtime-Validation
6cb0e45330
Revert "performance: Do not create global fence allocation on integrated"
...
This reverts commit 50eb6af9ac .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-09-27 11:48:01 +02:00
Mateusz Jablonski
7adf9ad32a
feature: enable WMTP on LNL
...
Related-To: NEO-12648
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-27 09:45:10 +02:00
Lukasz Jobczyk
50eb6af9ac
performance: Do not create global fence allocation on integrated
...
Resolves: NEO-12324
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-09-27 09:32:42 +02:00
Young Jin Yoon
4b3a6e9cfe
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-27 00:34:45 +02:00
Illia Vysochyn
f062194669
fix: Remove INLINE_DATA structure
...
Related-To: NEO-12706
Signed-off-by: Illia Vysochyn <illia.vysochyn@intel.com >
2024-09-26 19:58:54 +02:00
Szymon Morek
dfc863c7c1
fix: add cpu alloc to eviction list only once
...
Related-To: NEO-12572
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-09-26 19:49:59 +02:00
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
Lukasz Jobczyk
c93998bcb9
performance: Do not program additional synchronization on integrated
...
Related-To: NEO-12324
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-09-26 10:54:31 +02:00
Bartosz Dunajski
5b1bd4b088
refactor: dont mix aub and hw wait prints
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-09-26 08:51:23 +02:00
Compute-Runtime-Validation
9a326287c7
Revert "feature: enable global bindless allocator on xe2hpg"
...
This reverts commit 2f4d240779 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-09-26 05:54:23 +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
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
Mateusz Jablonski
3a082c9997
fix: adjust wmtp feature flag in configureHardwareCustom method
...
this allows to adjust the flag independently on driver model type
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-25 15:51:39 +02:00
Mateusz Hoppe
8000133b2a
refactor: add method to adjust regular context count
...
Related-To: NEO-12258
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-09-25 13:46:46 +02:00
Mateusz Hoppe
2f4d240779
feature: enable global bindless allocator on xe2hpg
...
Related-To: NEO-7063, NEO-11533
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-09-25 12:36:00 +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
Compute-Runtime-Validation
47ef854665
Revert "refactor: remove not needed code"
...
This reverts commit 1eb5e945dc .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-09-24 19:13:20 +02:00
Compute-Runtime-Validation
297d98e456
Revert "feature: enable WMTP support on LNL"
...
This reverts commit fa4a1a5f1f .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-09-24 16:49:44 +02:00
Lukasz Jobczyk
9185760a0e
performance: Enable timestamp wait for queues on Xe2
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-09-24 14:55:26 +02:00
Mateusz Jablonski
1eb5e945dc
refactor: remove not needed code
...
Related-To: NEO-12648
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-24 14:50:38 +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
Mateusz Jablonski
fa4a1a5f1f
feature: enable WMTP support on LNL
...
Related-To: NEO-12648
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-24 13:59:30 +02:00
Mateusz Jablonski
658a0667d4
fix: add missing command buffer header translation for WSL in WDDM2.3 case
...
Related-To: NEO-12648
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-24 13:40:17 +02:00
Radoslaw Jablonski
c53393152a
fix: remove Systolic field from Xe2 Compute Walker
...
The field has been removed from Xe2.
Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com >
2024-09-24 13:40:03 +02:00