From 314be9a8a99c6d89b0c909cb4523ecf5812a7381 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 29 Jun 2016 11:06:09 +0100 Subject: intel_chipset: Convert IS_HASWELL to device info Signed-off-by: Chris Wilson --- lib/intel_chipset.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib/intel_chipset.h') diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h index b56457ad..162216ec 100644 --- a/lib/intel_chipset.h +++ b/lib/intel_chipset.h @@ -372,10 +372,6 @@ void intel_check_pch(void); (devid) == PCI_CHIP_HASWELL_CRW_B_GT3 || \ (devid) == PCI_CHIP_HASWELL_CRW_E_GT3) -#define IS_HASWELL(devid) (IS_HSW_GT1(devid) || \ - IS_HSW_GT2(devid) || \ - IS_HSW_GT3(devid)) - #define IS_SKL_GT1(devid) ((devid) == PCI_CHIP_SKYLAKE_ULT_GT1 || \ (devid) == PCI_CHIP_SKYLAKE_ULX_GT1 || \ (devid) == PCI_CHIP_SKYLAKE_DT_GT1 || \ @@ -423,6 +419,7 @@ void intel_check_pch(void); #define IS_KBL_GT4(devid) ((devid) == PCI_CHIP_KABYLAKE_HALO_GT4) +#define IS_HASWELL(devid) (intel_device_info(devid)->is_haswell) #define IS_BROADWELL(devid) (intel_device_info(devid)->is_broadwell) #define IS_CHERRYVIEW(devid) (intel_device_info(devid)->is_cherryview) #define IS_KABYLAKE(devid) (intel_device_info(devid)->is_kabylake) -- cgit v1.2.3