提交 ae6935dd 编写于 作者: W Wei Shun Chang 提交者: Daniel Vetter

drm/i915: add LynxPoint-LP PCH ID

[pzanoni: rebase, print it's an LP PCH]
Signed-off-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
Tested-by: NJosh Triplett <josh@joshtriplett.org>
Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
上级 e3fef09d
......@@ -401,6 +401,7 @@ MODULE_DEVICE_TABLE(pci, pciidlist);
#define INTEL_PCH_CPT_DEVICE_ID_TYPE 0x1c00
#define INTEL_PCH_PPT_DEVICE_ID_TYPE 0x1e00
#define INTEL_PCH_LPT_DEVICE_ID_TYPE 0x8c00
#define INTEL_PCH_LPT_LP_DEVICE_ID_TYPE 0x9c00
void intel_detect_pch(struct drm_device *dev)
{
......@@ -440,6 +441,11 @@ void intel_detect_pch(struct drm_device *dev)
dev_priv->num_pch_pll = 0;
DRM_DEBUG_KMS("Found LynxPoint PCH\n");
WARN_ON(!IS_HASWELL(dev));
} else if (id == INTEL_PCH_LPT_LP_DEVICE_ID_TYPE) {
dev_priv->pch_type = PCH_LPT;
dev_priv->num_pch_pll = 0;
DRM_DEBUG_KMS("Found LynxPoint LP PCH\n");
WARN_ON(!IS_HASWELL(dev));
}
BUG_ON(dev_priv->num_pch_pll > I915_NUM_PLLS);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册