[Intel-gfx] [PATCH igt 06/17] intel_chipset: Convert IS_SKYLAKE to device info

Chris Wilson chris at chris-wilson.co.uk
Wed Jun 29 11:38:56 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 37f8ed0..146c650 100644
--- a/lib/intel_chipset.h
+++ b/lib/intel_chipset.h
@@ -442,11 +442,7 @@ void intel_check_pch(void);
  				 IS_KBL_GT3(devid) || \
  				 IS_KBL_GT4(devid))
 
-#define IS_SKYLAKE(devid)	(IS_SKL_GT1(devid) || \
-				 IS_SKL_GT2(devid) || \
-				 IS_SKL_GT3(devid) || \
-				 IS_SKL_GT4(devid))
-
+#define IS_SKYLAKE(devid)	(intel_device_info(devid)->is_skylake)
 #define IS_BROXTON(devid)	(intel_device_info(devid)->is_broxton)
 
 #define IS_BROADWATER(devid)	(intel_device_info(devid)->is_broadwater)
-- 
2.8.1



More information about the Intel-gfx mailing list