]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Only look for matching clocks for LVDS downclock
authorSean Paul <seanpaul@chromium.org>
Tue, 10 Jan 2012 23:09:36 +0000 (15:09 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 16 Jan 2012 20:21:15 +0000 (21:21 +0100)
commit84775a5cc960961e3ce0cc510da127efeaadad8d
treec4f404a3a9a99d434b40801f12fde76e8890e88f
parent417fd4c23ef392e4fd8ceaa1adc7dab940c8dd30
drm/i915: Only look for matching clocks for LVDS downclock

This patch enforces that the downclock clock source is the same as the preferred
clock source for LVDS. This fixes a bug where the driver chooses a downclock
clock source with a different P than the preferred mode clock source. This
happened even if the preferred clock source implemented an acceptable rate for
the downclock. The result of this bug is that downclock is disabled.

Signed-off-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c