diff options
author | John Clements <john.clements@amd.com> | 2021-09-22 14:04:52 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-09-23 16:34:43 -0400 |
commit | 640ae42efb828be69a9ee6ac88fb3d5a3e678ddf (patch) | |
tree | 6a43ad6df556a8f672a5b56ef76becdbb322bd06 /drivers/gpu/drm/amd/amdgpu/ta_ras_if.h | |
parent | 6effad8abe0ba4db3d9c58ed585127858a990f35 (diff) | |
download | linux-640ae42efb828be69a9ee6ac88fb3d5a3e678ddf.tar.gz linux-640ae42efb828be69a9ee6ac88fb3d5a3e678ddf.tar.bz2 linux-640ae42efb828be69a9ee6ac88fb3d5a3e678ddf.zip |
drm/amdgpu: Updated RAS infrastructure
Update RAS infrastructure to support RAS query for MCA subblocks
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: John Clements <john.clements@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/ta_ras_if.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/ta_ras_if.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/ta_ras_if.h b/drivers/gpu/drm/amd/amdgpu/ta_ras_if.h index 532260fd64db..82d956d15b54 100644 --- a/drivers/gpu/drm/amd/amdgpu/ta_ras_if.h +++ b/drivers/gpu/drm/amd/amdgpu/ta_ras_if.h @@ -73,10 +73,19 @@ enum ta_ras_block { TA_RAS_BLOCK__MP0, TA_RAS_BLOCK__MP1, TA_RAS_BLOCK__FUSE, - TA_RAS_BLOCK__MPIO, + TA_RAS_BLOCK__MCA, TA_NUM_BLOCK_MAX }; +enum ta_ras_mca_block +{ + TA_RAS_MCA_BLOCK__MP0 = 0, + TA_RAS_MCA_BLOCK__MP1 = 1, + TA_RAS_MCA_BLOCK__MPIO = 2, + TA_RAS_MCA_BLOCK__IOHC = 3, + TA_MCA_NUM_BLOCK_MAX +}; + enum ta_ras_error_type { TA_RAS_ERROR__NONE = 0, TA_RAS_ERROR__PARITY = 1, |