Sfoglia il codice sorgente

drm/i915/dp: Add DPCD data to debug output

Signed-off-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Adam Jackson 15 anni fa
parent
commit
a7de64e540
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      drivers/gpu/drm/i915/intel_dp.c

+ 2 - 0
drivers/gpu/drm/i915/intel_dp.c

@@ -1207,6 +1207,8 @@ ironlake_dp_detect(struct drm_connector *connector)
 		if (dp_priv->dpcd[0] != 0)
 		if (dp_priv->dpcd[0] != 0)
 			status = connector_status_connected;
 			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;
 	return status;
 }
 }