]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: fix i9xx_crtc_clock_get for multiplied pixels
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 3 Sep 2013 18:40:37 +0000 (20:40 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 4 Sep 2013 15:34:03 +0000 (17:34 +0200)
commitef3a1c33dd6669eb4efbbf76f5b9deede479be06
treef7dd40220b3249ae3c08915603f5331a86e0fd67
parent75fe0fdcb68feabad8e60920e4e09b09c407f7bc
drm/i915: fix i9xx_crtc_clock_get for multiplied pixels

The dpll actually runs at the port clock so we don't need
to multiply it again with the pixel multiplier to get the
adjusted_mode.clock. This is in contrast to the ironlake
pixel clock readout code which uses the fdi dotclock: That
one does _not_ run with multiplied pixels.

This issue goes back to the original clock readout code added
in

commit 39c41ab4d41f210420f80389725612b96b4b93cf
Author: Jesse Barnes <jbarnes@virtuousgeek.org>
Date:   Thu Jun 27 00:39:25 2013 +0300

    drm/i915: get mode clock when reading the pipe config v9

Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c