diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-12-21 23:49:28 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-12-22 00:10:12 +0100 |
commit | 0f16830e9f6de0a44cf1e473ffa80cbe612d5beb (patch) | |
tree | 16cfc6ee303d61b4b1a6e2c22a89dfd746798287 /drivers/gpu/drm/drm_crtc_helper.c | |
parent | drm/radeon/kms: fix bug in r600_gpu_is_lockup (diff) | |
download | linux-0f16830e9f6de0a44cf1e473ffa80cbe612d5beb.tar.xz linux-0f16830e9f6de0a44cf1e473ffa80cbe612d5beb.zip |
drm: Include the connector name in the output_poll_execute() debug message
Always useful to know just which connector was polled and had its
status updated.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_crtc_helper.c')
-rw-r--r-- | drivers/gpu/drm/drm_crtc_helper.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c index 7ca59359fee2..2d4e17a004db 100644 --- a/drivers/gpu/drm/drm_crtc_helper.c +++ b/drivers/gpu/drm/drm_crtc_helper.c @@ -874,7 +874,10 @@ static void output_poll_execute(struct work_struct *work) continue; connector->status = connector->funcs->detect(connector, false); - DRM_DEBUG_KMS("connector status updated to %d\n", connector->status); + DRM_DEBUG_KMS("[CONNECTOR:%d:%s] status updated from %d to %d\n", + connector->base.id, + drm_get_connector_name(connector), + old_status, connector->status); if (old_status != connector->status) changed = true; } |