Commit eb601e61 authored by John Clements's avatar John Clements Committed by Alex Deucher

drm/amdgpu: resolve RAS query bug

clear error count when persistant harvesting is not enabled
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarJohn Clements <john.clements@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 6131538b
...@@ -995,6 +995,9 @@ int amdgpu_ras_query_error_status(struct amdgpu_device *adev, ...@@ -995,6 +995,9 @@ int amdgpu_ras_query_error_status(struct amdgpu_device *adev,
} }
} }
if (!amdgpu_persistent_edc_harvesting_supported(adev))
amdgpu_ras_reset_error_status(adev, info->head.block);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment