From: Damien Lespiau <[email protected]>

v2: Rebase on top of the SKL upstreaming

Signed-off-by: Damien Lespiau <[email protected]>
Signed-off-by: Ben Widawsky <[email protected]>
---
 lib/intel_chipset.h | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h
index 3c66744..37554e6 100644
--- a/lib/intel_chipset.h
+++ b/lib/intel_chipset.h
@@ -206,6 +206,11 @@ void intel_check_pch(void);
 #define PCI_CHIP_SKYLAKE_SRV_GT1       0x190A
 #define PCI_CHIP_SKYLAKE_WKS_GT2       0x191D
 
+#define PCI_CHIP_BROXTON_0             0x0A84
+#define PCI_CHIP_BROXTON_1             0x0A85
+#define PCI_CHIP_BROXTON_2             0x0A86
+#define PCI_CHIP_BROXTON_3             0x0A87
+
 #endif /* __GTK_DOC_IGNORE__ */
 
 #define IS_MOBILE(devid)       ((devid) == PCI_CHIP_I855_GM || \
@@ -390,7 +395,12 @@ void intel_check_pch(void);
                                 IS_SKL_GT2(devid) || \
                                 IS_SKL_GT3(devid))
 
-#define IS_GEN9(devid)         IS_SKYLAKE(devid)
+#define IS_BROXTON(devid)      ((devid) == PCI_CHIP_BROXTON_0 || \
+                                (devid) == PCI_CHIP_BROXTON_1 || \
+                                (devid) == PCI_CHIP_BROXTON_2 || \
+                                (devid) == PCI_CHIP_BROXTON_3)
+
+#define IS_GEN9(devid)         (IS_SKYLAKE(devid) || IS_BROXTON(devid))
 
 #define IS_965(devid)          (IS_GEN4(devid) || \
                                 IS_GEN5(devid) || \
-- 
2.1.0

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to