Skip to contentSkip to conversation

drm/amdgpu: update gfxhub client id for gfx12

PATCH In review Min, Frank 2 participants 2 messages Jun 20, 2024 2 messages not in the archive

Subsystems (2)
lore
Share & tools
lore

Min, Frank

author
#2 lore raw

PATCH 1/1 drm/amdgpu: update gfxhub client id for gfx12

In reply to a message not in the archive

[AMD Official Use Only - AMD Internal Distribution Only]

From: Frank Min <[email protected]>

update gfxhub client id for gfx12

---
 drivers/gpu/drm/amd/amdgpu/gfxhub_v12_0.c | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gfxhub_v12_0.c +21 -1
index 7ea64f1e1e48..7609b9cecae8 100644
@@ -35,7 +35,27 @@
 #define regGRBM_GFX_INDEX_DEFAULT      0xe0000000
 
 static const char *gfxhub_client_ids[] = {
-       /* TODO */
+       "CB",
+       "DB",
+       "GE1",
+       "GE2",
+       "CPF",
+       "CPC",
+       "CPG",
+       "RLC",
+       "TCP",
+       "SQC (inst)",
+       "SQC (data)",
+       "SQG/PC/SC",
+       "Reserved",
+       "SDMA0",
+       "SDMA1",
+       "GCR",
+       "Reserved",
+       "Reserved",
+       "WGS",
+       "DSM",
+       "PA"
 };
 
 static uint32_t gfxhub_v12_0_get_invalidate_req(unsigned int vmid,

--
2.34.1

Acked-by on v1 1/1
#3 lore raw
Quoted 4 lines · Frank

[AMD Official Use Only - AMD Internal Distribution Only]

From: Frank Min <[email protected]>

Quoted 44 lines

update gfxhub client id for gfx12

---
 drivers/gpu/drm/amd/amdgpu/gfxhub_v12_0.c | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gfxhub_v12_0.c +21 -2
index 7ea64f1e1e48..7609b9cecae8 100644
@@ -35,7 +35,27 @@
 #define regGRBM_GFX_INDEX_DEFAULT      0xe0000000
 
 static const char *gfxhub_client_ids[] = {
-       /* TODO */
+       "CB",
+       "DB",
+       "GE1",
+       "GE2",
+       "CPF",
+       "CPC",
+       "CPG",
+       "RLC",
+       "TCP",
+       "SQC (inst)",
+       "SQC (data)",
+       "SQG/PC/SC",
+       "Reserved",
+       "SDMA0",
+       "SDMA1",
+       "GCR",
+       "Reserved",
+       "Reserved",
+       "WGS",
+       "DSM",
+       "PA"
 };
 
 static uint32_t gfxhub_v12_0_get_invalidate_req(unsigned int vmid,
--

2.34.1