drm/amd/amdgpu: add name field back to ras_common_if
authorCandice Li <candice.li@amd.com>
Mon, 23 Aug 2021 07:17:35 +0000 (15:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Aug 2021 19:35:57 +0000 (15:35 -0400)
Adding name field back to ras_common_if to work around error
injection failure with amdgpuras tool.

Signed-off-by: Candice Li <candice.li@amd.com>
Reviewed-by: John Clements <john.clements@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h

index abc5710..5b51633 100644 (file)
@@ -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 {