[PATCH igt 03/17] intel_chipset: Convert IS_965 to use intel_gen()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
---
 lib/intel_chipset.h | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h
index ce130ed..8f159ea 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)
-- 
2.8.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux