Skip to contentSkip to conversation

drm/amd/amdgpu: add name field back to ras_common_if

PATCH New Candice Li 1 participant 1 message Aug 23, 2021

Subsystems (2)
lore
Share & tools
lore

Candice Li

author
#0 lore raw

PATCH 1/1 drm/amd/amdgpu: add name field back to ras_common_if

Adding name filed back to ras_common_if to work around error injection failure with amdgpuras tool.

Change-Id I9d181a4153b055e22ac6adeb3b51a521c8c2793b
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h +1 -0
index abc5710898e803..5b5163357fcb61 100644
@@ -309,6 +309,7 @@ struct ras_common_if {
 	enum amdgpu_ras_block block;
 	enum amdgpu_ras_error_type type;
 	uint32_t sub_block_index;
+	char name[32];
 };
 
 struct amdgpu_ras {
Signature · 1 line
2.17.1