drm/i915: Use crtc_clock in intel_dump_crtc_timings()
authorDamien Lespiau <damien.lespiau@intel.com>
Wed, 25 Sep 2013 15:45:36 +0000 (16:45 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Oct 2013 05:45:38 +0000 (07:45 +0200)
We want to dump the parameters given to the hardware, so let's use
crtc_clock here.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Acked-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c

index f52e6d4..282d83a 100644 (file)
@@ -8343,7 +8343,7 @@ static void intel_dump_crtc_timings(const struct drm_display_mode *mode)
 {
        DRM_DEBUG_KMS("crtc timings: %d %d %d %d %d %d %d %d %d, "
                        "type: 0x%x flags: 0x%x\n",
-               mode->clock,
+               mode->crtc_clock,
                mode->crtc_hdisplay, mode->crtc_hsync_start,
                mode->crtc_hsync_end, mode->crtc_htotal,
                mode->crtc_vdisplay, mode->crtc_vsync_start,