drm/amdgpu: Conditionally reset RAS counters on boot
authorJohn Clements <john.clements@amd.com>
Mon, 17 May 2021 08:36:26 +0000 (16:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 02:38:11 +0000 (22:38 -0400)
commit8f6368a9c92645e72fdd55862aa09821cdb81b43
tree391e95b9adbd076dccad51e949a3bca23c60ee11
parent8ef4f94addd734a6ce2d3f7d2a178b608e2dd8c7
drm/amdgpu: Conditionally reset RAS counters on boot

Only clear RAS error counters if perestent EDC harvesting is not supported

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>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c