[PATCH 1/4] drm/radeon: add name member to radeon_ring structure

Alexandre Demers alexandre.f.demers at gmail.com
Wed Aug 13 00:01:38 UTC 2025


This will allow us to name rings and use it in place of idx in logs,
as it is done under amdgpu.

Signed-off-by: Alexandre Demers <alexandre.f.demers at gmail.com>
---
 drivers/gpu/drm/radeon/radeon.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
index fd8a4513025f..16298557079b 100644
--- a/drivers/gpu/drm/radeon/radeon.h
+++ b/drivers/gpu/drm/radeon/radeon.h
@@ -810,6 +810,7 @@ struct radeon_ring {
 	bool			ready;
 	u32			nop;
 	u32			idx;
+	char			name[16];
 	u64			last_semaphore_signal_addr;
 	u64			last_semaphore_wait_addr;
 	/* for CIK queues */
-- 
2.50.1



More information about the amd-gfx mailing list