]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix PCH SSC reference clock settings
authorKeith Packard <keithp@keithp.com>
Thu, 22 Sep 2011 19:01:57 +0000 (12:01 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 27 Sep 2011 18:12:56 +0000 (11:12 -0700)
commitba729712ec27350c61cef82b1d03138ad2cd78b8
tree1a2b4ef5d6105b4457e3e47df20e1e1a41feca97
parente7b52af87fec86f004bb57029b3b8013ebc719ff
drm/i915: Fix PCH SSC reference clock settings

The PCH refclk settings are global, so we need to look at all of the
encoders, not just the current encoder when deciding how to configure
it. Also, handle systems with more than one panel (any combination of
PCH/non-PCH eDP and LVDS).

Disable SSC clocks when no panels are connected.

Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_display.c