Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218352
b: refs/heads/master
c: c3cceed
h: refs/heads/master
v: v3
  • Loading branch information
Dave Airlie committed Oct 26, 2010
1 parent d4ad253 commit 9b0ebf2
Show file tree
Hide file tree
Showing 2 changed files with 11 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: e26fd1199ebab0d469fc3e037da5932d382f0669
refs/heads/master: c3cceeddf0b5f97b0d2352b98ef0f025e31a9ae3
10 changes: 10 additions & 0 deletions trunk/drivers/gpu/drm/radeon/radeon_connectors.c
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,11 @@ radeon_vga_detect(struct drm_connector *connector, bool force)
ret = connector_status_connected;
}
} else {

/* if we aren't forcing don't do destructive polling */
if (!force)
return connector->status;

if (radeon_connector->dac_load_detect && encoder) {
encoder_funcs = encoder->helper_private;
ret = encoder_funcs->detect(encoder, connector);
Expand Down Expand Up @@ -850,6 +855,11 @@ radeon_dvi_detect(struct drm_connector *connector, bool force)
if ((ret == connector_status_connected) && (radeon_connector->use_digital == true))
goto out;

if (!force) {
ret = connector->status;
goto out;
}

/* find analog encoder */
if (radeon_connector->dac_load_detect) {
for (i = 0; i < DRM_CONNECTOR_MAX_ENCODER; i++) {
Expand Down

0 comments on commit 9b0ebf2

Please sign in to comment.