diff options
author | Ben Widawsky <ben@bwidawsk.net> | 2012-12-04 08:38:46 -0800 |
---|---|---|
committer | Ben Widawsky <benjamin.widawsky@intel.com> | 2013-11-06 09:31:46 -0800 |
commit | f20ac4c8a10995d47a0bd853b3436e8427b58bff (patch) | |
tree | 358b1ec85500479ecc8895ff358046ec83a60795 | |
parent | 41b5fbfd60286fe8052a4b8d5eb5e315118282bb (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>
-rw-r--r-- | lib/intel_chipset.h | 6 |
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) || \ |