aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
index 56f807757d2c..e3e09e6d7f42 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
@@ -1096,7 +1096,9 @@ amdgpu_pci_shutdown(struct pci_dev *pdev)
1096 * unfortunately we can't detect certain 1096 * unfortunately we can't detect certain
1097 * hypervisors so just do this all the time. 1097 * hypervisors so just do this all the time.
1098 */ 1098 */
1099 adev->mp1_state = PP_MP1_STATE_UNLOAD;
1099 amdgpu_device_ip_suspend(adev); 1100 amdgpu_device_ip_suspend(adev);
1101 adev->mp1_state = PP_MP1_STATE_NONE;
1100} 1102}
1101 1103
1102static int amdgpu_pmops_suspend(struct device *dev) 1104static int amdgpu_pmops_suspend(struct device *dev)