Commit c792513b authored by Jesse Barnes's avatar Jesse Barnes Committed by Keith Packard

drm/i915: add PantherPoint PCH ID

We can treat PantherPoint as CougarPoint as far as display goes.
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: default avatarKeith Packard <keithp@keithp.com>
Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
parent 246d08b8
...@@ -236,6 +236,7 @@ MODULE_DEVICE_TABLE(pci, pciidlist); ...@@ -236,6 +236,7 @@ MODULE_DEVICE_TABLE(pci, pciidlist);
#define INTEL_PCH_DEVICE_ID_MASK 0xff00 #define INTEL_PCH_DEVICE_ID_MASK 0xff00
#define INTEL_PCH_CPT_DEVICE_ID_TYPE 0x1c00 #define INTEL_PCH_CPT_DEVICE_ID_TYPE 0x1c00
#define INTEL_PCH_PPT_DEVICE_ID_TYPE 0x1e00
void intel_detect_pch (struct drm_device *dev) void intel_detect_pch (struct drm_device *dev)
{ {
...@@ -257,6 +258,10 @@ void intel_detect_pch (struct drm_device *dev) ...@@ -257,6 +258,10 @@ void intel_detect_pch (struct drm_device *dev)
if (id == INTEL_PCH_CPT_DEVICE_ID_TYPE) { if (id == INTEL_PCH_CPT_DEVICE_ID_TYPE) {
dev_priv->pch_type = PCH_CPT; dev_priv->pch_type = PCH_CPT;
DRM_DEBUG_KMS("Found CougarPoint PCH\n"); DRM_DEBUG_KMS("Found CougarPoint PCH\n");
} else if (id == INTEL_PCH_PPT_DEVICE_ID_TYPE) {
/* PantherPoint is CPT compatible */
dev_priv->pch_type = PCH_CPT;
DRM_DEBUG_KMS("Found PatherPoint PCH\n");
} }
} }
pci_dev_put(pch); pci_dev_put(pch);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment