drm/amd/amdgpu: add mpio to ras block
Add MPIO to RAS block 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>
This commit is contained in:
@@ -61,6 +61,7 @@ const char *ras_block_string[] = {
|
||||
"mp0",
|
||||
"mp1",
|
||||
"fuse",
|
||||
"mpio",
|
||||
};
|
||||
|
||||
#define ras_err_str(i) (ras_error_string[ffs(i)])
|
||||
|
||||
@@ -544,6 +544,8 @@ amdgpu_ras_block_to_ta(enum amdgpu_ras_block block) {
|
||||
return TA_RAS_BLOCK__MP1;
|
||||
case AMDGPU_RAS_BLOCK__FUSE:
|
||||
return TA_RAS_BLOCK__FUSE;
|
||||
case AMDGPU_RAS_BLOCK__MPIO:
|
||||
return TA_RAS_BLOCK__MPIO;
|
||||
default:
|
||||
WARN_ONCE(1, "RAS ERROR: unexpected block id %d\n", block);
|
||||
return TA_RAS_BLOCK__UMC;
|
||||
|
||||
@@ -73,6 +73,7 @@ enum ta_ras_block {
|
||||
TA_RAS_BLOCK__MP0,
|
||||
TA_RAS_BLOCK__MP1,
|
||||
TA_RAS_BLOCK__FUSE,
|
||||
TA_RAS_BLOCK__MPIO,
|
||||
TA_NUM_BLOCK_MAX
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user