]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915/tgl: Add second TGL PCH ID
authorJames Ausmus <james.ausmus@intel.com>
Wed, 6 Nov 2019 00:55:26 +0000 (16:55 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 7 Nov 2019 00:15:27 +0000 (16:15 -0800)
Another TGP ID has shown up, so let's add it to avoid South Display
breakage on systems that have this ID.

Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: James Ausmus <james.ausmus@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191106005526.1500-1-james.ausmus@intel.com
drivers/gpu/drm/i915/intel_pch.c
drivers/gpu/drm/i915/intel_pch.h

index 000ba43e2c029f2f41a5321bddb4831fdacdfdf8..fd22355b9a96fce2602bcdddbdf5cffde8a72ea7 100644 (file)
@@ -85,6 +85,7 @@ intel_pch_type(const struct drm_i915_private *dev_priv, unsigned short id)
                WARN_ON(!IS_ELKHARTLAKE(dev_priv));
                return PCH_MCC;
        case INTEL_PCH_TGP_DEVICE_ID_TYPE:
+       case INTEL_PCH_TGP2_DEVICE_ID_TYPE:
                DRM_DEBUG_KMS("Found Tiger Lake LP PCH\n");
                WARN_ON(!IS_TIGERLAKE(dev_priv));
                return PCH_TGP;
index 1115c6a0522c24b93bd899d1fac22e88139a0115..52d145dcdb15a2db803463a5a5175a0206aa7fc0 100644 (file)
@@ -47,6 +47,7 @@ enum intel_pch {
 #define INTEL_PCH_ICP_DEVICE_ID_TYPE           0x3480
 #define INTEL_PCH_MCC_DEVICE_ID_TYPE           0x4B00
 #define INTEL_PCH_TGP_DEVICE_ID_TYPE           0xA080
+#define INTEL_PCH_TGP2_DEVICE_ID_TYPE          0x4380
 #define INTEL_PCH_JSP_DEVICE_ID_TYPE           0x4D80
 #define INTEL_PCH_JSP2_DEVICE_ID_TYPE          0x3880
 #define INTEL_PCH_P2X_DEVICE_ID_TYPE           0x7100