From f20ac4c8a10995d47a0bd853b3436e8427b58bff Mon Sep 17 00:00:00 2001 From: Ben Widawsky Date: Tue, 4 Dec 2012 08:38:46 -0800 Subject: 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 --- lib/intel_chipset.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/intel_chipset.h') 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) || \ -- cgit v1.2.3