drm/amdgpu: add fbdev suspend/resume on gpu reset
authorEvan Quan <evan.quan@amd.com>
Wed, 11 Mar 2020 06:15:27 +0000 (14:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Mar 2020 13:20:31 +0000 (09:20 -0400)
commit063e768ebd27d3ec0d6908b7f8ea9b0a732b9949
tree865fb22a57bdf03321550d1465ed4f4e5f5b8a8f
parent5bbc6604a62814511c32f2e39bc9ffb2c1b92cbe
drm/amdgpu: add fbdev suspend/resume on gpu reset

This can fix the baco reset failure seen on Navi10.
And this should be a low risk fix as the same sequence
is already used for system suspend/resume.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c