Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287151
b: refs/heads/master
c: 86698c2
h: refs/heads/master
i:
  287149: 760668a
  287147: 6ed7c25
  287143: 7437046
  287135: 8fb9c76
v: v3
  • Loading branch information
Seth Forshee authored and Dave Airlie committed Feb 1, 2012
1 parent 0f29352 commit c5f85bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ebd80b941c72f9da9ffd54de70cc094b0511f26f
refs/heads/master: 86698c20f71d488b32c49ed4687fb3cf8a88a5ca
4 changes: 4 additions & 0 deletions trunk/drivers/gpu/drm/radeon/radeon_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -883,6 +883,8 @@ int radeon_suspend_kms(struct drm_device *dev, pm_message_t state)
if (dev->switch_power_state == DRM_SWITCH_POWER_OFF)
return 0;

drm_kms_helper_poll_disable(dev);

/* turn off display hw */
list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
drm_helper_connector_dpms(connector, DRM_MODE_DPMS_OFF);
Expand Down Expand Up @@ -972,6 +974,8 @@ int radeon_resume_kms(struct drm_device *dev)
list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
drm_helper_connector_dpms(connector, DRM_MODE_DPMS_ON);
}

drm_kms_helper_poll_enable(dev);
return 0;
}

Expand Down

0 comments on commit c5f85bf

Please sign in to comment.