Maciej Plewka
a5e19330e9
fix: lock csr before locking residency controller in trim to budget path
...
Lock on csr is needed before lock on residency controller to prevent
incorrect lock order. Csr may be locked in waitOnCpu called from trimToBudget,
which may lead to deadlocks
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2025-03-28 16:18:20 +01: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
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
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
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
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
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
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
Szymon Morek
7ebf2e1994
performance: unlock shared mutex during evict
...
Related-To: NEO-11755
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-08-09 10:35:12 +02:00
Maciej Plewka
18ea80865b
refactor: Use GPU VA as id for ResidencyDebug logs
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2024-05-23 09:55:03 +02:00
Compute-Runtime-Validation
0cd45fcb2e
Revert "refactor: Use GPU VA as id for ResidencyDebug logs"
...
This reverts commit 3a0b8825d6 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-05-22 17:28:57 +02:00
Maciej Plewka
3a0b8825d6
refactor: Use GPU VA as id for ResidencyDebug logs
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2024-05-22 15:01:36 +02:00
Mateusz Jablonski
c9664e6bad
refactor: rename global debug manager to debugManager
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-30 13:00:59 +01:00
Lukasz Jobczyk
e9f199bcad
performance: Wait in busy loop with timeout before Gdi sync object
...
Resolves: NEO-8343
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-09-08 14:40:20 +02:00
Zbigniew Zdanowicz
5ca376e655
performance: add residency diagnostic for trim callback
...
Related-To: NEO-8211
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-07-26 07:46:55 +02:00
Zbigniew Zdanowicz
d19cab1fb3
Add new wddm eviction parameter
...
Related-To: NEO-7179
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-07-18 18:09:57 +02:00
Mateusz Jablonski
d935815d74
Move residency data from WddmAllocation to GraphicsAllocation
...
Related-To: NEO-6848
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-10 18:16:42 +02:00
Mateusz Jablonski
c2dfba5926
Add missing maybe_unused keywords
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-06-09 16:07:21 +02:00
Jaroslaw Chodor
a2da0d5e70
Refactor/cleanup around wddm
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com >
2021-05-26 16:26:28 +02:00