drm/i915/dp: Add DPCD data to debug output
authorAdam Jackson <ajax@redhat.com>
Thu, 13 May 2010 18:45:43 +0000 (14:45 -0400)
committerEric Anholt <eric@anholt.net>
Wed, 26 May 2010 21:12:52 +0000 (14:12 -0700)
Signed-off-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_dp.c

index 6eed9a2006d7a35408ef154efa43d2189229d4b8..0a11c657c9497369e25d13aa8a905297fc338fcd 100644 (file)
@@ -1207,6 +1207,8 @@ ironlake_dp_detect(struct drm_connector *connector)
                if (dp_priv->dpcd[0] != 0)
                        status = connector_status_connected;
        }
+       DRM_DEBUG_KMS("DPCD: %hx%hx%hx%hx\n", dp_priv->dpcd[0],
+                     dp_priv->dpcd[1], dp_priv->dpcd[2], dp_priv->dpcd[3]);
        return status;
 }