summaryrefslogtreecommitdiff
path: root/intel
diff options
context:
space:
mode:
authorBen Widawsky <ben@bwidawsk.net>2016-11-10 10:28:02 -0800
committerBen Widawsky <ben@bwidawsk.net>2016-11-18 15:57:55 -0800
commit3e81f8b7b974c66915ea1bbc43d5c613c97e72c1 (patch)
tree523cda670d5b845e7c654523a626480addec633f /intel
parent317bdff14ac8f1e8735f97d96c7eb963e1e47a4a (diff)
intel: Add Geminilake PCI IDs
Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Diffstat (limited to 'intel')
-rw-r--r--intel/intel_chipset.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
index 514f6594..41fc0da0 100644
--- a/intel/intel_chipset.h
+++ b/intel/intel_chipset.h
@@ -218,6 +218,9 @@
#define PCI_CHIP_BROXTON_3 0x1A85
#define PCI_CHIP_BROXTON_4 0x5A85
+#define PCI_CHIP_GLK 0x3184
+#define PCI_CHIP_GLK_2X6 0x3185
+
#define IS_MOBILE(devid) ((devid) == PCI_CHIP_I855_GM || \
(devid) == PCI_CHIP_I915_GM || \
(devid) == PCI_CHIP_I945_GM || \
@@ -446,9 +449,13 @@
(devid) == PCI_CHIP_BROXTON_3 || \
(devid) == PCI_CHIP_BROXTON_4)
-#define IS_GEN9(devid) (IS_SKYLAKE(devid) || \
- IS_BROXTON(devid) || \
- IS_KABYLAKE(devid))
+#define IS_GEMINILAKE(devid) ((devid) == PCI_CHIP_GLK || \
+ (devid) == PCI_CHIP_GLK_2X6)
+
+#define IS_GEN9(devid) (IS_SKYLAKE(devid) || \
+ IS_BROXTON(devid) || \
+ IS_KABYLAKE(devid) || \
+ IS_GEMINILAKE(devid))
#define IS_9XX(dev) (IS_GEN3(dev) || \
IS_GEN4(dev) || \