diff options
| author | Jesse Zhang <Jesse.Zhang@amd.com> | 2026-09-03 17:36:37 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-09-10 12:08:25 -0400 |
| commit | 4a263bc34083b35235c8b5b09fb37b789e60b321 (patch) | |
| tree | 9020674a541606dd8d5803a1bc9b80534a649520 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 6537bd210878a59b103a193c4eb808a7504ecca6 (diff) | |
| download | linux-4a263bc34083b35235c8b5b09fb37b789e60b321.tar.gz linux-4a263bc34083b35235c8b5b09fb37b789e60b321.zip | |
drm/amdgpu/userq: reset a hung SDMA user queue over MMIO
A hung SDMA user queue wedges MES, so the MES packet reset times out and
falls back to a full MODE1 reset - once per in-flight job, a reset storm.
The queue is still on its HW slot at the first hang-detect, so use
detect_hung_queue to recover its slot from the doorbell and reset it over
MMIO, which does not need MES. Mark it HUNG (not UNMAPPED) so the restore
worker does not re-map and re-run the guilty job, and short-circuit the
per-fence hang-detect re-entry once the queue is already reset.
Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@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
