From: Anusha Srivatsa Date: Tue, 22 May 2018 00:25:43 +0000 (-0700) Subject: drm/i915/icl: Add Icelake PCH detection X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f17ca5010c34e99e4035f22437f8b83452584a26;p=openwrt%2Fstaging%2Fblogic.git drm/i915/icl: Add Icelake PCH detection This patch adds the support to detect PCH_ICP. Reviewed-by: Paulo Zanoni Suggested-by: Paulo Zanoni Signed-off-by: Anusha Srivatsa Signed-off-by: Michel Thierry Signed-off-by: Paulo Zanoni Link: https://patchwork.freedesktop.org/patch/msgid/20180522002558.29262-10-paulo.r.zanoni@intel.com --- 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);