RFC: drm/amdgpu/sdma: Refactor SDMA v4 and older functions to be per-instance
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest12 patches 7 repliesIn review
Patches in v1 No applies recorded yet
Reviews trailers per patch
None of the 12 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Alex Deucher |
|---|---|
| Series | R-b |
| 1/12 | |
| 2/12 | |
| 3/12 | |
| 4/12 | |
| 5/12 | |
| 6/12 | |
| 7/12 | |
| 8/12 | |
| 9/12 | |
| 10/12 | |
| 11/12 | |
| 12/12 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/12] RFC: drm/amdgpu/sdma: Refactor SDMA v4 and older functions to be per-instance
This series applies on top of my previous series:
"Improve existing SDMA queue resets" (currently under review)
Prepare the code for implementing recovery for
SDMA v4 and all older SDMA (and SI DMA) versions. Reorganize the SDMA 4.0 code so that the functions that are responsible for managing the SDMA engines take an instance ID as an argument.
This makes it possible to manage the SDMA instances independently of each other, which will enable us to also use these functions to implement resetting and recovering them independently. (The actual recovery implementation will be in a follow-up patch series which I will submit after this one is accepted.)
Timur Kristóf (12):
drm/amdgpu/sdma: Refactor SI DMA functions to be per instance drm/amdgpu/sdma: Refactor SI DMA clock gating functions to be
per-instance
drm/amdgpu/sdma: Refactor CIK SDMA functions to be per instance drm/amdgpu/sdma: Refactor CIK SDMA clock gating functions to be
per-instance
drm/amdgpu/sdma: Refactor SDMA v2.4 functions to be per instance drm/amdgpu/sdma: Refactor SDMA v2.4 golden registers to be
per-instance
drm/amdgpu/sdma: Refactor SDMA v3.0 functions to be per instance drm/amdgpu/sdma: Refactor SDMA v3.0 clock gating functions to be
per-instance
drm/amdgpu/sdma: Refactor SDMA v3.0 golden registers to be
per-instance
drm/amdgpu/sdma: Refactor SDMA v4.0 functions to be per instance drm/amdgpu/sdma: Refactor SDMA v4.0 clock gating functions to be
per-instance
drm/amdgpu/sdma: Refactor SDMA v4.0 golden registers to be
per-instance
drivers/gpu/drm/amd/amdgpu/cik_sdma.c | 322 +++++++------- drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c | 232 +++++----- drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 561 ++++++++++++++---------- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 577 +++++++++++++++---------- drivers/gpu/drm/amd/amdgpu/si_dma.c | 160 ++++--- 5 files changed, 1043 insertions(+), 809 deletions(-)
Signature · 1 line
2.55.0