diff options
author | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2017-01-03 09:47:20 -0800 |
---|---|---|
committer | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2018-05-01 13:33:53 -0700 |
commit | 8af1b43a13d43c0750c1a5b07a9f498d2eaaa47c (patch) | |
tree | 54a8a67e98a71bbb02f547e8008c2bd8feeec588 /lib/intel_chipset.h | |
parent | 0896b88d1b80244832f9eacbca993c5121315d05 (diff) |
lib: Add Icelake platform definition
v2 (made by Paulo): PCI IDs are now part of a previous patch, so we
can move the INTEL_ICL_11_IDs macro to this patch and avoid the
compilation warining on unused intel_icelake_info.
v3 (made by Paulo): fix the changelog (Antonio).
Acked-by: Antonio Argenziano <antonio.argenziano@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Diffstat (limited to 'lib/intel_chipset.h')
-rw-r--r-- | lib/intel_chipset.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h index 9250f4f9..40170b7b 100644 --- a/lib/intel_chipset.h +++ b/lib/intel_chipset.h @@ -67,6 +67,7 @@ struct intel_device_info { bool is_geminilake : 1; bool is_coffeelake : 1; bool is_cannonlake : 1; + bool is_icelake : 1; const char *codename; }; @@ -163,6 +164,7 @@ void intel_check_pch(void); #define IS_GEMINILAKE(devid) (intel_get_device_info(devid)->is_geminilake) #define IS_COFFEELAKE(devid) (intel_get_device_info(devid)->is_coffeelake) #define IS_CANNONLAKE(devid) (intel_get_device_info(devid)->is_cannonlake) +#define IS_ICELAKE(devid) (intel_get_device_info(devid)->is_icelake) #define IS_GEN(devid, x) (intel_get_device_info(devid)->gen & (1u << ((x)-1))) #define AT_LEAST_GEN(devid, x) (intel_get_device_info(devid)->gen & -(1u << ((x)-1))) @@ -176,6 +178,7 @@ void intel_check_pch(void); #define IS_GEN8(devid) IS_GEN(devid, 8) #define IS_GEN9(devid) IS_GEN(devid, 9) #define IS_GEN10(devid) IS_GEN(devid, 10) +#define IS_GEN11(devid) IS_GEN(devid, 11) #define IS_MOBILE(devid) (intel_get_device_info(devid)->is_mobile) #define IS_965(devid) AT_LEAST_GEN(devid, 4) |