[Intel-gfx] [PATCH] drm/i915/cnl: Add information to missing case.

Rodrigo Vivi rodrigo.vivi at intel.com
Fri Jun 16 20:20:42 UTC 2017


This missing case could be reached out on missing
type or missing voltage. So let's add a debug
message to make our lives easier whenever this
might happen.

Cc: Paulo Zanoni <paulo.r.zanoni at intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
---
 drivers/gpu/drm/i915/intel_ddi.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c
index e66947a..c96c8d0 100644
--- a/drivers/gpu/drm/i915/intel_ddi.c
+++ b/drivers/gpu/drm/i915/intel_ddi.c
@@ -1802,6 +1802,7 @@ static void cnl_ddi_vswing_program(struct drm_i915_private *dev_priv,
 	}
 
 	if (ddi_translations == NULL) {
+		DRM_DEBUG_KMS("Missing DDI translation table for type %d with voltage %d\n", type, voltage);
 		MISSING_CASE(voltage);
 		return;
 	}
-- 
1.9.1



More information about the Intel-gfx mailing list