Skip to content

Commit

Permalink
drm/i915: handle 3rd pipe
Browse files Browse the repository at this point in the history
We don't need to check 3rd pipe specifically, as it shares PLL with some
other one.

Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
  • Loading branch information
Eugeni Dodonov authored and Keith Packard committed Jan 9, 2012
1 parent 5e5b7fa commit 07c1e8c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/gpu/drm/i915/i915_suspend.c
Original file line number Diff line number Diff line change
@@ -35,6 +35,10 @@ static bool i915_pipe_enabled(struct drm_device *dev, enum pipe pipe)
struct drm_i915_private *dev_priv = dev->dev_private;
u32 dpll_reg;

/* On IVB, 3rd pipe shares PLL with another one */
if (pipe > 1)
return false;

if (HAS_PCH_SPLIT(dev))
dpll_reg = PCH_DPLL(pipe);
else

0 comments on commit 07c1e8c

Please sign in to comment.