]> 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)
commit675645b6485ee54f2b195ade58ff25268e0731ca
treec4f404a3a9a99d434b40801f12fde76e8890e88f
parentb4a0f9e011caf013b15a39b15a42ff3f020f934b
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