summaryrefslogtreecommitdiff
path: root/lib/intel_chipset.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-06-29 11:19:09 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2016-06-30 23:06:51 +0100
commit5679105766d0213df09d27edaed069048f3df1aa (patch)
tree9fb8a7cab84b5eb83aa27eff7f6ce2964e5e6bd0 /lib/intel_chipset.h
parentfa3bbcf9b7870d106efbf8f1c6706c7cda7e44d5 (diff)
intel_chipset: Convert IS_965 to use intel_gen()
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/intel_chipset.h')
-rw-r--r--lib/intel_chipset.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h
index ce130ed0..8f159ea0 100644
--- a/lib/intel_chipset.h
+++ b/lib/intel_chipset.h
@@ -453,13 +453,6 @@ void intel_check_pch(void);
(devid) == PCI_CHIP_BROXTON_3 || \
(devid) == PCI_CHIP_BROXTON_4)
-#define IS_965(devid) (IS_GEN4(devid) || \
- IS_GEN5(devid) || \
- IS_GEN6(devid) || \
- IS_GEN7(devid) || \
- IS_GEN8(devid) || \
- IS_GEN9(devid))
-
#define IS_BROADWATER(devid) ((devid) == PCI_CHIP_I946_GZ || \
(devid) == PCI_CHIP_I965_G_1 || \
(devid) == PCI_CHIP_I965_Q || \
@@ -481,6 +474,7 @@ void intel_check_pch(void);
#define IS_GEN9(devid) IS_GEN(devid, 9)
#define IS_MOBILE(devid) (intel_device_info(devid)->is_mobile)
+#define IS_965(devid) AT_LEAST_GEN(devid, 4)
#define HAS_BSD_RING(devid) AT_LEAST_GEN(devid, 5)
#define HAS_BLT_RING(devid) AT_LEAST_GEN(devid, 6)