drm/i915: Dump hdmi pipe_config state
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 20 Nov 2014 15:10:28 +0000 (16:10 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 20 Nov 2014 15:10:28 +0000 (16:10 +0100)
Makes it easier to debug infoframe mismatches.

Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/i915/intel_display.c

index 9c983e4..83af88c 100644 (file)
@@ -10001,6 +10001,10 @@ static void intel_dump_pipe_config(struct intel_crtc *crtc,
                      pipe_config->dp_m2_n2.link_n,
                      pipe_config->dp_m2_n2.tu);
 
+       DRM_DEBUG_KMS("audio: %i, infoframes: %i\n",
+                     pipe_config->has_audio,
+                     pipe_config->has_infoframe);
+
        DRM_DEBUG_KMS("requested mode:\n");
        drm_mode_debug_printmodeline(&pipe_config->requested_mode);
        DRM_DEBUG_KMS("adjusted mode:\n");