[PATCH 6/9] drm/i915: Fix PCH SSC reference clock settings

2011-09-28 Thread Chris Wilson
On Tue, 27 Sep 2011 11:03:43 -0700, Keith Packard wrote: Non-text part: multipart/signed > On Tue, 27 Sep 2011 17:47:10 +0100, Chris Wilson chris-wilson.co.uk> wrote: > > On Mon, 26 Sep 2011 23:11:43 -0700, Keith Packard > > wrote: > > > The PCH refclk settings are global, so we need to look at

Re: [PATCH 6/9] drm/i915: Fix PCH SSC reference clock settings

2011-09-28 Thread Keith Packard
On Wed, 28 Sep 2011 10:09:13 +0100, Chris Wilson wrote: > My understanding was that we could not enable SSC at all if we had a VGA, > DVI/HDMI or TV output; DP may or may not work with SSC. Yeah, which makes no sense at all. If this were true, we'd have to turn off the LVDS/eDP panel whenever e

[PATCH 6/9] drm/i915: Fix PCH SSC reference clock settings

2011-09-28 Thread Keith Packard
On Wed, 28 Sep 2011 10:09:13 +0100, Chris Wilson wrote: > My understanding was that we could not enable SSC at all if we had a VGA, > DVI/HDMI or TV output; DP may or may not work with SSC. Yeah, which makes no sense at all. If this were true, we'd have to turn off the LVDS/eDP panel whenever e

Re: [PATCH 6/9] drm/i915: Fix PCH SSC reference clock settings

2011-09-28 Thread Chris Wilson
On Tue, 27 Sep 2011 11:03:43 -0700, Keith Packard wrote: Non-text part: multipart/signed > On Tue, 27 Sep 2011 17:47:10 +0100, Chris Wilson > wrote: > > On Mon, 26 Sep 2011 23:11:43 -0700, Keith Packard wrote: > > > The PCH refclk settings are global, so we need to look at all of the > > > enco

[PATCH 6/9] drm/i915: Fix PCH SSC reference clock settings

2011-09-27 Thread Chris Wilson
On Mon, 26 Sep 2011 23:11:43 -0700, Keith Packard wrote: > 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

Re: [PATCH 6/9] drm/i915: Fix PCH SSC reference clock settings

2011-09-27 Thread Keith Packard
On Tue, 27 Sep 2011 17:47:10 +0100, Chris Wilson wrote: > On Mon, 26 Sep 2011 23:11:43 -0700, Keith Packard wrote: > > 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

[PATCH 6/9] drm/i915: Fix PCH SSC reference clock settings

2011-09-27 Thread Keith Packard
On Tue, 27 Sep 2011 17:47:10 +0100, Chris Wilson wrote: > On Mon, 26 Sep 2011 23:11:43 -0700, Keith Packard > wrote: > > 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 wi

Re: [PATCH 6/9] drm/i915: Fix PCH SSC reference clock settings

2011-09-27 Thread Chris Wilson
On Mon, 26 Sep 2011 23:11:43 -0700, Keith Packard wrote: > 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

[PATCH 6/9] drm/i915: Fix PCH SSC reference clock settings

2011-09-26 Thread Keith Packard
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-b

[PATCH 6/9] drm/i915: Fix PCH SSC reference clock settings

2011-09-26 Thread Keith Packard
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-b