drm/i915: Extract p2 divider correctly for gen2 LVDS dual channel
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 9 Dec 2013 16:54:13 +0000 (18:54 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 11 Dec 2013 22:52:13 +0000 (23:52 +0100)
commitb1c560d13d1aab194b467ca33d0be6ca6e829ee5
tree90fe547d9c667014ce431b96a62657d1417cbbaf
parent3dda20a974e013a4985560904c0e491a70a25251
drm/i915: Extract p2 divider correctly for gen2 LVDS dual channel

In order to determine the correct p2 divider for LVDS on gen2,
we need to check the CLKB mode from the LVDS port register to
determine if we're dealing with single or dual channel LVDS.

Cc: Bruno Prémont <bonbons@linux-vserver.org>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Tested-by: Bruno Prémont <bonbons@linux-vserver.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c