summaryrefslogtreecommitdiff
path: root/lib/intel_chipset.h
diff options
context:
space:
mode:
authorRodrigo Vivi <rodrigo.vivi@intel.com>2017-01-04 15:09:35 -0800
committerRodrigo Vivi <rodrigo.vivi@intel.com>2017-06-29 10:40:00 -0700
commit68a3eb192d4653860f7336610a7ecc3bc31472d5 (patch)
tree399e6ef5af63e980c669a3c67536f73f469c21a7 /lib/intel_chipset.h
parentd1baebc2fe147f702022c7ec818fb5d7b1965192 (diff)
lib/cfl: Introduce Coffeelake platform definition.
Coffeelake is a IntelĀ® Processor containing IntelĀ® HD Graphics following Kabylake. It is Gen9 graphics based platform on top of CNP PCH. On following patches we will start adding PCI IDs and the platform specific changes. Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: Clinton Taylor <clinton.a.taylor@intel.com>
Diffstat (limited to 'lib/intel_chipset.h')
-rw-r--r--lib/intel_chipset.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h
index 259b45f5..24688907 100644
--- a/lib/intel_chipset.h
+++ b/lib/intel_chipset.h
@@ -64,6 +64,7 @@ struct intel_device_info {
bool is_broxton : 1;
bool is_kabylake : 1;
bool is_geminilake : 1;
+ bool is_coffeelake : 1;
const char *codename;
};
@@ -158,6 +159,7 @@ void intel_check_pch(void);
#define IS_SKYLAKE(devid) (intel_get_device_info(devid)->is_skylake)
#define IS_BROXTON(devid) (intel_get_device_info(devid)->is_broxton)
#define IS_GEMINILAKE(devid) (intel_get_device_info(devid)->is_geminilake)
+#define IS_COFFEELAKE(devid) (intel_get_device_info(devid)->is_coffeelake)
#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)))