drm/i915: debug log DPCD downstream ports if available
Subsystems (2)
PATCH 1/1 drm/i915: debug log DPCD downstream ports if available
Should prove helpful in debugging some DP branch devices.
Signed-off-by Jani Nikula <[email protected]>
--- drivers/gpu/drm/i915/intel_dp.c | 5 +++++ 1 file changed, 5 insertions(+)
drivers/gpu/drm/i915/intel_dp.c +5 -0
@@ -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; }
Signature · 1 line
1.7.9.5