Message ID | 1367931879-18585-1-git-send-email-jani.nikula@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index a293523..af16d5b 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c @@ -2280,6 +2280,11 @@ intel_dp_get_dpcd(struct intel_dp *intel_dp) DP_MAX_DOWNSTREAM_PORTS) == 0) return false; /* downstream port status fetch failed */ + hex_dump_to_buffer(intel_dp->downstream_ports, + sizeof(intel_dp->downstream_ports), + 32, 1, dpcd_hex_dump, sizeof(dpcd_hex_dump), false); + DRM_DEBUG_KMS("DPCD Downstream Ports: %s\n", dpcd_hex_dump); + return true; }
Should prove helpful in debugging some DP branch devices. Signed-off-by: Jani Nikula <jani.nikula@intel.com> --- drivers/gpu/drm/i915/intel_dp.c | 5 +++++ 1 file changed, 5 insertions(+)