Improve SDMA queue reset for SDMA v4.4.2, v5.0, v5.2
and also moves some functionality from backend-specific
code to common code in the amdgpu_sdma.c file.
This prepares for implementing SDMA queue resets
on more generations, as the same logic can be shared
with all SDMA HW generations that don't use the MES.
The actual queue reset implementations for various
older SDMA versions will come in subsequent patch series
after this one is accepted.
Timur Kristóf (5):
drm/amdgpu/sdma: Clear SDMA rings after reset before starting them
drm/amdgpu/sdma: Remove unimplemented soft_reset() for SDMA and SI DMA
drm/amdgpu/sdma: Move SDMA v5.x queue reset to common code
drm/amdgpu/sdma: Use common SDMA legacy queue reset on SDMA v4.4.2
drm/amdgpu/sdma: In legacy queue reset function, check if KFD is
initialized
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c | 54 ++++++++++++++++++++++++
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h | 4 ++
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 8 ----
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c | 26 +-----------
drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c | 33 +--------------
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 25 +----------
drivers/gpu/drm/amd/amdgpu/si_dma.c | 7 ---
7 files changed, 62 insertions(+), 95 deletions(-)
--
2.55.0