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 5e0b1617fc38a27cf494c5d0b51f08de77ce0d20.
diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c
index b423c01..bbc8958 100644
--- a/drivers/gpu/drm/radeon/radeon_device.c
+++ b/drivers/gpu/drm/radeon/radeon_device.c
@@ -1594,8 +1594,7 @@
rdev = dev->dev_private;
- if (dev->switch_power_state == DRM_SWITCH_POWER_OFF ||
- dev->switch_power_state == DRM_SWITCH_POWER_DYNAMIC_OFF)
+ if (dev->switch_power_state == DRM_SWITCH_POWER_OFF)
return 0;
drm_kms_helper_poll_disable(dev);
@@ -1690,8 +1689,7 @@
struct drm_crtc *crtc;
int r;
- if (dev->switch_power_state == DRM_SWITCH_POWER_OFF ||
- dev->switch_power_state == DRM_SWITCH_POWER_DYNAMIC_OFF)
+ if (dev->switch_power_state == DRM_SWITCH_POWER_OFF)
return 0;
if (fbcon) {