You need to sign in or sign up before continuing.
提交 eb601e61 编写于 作者: J John Clements 提交者: Alex Deucher

drm/amdgpu: resolve RAS query bug

clear error count when persistant harvesting is not enabled
Reviewed-by: NHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: NJohn Clements <john.clements@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册