summaryrefslogtreecommitdiff
path: root/lib/intel_chipset.h
diff options
context:
space:
mode:
authorBen Widawsky <ben@bwidawsk.net>2012-12-04 08:38:46 -0800
committerBen Widawsky <benjamin.widawsky@intel.com>2013-11-06 09:31:46 -0800
commitf20ac4c8a10995d47a0bd853b3436e8427b58bff (patch)
tree358b1ec85500479ecc8895ff358046ec83a60795 /lib/intel_chipset.h
parent41b5fbfd60286fe8052a4b8d5eb5e315118282bb (diff)
chipset: IS_I9XX macro
This isnt useful in IGT, but it will allow us to keep the merge process with libdrm simpler. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Diffstat (limited to 'lib/intel_chipset.h')
-rw-r--r--lib/intel_chipset.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h
index adc92338..f75667b5 100644
--- a/lib/intel_chipset.h
+++ b/lib/intel_chipset.h
@@ -301,6 +301,12 @@
IS_GEN6(devid) || \
IS_GEN7(devid))
+#define IS_9XX(devid) (IS_GEN3(devid) || \
+ IS_GEN4(devid) || \
+ IS_GEN5(devid) || \
+ IS_GEN6(devid) || \
+ IS_GEN7(devid))
+
#define IS_INTEL(devid) (IS_GEN2(devid) || \
IS_GEN3(devid) || \
IS_GEN4(devid) || \