diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 99a0e478499b..9c594763ddff 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |||
@@ -2722,6 +2722,8 @@ int amdgpu_device_suspend(struct drm_device *dev, bool suspend, bool fbcon) | |||
2722 | if (fbcon) | 2722 | if (fbcon) |
2723 | amdgpu_fbdev_set_suspend(adev, 1); | 2723 | amdgpu_fbdev_set_suspend(adev, 1); |
2724 | 2724 | ||
2725 | cancel_delayed_work_sync(&adev->late_init_work); | ||
2726 | |||
2725 | if (!amdgpu_device_has_dc_support(adev)) { | 2727 | if (!amdgpu_device_has_dc_support(adev)) { |
2726 | /* turn off display hw */ | 2728 | /* turn off display hw */ |
2727 | drm_modeset_lock_all(dev); | 2729 | drm_modeset_lock_all(dev); |