|
@@ -2284,14 +2284,6 @@ int amdgpu_device_resume(struct drm_device *dev, bool resume, bool fbcon)
|
|
|
drm_helper_connector_dpms(connector, DRM_MODE_DPMS_ON);
|
|
|
}
|
|
|
drm_modeset_unlock_all(dev);
|
|
|
- } else {
|
|
|
- /*
|
|
|
- * There is no equivalent atomic helper to turn on
|
|
|
- * display, so we defined our own function for this,
|
|
|
- * once suspend resume is supported by the atomic
|
|
|
- * framework this will be reworked
|
|
|
- */
|
|
|
- amdgpu_dm_display_resume(adev);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -2726,7 +2718,6 @@ int amdgpu_device_gpu_recover(struct amdgpu_device *adev,
|
|
|
if (amdgpu_device_has_dc_support(adev)) {
|
|
|
if (drm_atomic_helper_resume(adev->ddev, state))
|
|
|
dev_info(adev->dev, "drm resume failed:%d\n", r);
|
|
|
- amdgpu_dm_display_resume(adev);
|
|
|
} else {
|
|
|
drm_helper_resume_force_mode(adev->ddev);
|
|
|
}
|