diff options
author | Eugeni Dodonov <eugeni.dodonov@intel.com> | 2012-01-07 20:40:35 -0500 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-01-09 17:17:53 -0500 |
commit | 07c1e8c1462fa7324de4c36ae9e55da2abd79cee (patch) | |
tree | a63b70ca032659120000821247115a502dd49f7d /drivers/gpu | |
parent | 5e5b7fa2ad84f7806d0c7f5af8e1440bc91b4ec7 (diff) |
drm/i915: handle 3rd pipe
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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/i915/i915_suspend.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_suspend.c b/drivers/gpu/drm/i915/i915_suspend.c index c0b945cdcd9a..30d924f447c0 100644 --- a/drivers/gpu/drm/i915/i915_suspend.c +++ b/drivers/gpu/drm/i915/i915_suspend.c | |||
@@ -35,6 +35,10 @@ static bool i915_pipe_enabled(struct drm_device *dev, enum pipe pipe) | |||
35 | struct drm_i915_private *dev_priv = dev->dev_private; | 35 | struct drm_i915_private *dev_priv = dev->dev_private; |
36 | u32 dpll_reg; | 36 | u32 dpll_reg; |
37 | 37 | ||
38 | /* On IVB, 3rd pipe shares PLL with another one */ | ||
39 | if (pipe > 1) | ||
40 | return false; | ||
41 | |||
38 | if (HAS_PCH_SPLIT(dev)) | 42 | if (HAS_PCH_SPLIT(dev)) |
39 | dpll_reg = PCH_DPLL(pipe); | 43 | dpll_reg = PCH_DPLL(pipe); |
40 | else | 44 | else |