From aa2d3a688847db02b1b6f21e7e5397f9b83796fa Mon Sep 17 00:00:00 2001 From: jsg Date: Thu, 26 May 2022 04:57:00 +0000 Subject: [PATCH] drm/i915/adl-n: Add PCH Support for Alder Lake N From Tejas Upadhyay 02ed904261481460e6084769416e7ca31bbb92eb in mainline linux --- sys/dev/pci/drm/i915/intel_pch.c | 1 + sys/dev/pci/drm/i915/intel_pch.h | 1 + 2 files changed, 2 insertions(+) diff --git a/sys/dev/pci/drm/i915/intel_pch.c b/sys/dev/pci/drm/i915/intel_pch.c index 8e104528d22..2446a2b7dee 100644 --- a/sys/dev/pci/drm/i915/intel_pch.c +++ b/sys/dev/pci/drm/i915/intel_pch.c @@ -130,6 +130,7 @@ intel_pch_type(const struct drm_i915_private *dev_priv, unsigned short id) case INTEL_PCH_ADP_DEVICE_ID_TYPE: case INTEL_PCH_ADP2_DEVICE_ID_TYPE: case INTEL_PCH_ADP3_DEVICE_ID_TYPE: + case INTEL_PCH_ADP4_DEVICE_ID_TYPE: drm_dbg_kms(&dev_priv->drm, "Found Alder Lake PCH\n"); drm_WARN_ON(&dev_priv->drm, !IS_ALDERLAKE_S(dev_priv) && !IS_ALDERLAKE_P(dev_priv)); diff --git a/sys/dev/pci/drm/i915/intel_pch.h b/sys/dev/pci/drm/i915/intel_pch.h index 4ba0f1967cc..b7a8cf409d4 100644 --- a/sys/dev/pci/drm/i915/intel_pch.h +++ b/sys/dev/pci/drm/i915/intel_pch.h @@ -58,6 +58,7 @@ enum intel_pch { #define INTEL_PCH_ADP_DEVICE_ID_TYPE 0x7A80 #define INTEL_PCH_ADP2_DEVICE_ID_TYPE 0x5180 #define INTEL_PCH_ADP3_DEVICE_ID_TYPE 0x7A00 +#define INTEL_PCH_ADP4_DEVICE_ID_TYPE 0x5480 #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 */ -- 2.20.1