AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/12] RFC: drm/amdgpu/sdma: Refactor SDMA v4 and older functions to be per-instance
@ 2026-09-07 20:33 Timur Kristóf
  2026-09-07 20:33 ` [PATCH 01/12] drm/amdgpu/sdma: Refactor SI DMA functions to be per instance Timur Kristóf
                   ` (12 more replies)
  0 siblings, 13 replies; 17+ messages in thread
From: Timur Kristóf @ 2026-09-07 20:33 UTC (permalink / raw)
  To: amd-gfx, Marek Olšák, Alex Deucher,
	Christian König, Tvrtko Ursulin, pierre-eric.pelloux-prayer,
	Natalie Vock, Lijo Lazar, Felix Kuehling
  Cc: Timur Kristóf

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(-)

-- 
2.55.0


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2026-09-11 19:00 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-07 20:33 [PATCH 00/12] RFC: drm/amdgpu/sdma: Refactor SDMA v4 and older functions to be per-instance Timur Kristóf
2026-09-07 20:33 ` [PATCH 01/12] drm/amdgpu/sdma: Refactor SI DMA functions to be per instance Timur Kristóf
2026-09-07 20:33 ` [PATCH 02/12] drm/amdgpu/sdma: Refactor SI DMA clock gating functions to be per-instance Timur Kristóf
2026-09-07 20:33 ` [PATCH 03/12] drm/amdgpu/sdma: Refactor CIK SDMA functions to be per instance Timur Kristóf
2026-09-07 20:33 ` [PATCH 04/12] drm/amdgpu/sdma: Refactor CIK SDMA clock gating functions to be per-instance Timur Kristóf
2026-09-07 20:33 ` [PATCH 05/12] drm/amdgpu/sdma: Refactor SDMA v2.4 functions to be per instance Timur Kristóf
2026-09-07 20:33 ` [PATCH 06/12] drm/amdgpu/sdma: Refactor SDMA v2.4 golden registers to be per-instance Timur Kristóf
2026-09-07 20:33 ` [PATCH 07/12] drm/amdgpu/sdma: Refactor SDMA v3.0 functions to be per instance Timur Kristóf
2026-09-07 20:33 ` [PATCH 08/12] drm/amdgpu/sdma: Refactor SDMA v3.0 clock gating functions to be per-instance Timur Kristóf
2026-09-07 20:33 ` [PATCH 09/12] drm/amdgpu/sdma: Refactor SDMA v3.0 golden registers " Timur Kristóf
2026-09-07 20:33 ` [PATCH 10/12] drm/amdgpu/sdma: Refactor SDMA v4.0 functions to be per instance Timur Kristóf
2026-09-08  7:41   ` Tvrtko Ursulin
2026-09-08  8:14     ` Timur Kristóf
2026-09-10 14:44       ` Tvrtko Ursulin
2026-09-07 20:33 ` [PATCH 11/12] drm/amdgpu/sdma: Refactor SDMA v4.0 clock gating functions to be per-instance Timur Kristóf
2026-09-07 20:33 ` [PATCH 12/12] drm/amdgpu/sdma: Refactor SDMA v4.0 golden registers " Timur Kristóf
2026-09-11 19:00 ` [PATCH 00/12] RFC: drm/amdgpu/sdma: Refactor SDMA v4 and older functions " Alex Deucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox