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

Candice Li candice.li at amd.com
Mon Aug 23 08:54:26 UTC 2021


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

Change-Id: I9d181a4153b055e22ac6adeb3b51a521c8c2793b
Signed-off-by: Candice Li <candice.li at amd.com>
Reviewed-by: John Clements <john.clements at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
index abc5710898e803..5b5163357fcb61 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
@@ -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 {
-- 
2.17.1



More information about the amd-gfx mailing list