diff options
| author | Timur Kristóf <timur.kristof@gmail.com> | 2026-09-08 20:10:46 +0200 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-09-17 11:38:27 -0400 |
| commit | 0518c66cf841f5f701143ffa72840ad367838490 (patch) | |
| tree | ec1e4ddcc674f9043702c4a1dbf853803fc85ee9 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 5992cc68111b43eb56716046402bbfec80c99e9c (diff) | |
| download | linux-0518c66cf841f5f701143ffa72840ad367838490.tar.gz linux-0518c66cf841f5f701143ffa72840ad367838490.zip | |
drm/amdgpu/sdma: Fix executing duplicate commands after recovery on SDMA v4.4.2
SDMA v4.4.2 had a custom recovery implementation that
tried to keep ring contents and restore the rptr after
an SDMA soft reset. Later it was changed to use the
more common amdgpu_sdma_reset_engine() implementation.
Currently, SDMA v4.4.2 may execute some commands twice
after a recovery:
1. From the old ring buffer contents at the restored rptr
2. From the contents restored by amdgpu_sdma_reset_engine()
that calls the ring reset helper functions.
Fix that by removing the code that restores rptr.
This is not needed anymore because amdgpu_sdma_reset_engine()
already saves and restores the contents of both the SDMA gfx
and paging rings, so there is no need to do anything extra.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.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
