drm/amdgpu: Conditionally reset SDMA RAS error counts
authorMukul Joshi <mukul.joshi@amd.com>
Tue, 29 Jun 2021 20:34:10 +0000 (16:34 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Jul 2021 04:05:41 +0000 (00:05 -0400)
commit93c5bcd4eaaafd7c25c062089806c86d9b7890dd
treeebd9395166acb54f26c06ca22d569d8661a7aed2
parent7981ec65497a42ab83dfe43192ed7a98c542f001
drm/amdgpu: Conditionally reset SDMA RAS error counts

Reset SDMA RAS error counts during init only if persistent
EDC harvesting is not supported.

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/sdma_v4_0.c