diff options
| author | Prike Liang <Prike.Liang@amd.com> | 2026-07-31 11:44:37 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-09-23 15:53:05 -0400 |
| commit | 3022bdfe3e6d776e9273d6892f7c193138ca0666 (patch) | |
| tree | 896355f34e3a20156c7cba43f5c66b181334a037 /tools/perf/scripts/python/stackcollapse.py | |
| parent | c5fd4eaad50d620c7e09ac2082b2fb55ee54170e (diff) | |
| download | linux-next-3022bdfe3e6d776e9273d6892f7c193138ca0666.tar.gz linux-next-3022bdfe3e6d776e9273d6892f7c193138ca0666.zip | |
drm/amdgpu: move userq fence wait out of signalling section
The eviction fence suspend worker waits for every pending userq fence
from inside a dma_fence_begin_signalling() critical section. Waiting on
another DMA fence while responsible for signalling one violates the
cross-driver fence contract and is reported by lockdep as a
dma_fence_map dependency.
Move the wait before dma_fence_begin_signalling(). Keep userq_mutex held
so queue lifetime remains stable while inspecting last_fence.
Fixes: fc61df151617 ("drm/amdgpu: annotate eviction fence signaling path")
Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Reviewed-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 3bd4fbc5ed89621340b5cd249869092691a9c81f)
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
