summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorEvan Quan <evan.quan@amd.com>2020-04-16 12:15:31 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-04-22 18:11:49 -0400
commita2f63ee8b5eabda8b317425d1e487e51a4d7b21e (patch)
tree44a7650f2e37d288930d98bdd90f0d6a6eb33f05 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parent10f39758b8f3d2e6ba3bb4aa731123c6cf2271ea (diff)
downloadlinux-a2f63ee8b5eabda8b317425d1e487e51a4d7b21e.tar.bz2
drm/amdgpu: correct fbdev suspend on gpu reset
As for XGMI setup, it needs to be performed on all the devices from the same hive. Signed-off-by: Evan Quan <evan.quan@amd.com> Acked-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index c239035cdf14..f66a33410ee8 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -4224,7 +4224,7 @@ int amdgpu_device_gpu_recover(struct amdgpu_device *adev,
*/
amdgpu_unregister_gpu_instance(tmp_adev);
- amdgpu_fbdev_set_suspend(adev, 1);
+ amdgpu_fbdev_set_suspend(tmp_adev, 1);
/* disable ras on ALL IPs */
if (!(in_ras_intr && !use_baco) &&