Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264239
b: refs/heads/master
c: 5ba7ddf
h: refs/heads/master
i:
  264237: 6db0e85
  264235: b2ebab3
  264231: c8f7f51
  264223: edbdc5a
v: v3
  • Loading branch information
Alex Deucher authored and Dave Airlie committed Oct 3, 2011
1 parent a735b88 commit 748ca02
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6375bda073724ead7df08746866b724b1799a295
refs/heads/master: 5ba7ddf81634bfdf32d09261d2959e3f5b7c4263
8 changes: 4 additions & 4 deletions trunk/drivers/gpu/drm/radeon/radeon_connectors.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ void radeon_connector_hotplug(struct drm_connector *connector)
if (connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort) {
int saved_dpms = connector->dpms;

if (radeon_hpd_sense(rdev, radeon_connector->hpd.hpd) &&
radeon_dp_needs_link_train(radeon_connector))
drm_helper_connector_dpms(connector, DRM_MODE_DPMS_ON);
else
/* Only turn off the display it it's physically disconnected */
if (!radeon_hpd_sense(rdev, radeon_connector->hpd.hpd))
drm_helper_connector_dpms(connector, DRM_MODE_DPMS_OFF);
else if (radeon_dp_needs_link_train(radeon_connector))
drm_helper_connector_dpms(connector, DRM_MODE_DPMS_ON);
connector->dpms = saved_dpms;
}
}
Expand Down

0 comments on commit 748ca02

Please sign in to comment.