Commit f2aba352 authored by Alex Deucher's avatar Alex Deucher

Revert "drm/radeon: skip suspend/resume on DRM_SWITCH_POWER_DYNAMIC_OFF"

This is not necessary as pointed out by Lukas Wunner.

This reverts commit 5e0b1617.
parent e313de7e
...@@ -1594,8 +1594,7 @@ int radeon_suspend_kms(struct drm_device *dev, bool suspend, ...@@ -1594,8 +1594,7 @@ int radeon_suspend_kms(struct drm_device *dev, bool suspend,
rdev = dev->dev_private; rdev = dev->dev_private;
if (dev->switch_power_state == DRM_SWITCH_POWER_OFF || if (dev->switch_power_state == DRM_SWITCH_POWER_OFF)
dev->switch_power_state == DRM_SWITCH_POWER_DYNAMIC_OFF)
return 0; return 0;
drm_kms_helper_poll_disable(dev); drm_kms_helper_poll_disable(dev);
...@@ -1690,8 +1689,7 @@ int radeon_resume_kms(struct drm_device *dev, bool resume, bool fbcon) ...@@ -1690,8 +1689,7 @@ int radeon_resume_kms(struct drm_device *dev, bool resume, bool fbcon)
struct drm_crtc *crtc; struct drm_crtc *crtc;
int r; int r;
if (dev->switch_power_state == DRM_SWITCH_POWER_OFF || if (dev->switch_power_state == DRM_SWITCH_POWER_OFF)
dev->switch_power_state == DRM_SWITCH_POWER_DYNAMIC_OFF)
return 0; return 0;
if (fbcon) { if (fbcon) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment