summaryrefslogtreecommitdiff
path: root/lib/intel_chipset.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-06-29 11:06:09 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2016-06-30 23:06:51 +0100
commit83faf2b5fb2937d2b1a3c79c2802e4fce91d8652 (patch)
tree44ed66aa76d5debf68d3801bae6cbadc305b854d /lib/intel_chipset.h
parentc85efb1b239213f5b993c6b92a0226ca3f1ede8e (diff)
intel_chipset: Convert IS_IRONLAKE to device info
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/intel_chipset.h')
-rw-r--r--lib/intel_chipset.h5
1 files changed, 2 insertions, 3 deletions
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)