[Intel-gfx] [PATCH 14/26] drm/i915: Dump downstream facing port caps

Ville Syrjala ville.syrjala at linux.intel.com
Mon Feb 3 15:13:31 UTC 2020


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

It helps when the logs have a dump of the DFP capabilities.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 drivers/gpu/drm/i915/display/intel_dp.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index bbe5c72b5bb3..a0b611e8b370 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -4528,6 +4528,9 @@ intel_dp_get_dpcd(struct intel_dp *intel_dp)
 			     DP_MAX_DOWNSTREAM_PORTS) < 0)
 		return false; /* downstream port status fetch failed */
 
+	DRM_DEBUG_KMS("DPCD DFP: %*ph\n", (int)sizeof(intel_dp->downstream_ports),
+		      intel_dp->downstream_ports);
+
 	return true;
 }
 
-- 
2.24.1



More information about the Intel-gfx mailing list