diff options
author | Anusha Srivatsa <[email protected]> | 2018-05-21 17:25:43 -0700 |
---|---|---|
committer | Paulo Zanoni <[email protected]> | 2018-06-01 16:14:26 -0700 |
commit | f17ca5010c34e99e4035f22437f8b83452584a26 (patch) | |
tree | 2bc92831b14a20a858b12d72ab77e8930dc4cb5c | |
parent | 3937eb1a076f251ecc29330a0b6ca10dbe2e633b (diff) |
drm/i915/icl: Add Icelake PCH detection
This patch adds the support to detect PCH_ICP.
Reviewed-by: Paulo Zanoni <[email protected]>
Suggested-by: Paulo Zanoni <[email protected]>
Signed-off-by: Anusha Srivatsa <[email protected]>
Signed-off-by: Michel Thierry <[email protected]>
Signed-off-by: Paulo Zanoni <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.c | 2 |
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 fe92665c8482..915758a65c96 100644 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c @@ -233,6 +233,8 @@ intel_virt_detect_pch(const struct drm_i915_private *dev_priv) id = INTEL_PCH_SPT_DEVICE_ID_TYPE; else if (IS_COFFEELAKE(dev_priv) || IS_CANNONLAKE(dev_priv)) id = INTEL_PCH_CNP_DEVICE_ID_TYPE; + else if (IS_ICELAKE(dev_priv)) + id = INTEL_PCH_ICP_DEVICE_ID_TYPE; if (id) DRM_DEBUG_KMS("Assuming PCH ID %04x\n", id); |