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 <[email protected]>
---
 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

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to