Skip to contentSkip to conversation

drm/amdgpu/mes11: update opcode strings

PATCH In review Alex Deucher 4 participants 5 messages Jul 8, 2024 – Jul 15, 2024

Subsystems (2)
lore
Share & tools
lore

Alex Deucher

author maintainer
#0 lore raw

PATCH 1/2 drm/amdgpu/mes11: update opcode strings

Add new packet.

---
 drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c +3 -0
index 1376b6ff1b77..8ce51b9236c1 100644
@@ -120,6 +120,9 @@ static const char *mes_v11_0_opcodes[] = {
 	"MISC",
 	"UPDATE_ROOT_PAGE_TABLE",
 	"AMD_LOG",
+	"unused",
+	"unused",
+	"SET_HW_RSRC_1",
 };
 
 static const char *mes_v11_0_misc_opcodes[] = {
Signature · 1 line
2.45.2
author maintainer
#1 lore raw

PATCH 2/2 drm/amdgpu/mes12: add missing opcode string

Fixes the indexing of the string array.

---
 drivers/gpu/drm/amd/amdgpu/mes_v12_0.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c +1 -0
index 106eef1ff5cc..c9f74231ad59 100644
@@ -99,6 +99,7 @@ static const char *mes_v12_0_opcodes[] = {
 	"SET_LOG_BUFFER",
 	"CHANGE_GANG_PRORITY",
 	"QUERY_SCHEDULER_STATUS",
+	"unused",
 	"SET_DEBUG_VMID",
 	"MISC",
 	"UPDATE_ROOT_PAGE_TABLE",
Signature · 1 line
2.45.2
#2 lore raw

Re: [PATCH 2/2] drm/amdgpu/mes12: add missing opcode string

Ping on this series?

Alex

Quoted 23 lines · Alex Deucher

Fixes the indexing of the string array.

---
 drivers/gpu/drm/amd/amdgpu/mes_v12_0.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c +1 -1
index 106eef1ff5cc..c9f74231ad59 100644
@@ -99,6 +99,7 @@ static const char *mes_v12_0_opcodes[] = {
        "SET_LOG_BUFFER",
        "CHANGE_GANG_PRORITY",
        "QUERY_SCHEDULER_STATUS",
+       "unused",
        "SET_DEBUG_VMID",
        "MISC",
        "UPDATE_ROOT_PAGE_TABLE",
--

2.45.2

Reviewed-by
#3 lore raw

RE: [PATCH 2/2] drm/amdgpu/mes12: add missing opcode string

[AMD Official Use Only - AMD Internal Distribution Only]

-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Alex Deucher
Sent: Wednesday, July 10, 2024 9:44 AM
To: Deucher, Alexander <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH 2/2] drm/amdgpu/mes12: add missing opcode string

Ping on this series?

Alex

Quoted 23 lines · Alex Deucher

Fixes the indexing of the string array.

---
 drivers/gpu/drm/amd/amdgpu/mes_v12_0.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c +1 -1
index 106eef1ff5cc..c9f74231ad59 100644
@@ -99,6 +99,7 @@ static const char *mes_v12_0_opcodes[] = {
        "SET_LOG_BUFFER",
        "CHANGE_GANG_PRORITY",
        "QUERY_SCHEDULER_STATUS",
+       "unused",
        "SET_DEBUG_VMID",
        "MISC",
        "UPDATE_ROOT_PAGE_TABLE",
--

2.45.2

Reviewed-by on v1 2/2
#4 lore raw

RE: [PATCH 2/2] drm/amdgpu/mes12: add missing opcode string

In reply to Alex Deucher

[AMD Official Use Only - AMD Internal Distribution Only]

Series is

Regards,
Hawking
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Alex Deucher
Sent: Tuesday, July 9, 2024 05:51
To: [email protected]
Cc: Deucher, Alexander <[email protected]>
Subject: [PATCH 2/2] drm/amdgpu/mes12: add missing opcode string

Fixes the indexing of the string array.

---
 drivers/gpu/drm/amd/amdgpu/mes_v12_0.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c +1 -0
index 106eef1ff5cc..c9f74231ad59 100644
@@ -99,6 +99,7 @@ static const char *mes_v12_0_opcodes[] = {
        "SET_LOG_BUFFER",
        "CHANGE_GANG_PRORITY",
        "QUERY_SCHEDULER_STATUS",
+       "unused",
        "SET_DEBUG_VMID",
        "MISC",
        "UPDATE_ROOT_PAGE_TABLE",

--
2.45.2