drm/amdgpu: Reset RAS error count and status regs
authorMukul Joshi <mukul.joshi@amd.com>
Wed, 24 Mar 2021 15:36:33 +0000 (11:36 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Apr 2021 01:45:10 +0000 (21:45 -0400)
commit1f0d8e3781f40c6cae7cb68a4cccfc54dd4ad3a1
treeb1e5090b52a1ead5d7a7b0a75369d287ce754dee
parent5f41741a6d46b55f187e4314b767bb15e7e263d0
drm/amdgpu: Reset RAS error count and status regs

Reset the RAS error count and error status registers after
reading to prevent over reporting error counts on Aldebaran.

Signed-off-by: Mukul Joshi <mukul.joshi@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.c