drm/amdgpu: ignoring unsupported ras blocks when MCA bank dispatches
authorYang Wang <kevinyang.wang@amd.com>
Mon, 6 May 2024 02:41:28 +0000 (10:41 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 8 May 2024 19:17:05 +0000 (15:17 -0400)
commit85a24a3ea09e93c05ff59609fde6c3d825a014c2
treec72e05f77fb9e0eb512e8c0af67a843118c9eb70
parent8f184f8e7a07fddc33ee4e6a38b717c770c3aedd
drm/amdgpu: ignoring unsupported ras blocks when MCA bank dispatches

This patch is used to solve the problem of incorrect parsing of error counts.
When the UE trigger gpu is reset, the driver will attempt to parse all possible ras blocks.
For ras blocks that are not supported by the current ASIC, the driver should ignore this error.

Signed-off-by: Yang Wang <kevinyang.wang@amd.com>
Reviewed-by: Candice Li <candice.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c