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 f52e6d4ebb2e2924492b2bc407ed9a46687d535b..282d83a2a73af88fa3d60a49ed117a1a9eedaf39 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,