diff options
| author | Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay@intel.com> | 2021-12-21 11:07:56 +0530 |
|---|---|---|
| committer | Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay@intel.com> | 2021-12-21 15:33:02 +0530 |
| commit | 2f59b36a40331e98610dab12baefbe82b6e3cef0 (patch) | |
| tree | b472d0cdfdedd4d04585ca811d040568b48df591 /lib | |
| parent | 43be17dbf2a2e05b7e0b45f2f3d8e973754a4125 (diff) | |
lib/adl_n: Add Alder Lake N platform definition
Adding Alder lake N platform definitions
Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay@intel.com>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/intel_chipset.h | 2 | ||||
| -rw-r--r-- | lib/intel_device_info.c | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h index cf8ff1ae..3527cbe5 100644 --- a/lib/intel_chipset.h +++ b/lib/intel_chipset.h @@ -80,6 +80,7 @@ struct intel_device_info { bool is_alderlake_s : 1; bool is_raptorlake_s : 1; bool is_alderlake_p : 1; + bool is_alderlake_n : 1; const char *codename; }; @@ -184,6 +185,7 @@ void intel_check_pch(void); #define IS_ALDERLAKE_S(devid) (intel_get_device_info(devid)->is_alderlake_s) #define IS_RAPTORLAKE_S(devid) (intel_get_device_info(devid)->is_raptorlake_s) #define IS_ALDERLAKE_P(devid) (intel_get_device_info(devid)->is_alderlake_p) +#define IS_ALDERLAKE_N(devid) (intel_get_device_info(devid)->is_alderlake_n) #define IS_GEN(devid, x) (intel_get_device_info(devid)->graphics_ver == x) #define AT_LEAST_GEN(devid, x) (intel_get_device_info(devid)->graphics_ver >= x) diff --git a/lib/intel_device_info.c b/lib/intel_device_info.c index 178e7d0a..40942afe 100644 --- a/lib/intel_device_info.c +++ b/lib/intel_device_info.c @@ -410,6 +410,13 @@ static const struct intel_device_info intel_alderlake_p_info = { .codename = "alderlake_p" }; +static const struct intel_device_info intel_alderlake_n_info = { + .graphics_ver = 12, + .display_ver = 13, + .is_alderlake_n = true, + .codename = "alderlake_n" +}; + static const struct pci_id_match intel_device_match[] = { INTEL_I810_IDS(&intel_i810_info), INTEL_I815_IDS(&intel_i815_info), @@ -503,6 +510,7 @@ static const struct pci_id_match intel_device_match[] = { INTEL_ADLS_IDS(&intel_alderlake_s_info), INTEL_RPLS_IDS(&intel_raptorlake_s_info), INTEL_ADLP_IDS(&intel_alderlake_p_info), + INTEL_ADLN_IDS(&intel_alderlake_n_info), INTEL_VGA_DEVICE(PCI_MATCH_ANY, &intel_generic_info), }; |
