From b6f86da44953646e263ef23c21dac1dcee7eaff5 Mon Sep 17 00:00:00 2001 From: jsg Date: Thu, 26 May 2022 04:52:50 +0000 Subject: [PATCH] drm/i915/rpl-s: Add PCH Support for Raptor Lake S From Anusha Srivatsa 4a75f32fc783128d0c42ef73fa62a20379a66828 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 0ef8991974d..8e104528d22 100644 --- a/sys/dev/pci/drm/i915/intel_pch.c +++ b/sys/dev/pci/drm/i915/intel_pch.c @@ -129,6 +129,7 @@ intel_pch_type(const struct drm_i915_private *dev_priv, unsigned short id) return PCH_JSP; case INTEL_PCH_ADP_DEVICE_ID_TYPE: case INTEL_PCH_ADP2_DEVICE_ID_TYPE: + case INTEL_PCH_ADP3_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 994c56fcb19..4ba0f1967cc 100644 --- a/sys/dev/pci/drm/i915/intel_pch.h +++ b/sys/dev/pci/drm/i915/intel_pch.h @@ -57,6 +57,7 @@ enum intel_pch { #define INTEL_PCH_JSP_DEVICE_ID_TYPE 0x4D80 #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_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