Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 375483
b: refs/heads/master
c: b2dfcae
h: refs/heads/master
i:
  375481: 7da7038
  375479: 09ea7e1
v: v3
  • Loading branch information
Lespiau, Damien authored and Dave Airlie committed May 13, 2013
1 parent b0a9850 commit e7a1793
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 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: ed7951dc13aad4a14695ec8122e9f0e2ef25d39e
refs/heads/master: b2dfcae3cc6802e897556e09541080309cfdec60
19 changes: 13 additions & 6 deletions trunk/drivers/gpu/drm/drm_crtc_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -1007,13 +1007,20 @@ static void output_poll_execute(struct work_struct *work)
continue;

connector->status = connector->funcs->detect(connector, false);
DRM_DEBUG_KMS("[CONNECTOR:%d:%s] status updated from %s to %s\n",
connector->base.id,
drm_get_connector_name(connector),
drm_get_connector_status_name(old_status),
drm_get_connector_status_name(connector->status));
if (old_status != connector->status)
if (old_status != connector->status) {
const char *old, *new;

old = drm_get_connector_status_name(old_status);
new = drm_get_connector_status_name(connector->status);

DRM_DEBUG_KMS("[CONNECTOR:%d:%s] "
"status updated from %s to %s\n",
connector->base.id,
drm_get_connector_name(connector),
old, new);

changed = true;
}
}

mutex_unlock(&dev->mode_config.mutex);
Expand Down

0 comments on commit e7a1793

Please sign in to comment.