From 440e2d7a34de5c839c4d6d758b21b1bc359255d5 Mon Sep 17 00:00:00 2001 From: Tejas Upadhyay Date: Tue, 21 Dec 2021 15:24:59 +0530 Subject: [PATCH] intel: Add support for ADL-N Add ADL-N platform support and PCIIDs Align with kernel commit: 7e28d0b26759 ("drm/i915/adl-n: Enable ADL-N platform") Reviewed-by: Lionel Landwerlin Signed-off-by: Tejas Upadhyay --- intel/i915_pciids.h | 6 ++++++ intel/intel_chipset.c | 1 + 2 files changed, 7 insertions(+) diff --git a/intel/i915_pciids.h b/intel/i915_pciids.h index a1fb657a..8076d40c 100644 --- a/intel/i915_pciids.h +++ b/intel/i915_pciids.h @@ -666,6 +666,12 @@ INTEL_VGA_DEVICE(0x46C2, info), \ INTEL_VGA_DEVICE(0x46C3, info) +/* ADL-N */ +#define INTEL_ADLN_IDS(info) \ + INTEL_VGA_DEVICE(0x46D0, info), \ + INTEL_VGA_DEVICE(0x46D1, info), \ + INTEL_VGA_DEVICE(0x46D2, info) + /* RPL-S */ #define INTEL_RPLS_IDS(info) \ INTEL_VGA_DEVICE(0xA780, info), \ diff --git a/intel/intel_chipset.c b/intel/intel_chipset.c index a0952b76..99ad04ae 100644 --- a/intel/intel_chipset.c +++ b/intel/intel_chipset.c @@ -36,6 +36,7 @@ static const struct pci_device { } pciids[] = { /* Keep ids sorted by gen; latest gen first */ INTEL_RPLS_IDS(12), + INTEL_ADLN_IDS(12), INTEL_ADLP_IDS(12), INTEL_ADLS_IDS(12), INTEL_RKL_IDS(12),