From 83faf2b5fb2937d2b1a3c79c2802e4fce91d8652 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 29 Jun 2016 11:06:09 +0100 Subject: intel_chipset: Convert IS_IRONLAKE to device info Signed-off-by: Chris Wilson --- lib/intel_chipset.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/intel_chipset.h') diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h index f516d8ee..4f532a95 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) -- cgit v1.2.3