drm/i915/ehl: Add one additional PCH ID to MCC
authorMatt Roper <matthew.d.roper@intel.com>
Fri, 21 Jun 2019 15:18:47 +0000 (08:18 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 25 Jun 2019 15:42:01 +0000 (08:42 -0700)
There's one additional ID that we should treat as Mule Creek Canyon.

Cc: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190621151847.31302-1-matthew.d.roper@intel.com
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h

index 4a211d5e2701936c84c447d5dd95fab78da0e3ea..6241a4615501f3a7a9c053ff587d52c12cc05ec1 100644 (file)
@@ -220,6 +220,7 @@ intel_pch_type(const struct drm_i915_private *dev_priv, unsigned short id)
                WARN_ON(!IS_ICELAKE(dev_priv));
                return PCH_ICP;
        case INTEL_PCH_MCC_DEVICE_ID_TYPE:
+       case INTEL_PCH_MCC2_DEVICE_ID_TYPE:
                DRM_DEBUG_KMS("Found Mule Creek Canyon PCH\n");
                WARN_ON(!IS_ELKHARTLAKE(dev_priv));
                return PCH_MCC;
index 4077d15fe429370e06e26d147f6cd09eaaa4b0bc..118c5d2d834bb02ef71218efb9746c31004cb045 100644 (file)
@@ -2323,6 +2323,7 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915,
 #define INTEL_PCH_CMP_DEVICE_ID_TYPE           0x0280
 #define INTEL_PCH_ICP_DEVICE_ID_TYPE           0x3480
 #define INTEL_PCH_MCC_DEVICE_ID_TYPE           0x4B00
+#define INTEL_PCH_MCC2_DEVICE_ID_TYPE          0x3880
 #define INTEL_PCH_P2X_DEVICE_ID_TYPE           0x7100
 #define INTEL_PCH_P3X_DEVICE_ID_TYPE           0x7000
 #define INTEL_PCH_QEMU_DEVICE_ID_TYPE          0x2900 /* qemu q35 has 2918 */