[Intel-gfx] [PATCH 2/3] drm/i915: Show the preferred input timings for sDVO

Chris Wilson chris at chris-wilson.co.uk
Sun Jun 9 19:23:02 CEST 2013


The sDVO encoder will ask the card what input timings it wants for a
particular mode, and then apply its fudge to generate the adjusted mode.
When debugging it is useful to know what the card reported before we
derive our own adjusted mode.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
---
 drivers/gpu/drm/i915/intel_sdvo.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_sdvo.c b/drivers/gpu/drm/i915/intel_sdvo.c
index 45aa32a..d03c471 100644
--- a/drivers/gpu/drm/i915/intel_sdvo.c
+++ b/drivers/gpu/drm/i915/intel_sdvo.c
@@ -1117,6 +1117,9 @@ static bool intel_sdvo_compute_config(struct intel_encoder *encoder,
 							   adjusted_mode);
 	}
 
+	DRM_DEBUG_KMS("preferred input mode:\n");
+	drm_mode_debug_printmodeline(adjusted_mode);
+
 	/* Make the CRTC code factor in the SDVO pixel multiplier.  The
 	 * SDVO device will factor out the multiplier during mode_set.
 	 */
-- 
1.7.10.4




More information about the Intel-gfx mailing list