[Intel-gfx] [PATCH igt 12/17] intel_chipset: Convert IS_IRONLAKE to device info
Chris Wilson
chris at chris-wilson.co.uk
Wed Jun 29 11:39:02 UTC 2016
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
---
lib/intel_chipset.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h
index f516d8e..4f532a9 100644
--- a/lib/intel_chipset.h
+++ b/lib/intel_chipset.h
@@ -280,9 +280,6 @@ void intel_check_pch(void);
#define IS_GM45(devid) ((devid) == PCI_CHIP_GM45_GM)
#define IS_G4X(devid) (IS_G45(devid) || IS_GM45(devid))
-#define IS_ILD(devid) ((devid) == PCI_CHIP_ILD_G)
-#define IS_ILM(devid) ((devid) == PCI_CHIP_ILM_G)
-
#define IS_915(devid) ((devid) == PCI_CHIP_I915_G || \
(devid) == PCI_CHIP_E7221_G || \
(devid) == PCI_CHIP_I915_GM)
@@ -407,6 +404,8 @@ void intel_check_pch(void);
#define IS_KBL_GT4(devid) ((devid) == PCI_CHIP_KABYLAKE_HALO_GT4)
+#define IS_IRONLAKE(devid) (intel_device_info(devid)->is_ironlake)
+#define IS_ARRANDALE(devid) (intel_device_info(devid)->is_arrandale)
#define IS_IVYBRIDGE(devid) (intel_device_info(devid)->is_ivybridge)
#define IS_VALLEYVIEW(devid) (intel_device_info(devid)->is_valleyview)
#define IS_HASWELL(devid) (intel_device_info(devid)->is_haswell)
--
2.8.1
More information about the Intel-gfx
mailing list