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)
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>

No differences found