Skip to contentSkip to conversation

drm/amdkfd: update struct pm4_mes_runlist Struct pm4_mes_runlist in amdgpu is conflict with spec Add last dword of the design of spec into struct pm4_mes_runlist

PATCH New Lin.Cao 1 participant 1 message Sep 7, 2023

Subsystems (3)
lore
Share & tools
lore

Lin.Cao

author
#0 lore raw

PATCH 1/1 drm/amdkfd: update struct pm4_mes_runlist Struct pm4_mes_runlist in amdgpu is conflict with spec Add last dword of the design of spec into struct pm4_mes_runlist

---
 drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_ai.h | 10 ++++++++++
 1 file changed, 10 insertions(+)
drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_ai.h +10 -0
index 8b6b2bd5c148..ed937f70895c 100644
@@ -129,6 +129,16 @@ struct pm4_mes_runlist {
 		uint32_t ordinal4;
 	};
 
+	union {
+		struct {
+			uint32_t level_1_static_queue_cnt:4;
+			uint32_t level_2_static_queue_cnt:4;
+			uint32_t level_3_static_queue_cnt:4;
+			uint32_t reserved4:20;
+		} bitfields5;
+		uint32_t ordinal5;
+	};
+
 };
 #endif
 
Signature · 1 line
2.25.1