提交 d293470e 编写于 作者: Y YiPeng Chai 提交者: Alex Deucher

drm/amdgpu: Fixed the problem that ras error can't be queried after gpu recovery is completed

Amdgpu_ras_set_error_query_ready is called at the start of
amdgpu_device_gpu_recover to disable query ras error, but the
code behind only enables query ras error in full reset path,
but not in soft reset path, emergency restart path and skip
the hardware reset path.
Signed-off-by: NYiPeng Chai <YiPeng.Chai@amd.com>
Reviewed-by: NHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 220c8cc8
...@@ -5454,6 +5454,8 @@ int amdgpu_device_gpu_recover(struct amdgpu_device *adev, ...@@ -5454,6 +5454,8 @@ int amdgpu_device_gpu_recover(struct amdgpu_device *adev,
amdgpu_device_resume_display_audio(tmp_adev); amdgpu_device_resume_display_audio(tmp_adev);
amdgpu_device_unset_mp1_state(tmp_adev); amdgpu_device_unset_mp1_state(tmp_adev);
amdgpu_ras_set_error_query_ready(tmp_adev, true);
} }
recover_end: recover_end:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册