Skip to content

Add and use "name" member to radeon_ring struct

Alexandre Demers amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/radeon: add name member to radeon_ring structuredrivers/gpu/drm/radeon/radeon.h+1 -00 replies
2/4drm/radeon: rename ring to ring_idx in radeon_fence_driver_start_ring()drivers/gpu/drm/radeon/radeon_fence.c+19 -190 replies
3/4drm/radeon: name ringsdrivers/gpu/drm/radeon/cik.c drivers/gpu/drm/radeon/ni.c drivers/gpu/drm/radeon/si.c+56 -170 replies
4/4drm/radeon: switch from ring->idx to ring->name for printoutsdrivers/gpu/drm/radeon/cik.c drivers/gpu/drm/radeon/cik_sdma.c drivers/gpu/drm/radeon/r600.c +5 more+34 -311 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Add and use "name" member to radeon_ring struct

This series adds a "name" member to the radeon_ring structure and uses it instead of ring indexes in logs and std outputs. This change is proposed for better logs readability and ring identification as much for the average user as for debugging purposes.

It uses the same naming convention as the one used under amdgpu for coherence between the two drivers.

Alexandre Demers (4):
drm/radeon: add name member to radeon_ring structure drm/radeon: rename ring to ring_idx in
radeon_fence_driver_start_ring()
drm/radeon: name rings
drm/radeon: switch from ring->idx to ring->name for printouts

 drivers/gpu/drm/radeon/cik.c          | 33 +++++++++++++++------
 drivers/gpu/drm/radeon/cik_sdma.c     |  6 ++--
 drivers/gpu/drm/radeon/ni.c           | 10 +++++--
 drivers/gpu/drm/radeon/r600.c         |  8 ++---
 drivers/gpu/drm/radeon/r600_dma.c     |  8 ++---
 drivers/gpu/drm/radeon/radeon.h       |  1 +
 drivers/gpu/drm/radeon/radeon_fence.c | 42 ++++++++++++++-------------
 drivers/gpu/drm/radeon/radeon_ring.c  |  4 +--
 drivers/gpu/drm/radeon/radeon_vce.c   | 13 +++++----
 drivers/gpu/drm/radeon/si.c           | 36 +++++++++++++++++------
 drivers/gpu/drm/radeon/uvd_v1_0.c     | 14 ++++-----
 11 files changed, 109 insertions(+), 66 deletions(-)
Signature · 1 line
2.50.1