aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915
diff options
context:
space:
mode:
authorPaulo Zanoni <paulo.r.zanoni@intel.com>2013-04-12 17:16:54 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-04-18 03:43:28 -0400
commit08e1413d95b50b19259fe2e425885030f93c7b85 (patch)
tree6833f88cad8b71d640f1512bc0c78ac4c1a654f2 /drivers/gpu/drm/i915
parentc40c0f5bd5b0f09e4386d2cf26c96c89c45ee539 (diff)
drm/i915: WARN when LPT-LP is not paired with ULT CPU
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index c413aab6eb74..9ebe895c17d6 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -459,11 +459,13 @@ void intel_detect_pch(struct drm_device *dev)
459 dev_priv->num_pch_pll = 0; 459 dev_priv->num_pch_pll = 0;
460 DRM_DEBUG_KMS("Found LynxPoint PCH\n"); 460 DRM_DEBUG_KMS("Found LynxPoint PCH\n");
461 WARN_ON(!IS_HASWELL(dev)); 461 WARN_ON(!IS_HASWELL(dev));
462 WARN_ON(IS_ULT(dev));
462 } else if (id == INTEL_PCH_LPT_LP_DEVICE_ID_TYPE) { 463 } else if (id == INTEL_PCH_LPT_LP_DEVICE_ID_TYPE) {
463 dev_priv->pch_type = PCH_LPT; 464 dev_priv->pch_type = PCH_LPT;
464 dev_priv->num_pch_pll = 0; 465 dev_priv->num_pch_pll = 0;
465 DRM_DEBUG_KMS("Found LynxPoint LP PCH\n"); 466 DRM_DEBUG_KMS("Found LynxPoint LP PCH\n");
466 WARN_ON(!IS_HASWELL(dev)); 467 WARN_ON(!IS_HASWELL(dev));
468 WARN_ON(!IS_ULT(dev));
467 } 469 }
468 BUG_ON(dev_priv->num_pch_pll > I915_NUM_PLLS); 470 BUG_ON(dev_priv->num_pch_pll > I915_NUM_PLLS);
469 } 471 }