summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorPrike Liang <Prike.Liang@amd.com>2026-07-31 11:44:37 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-09-23 12:58:31 -0400
commit3bd4fbc5ed89621340b5cd249869092691a9c81f (patch)
treeebf5f09fd5785493c65b0a3414503431ac79386e /tools/lib/python
parent6cb55205f42df5bdff27ccce52089ec8850d0552 (diff)
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>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions