aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-07-12 17:38:03 -0400
committerKeith Packard <keithp@keithp.com>2011-07-25 13:35:00 -0400
commitac66ae8346fff704301e24ac55da1d76020660b2 (patch)
treefb94a20bceeb2fff0d936700e980a7cf0e8b8b4b
parent9de88e6e89a2222061af8e1448f6f346e3413fc8 (diff)
drm/i915/dp: Better hexdump of DPCD
%hx alone prints 0 as "0", not "00". Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--drivers/gpu/drm/i915/intel_dp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 2f0566b12f71..13bddd34c057 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -1678,10 +1678,10 @@ intel_dp_detect(struct drm_connector *connector, bool force)
1678 else 1678 else
1679 status = g4x_dp_detect(intel_dp); 1679 status = g4x_dp_detect(intel_dp);
1680 1680
1681 DRM_DEBUG_KMS("DPCD: %hx%hx%hx%hx%hx%hx%hx%hx\n", intel_dp->dpcd[0], 1681 DRM_DEBUG_KMS("DPCD: %02hx%02hx%02hx%02hx%02hx%02hx%02hx%02hx\n",
1682 intel_dp->dpcd[1], intel_dp->dpcd[2], intel_dp->dpcd[3], 1682 intel_dp->dpcd[0], intel_dp->dpcd[1], intel_dp->dpcd[2],
1683 intel_dp->dpcd[4], intel_dp->dpcd[5], intel_dp->dpcd[6], 1683 intel_dp->dpcd[3], intel_dp->dpcd[4], intel_dp->dpcd[5],
1684 intel_dp->dpcd[7]); 1684 intel_dp->dpcd[6], intel_dp->dpcd[7]);
1685 1685
1686 if (status != connector_status_connected) 1686 if (status != connector_status_connected)
1687 return status; 1687 return status;