drm/amdgpu: Fix panic during gpu reset
authorxinhui pan <xinhui.pan@amd.com>
Mon, 5 Aug 2019 06:53:49 +0000 (14:53 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Aug 2019 18:52:37 +0000 (13:52 -0500)
commit876923fb92a9e298625067284977917d4741ee2e
tree2312053144c9ff933fcdc28b1bed5745aa2ef2a7
parent1f288afc2cb74e201bf8962d1c4d2f4dff2add51
drm/amdgpu: Fix panic during gpu reset

Clear the flag after hw suspend, otherwise it skips the corresponding hw
resume.

Signed-off-by: xinhui pan <xinhui.pan@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c