[Intel-gfx] [PATCH igt 05/17] intel_chipset: Convert IS_BROXTON to device info
Chris Wilson
chris at chris-wilson.co.uk
Wed Jun 29 11:38:55 UTC 2016
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
---
lib/intel_chipset.h | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h
index 6f7f26d..37f8ed0 100644
--- a/lib/intel_chipset.h
+++ b/lib/intel_chipset.h
@@ -447,11 +447,7 @@ void intel_check_pch(void);
IS_SKL_GT3(devid) || \
IS_SKL_GT4(devid))
-#define IS_BROXTON(devid) ((devid) == PCI_CHIP_BROXTON_0 || \
- (devid) == PCI_CHIP_BROXTON_1 || \
- (devid) == PCI_CHIP_BROXTON_2 || \
- (devid) == PCI_CHIP_BROXTON_3 || \
- (devid) == PCI_CHIP_BROXTON_4)
+#define IS_BROXTON(devid) (intel_device_info(devid)->is_broxton)
#define IS_BROADWATER(devid) (intel_device_info(devid)->is_broadwater)
#define IS_CRESTLINE(devid) (intel_device_info(devid)->is_crestline)
--
2.8.1
More information about the Intel-gfx
mailing list