drm/amdgpu: Resolve RAS GFX error count issue after cold boot on Arcturus
authorCandice Li <candice.li@amd.com>
Wed, 1 Jun 2022 09:10:44 +0000 (17:10 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jun 2022 19:58:45 +0000 (15:58 -0400)
commit2a460963350ec6b1534d28d7f943b5f84815aff2
tree0570476ab4b973a0ff453755f8354bc4ad9d451a
parent28caf8c467e2cb98b90a760b65767fa9aaf52ffb
drm/amdgpu: Resolve RAS GFX error count issue after cold boot on Arcturus

Adjust the sequence for ras late init and separate ras reset error status
from query status.

v2: squash in fix from Candice

Signed-off-by: Candice Li <candice.li@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c