diff options
| author | Jesse Zhang <Jesse.Zhang@amd.com> | 2026-07-31 12:36:25 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-08-06 09:30:54 -0400 |
| commit | 8a28e1519baf1a9052f19f4b6a6928c06021d95c (patch) | |
| tree | 764fc87340d4fa0ffd961a2403d29b1fbdec9075 /tools/perf/scripts/python/stackcollapse.py | |
| parent | e9e0bd23b55aec41f45d46007cb3cb38d40f552b (diff) | |
drm/amdgpu/userq: mark a queue unmapped after a per-queue reset
mes_userq_reset() unmaps the queue via the low-level mes_userq_unmap()
(REMOVE_QUEUE) but does not update queue->state, so the queue still looks
MAPPED. The destroy path then issues a second, redundant REMOVE_QUEUE for
the already-removed queue; for gfx that unmap waits on an EOP that never
arrives, times out (-110) and escalates to a full GPU reset.
Mark the queue UNMAPPED on a successful reset-path unmap so destroy skips
the redundant REMOVE_QUEUE.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
