From 8b0dd38681d60522e47561d0bcbeb1827eb5688c Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 25 Jul 2016 12:47:19 +0100 Subject: intel_chipset: Fixup HAS_PCH_SPLIT() to exclude Atoms The Atoms do not have the PCH split, exclude them from HAS_PCH_SPLIT(). At the time, I was planning to add the feature flag and make intel_pch_type() useful, but for now take the simple option of expanding th predicate. Signed-off-by: Chris Wilson --- lib/intel_chipset.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/intel_chipset.h') diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h index 1716b835..fe4928ac 100644 --- a/lib/intel_chipset.h +++ b/lib/intel_chipset.h @@ -172,6 +172,9 @@ void intel_check_pch(void); #define HAS_BSD_RING(devid) AT_LEAST_GEN(devid, 5) #define HAS_BLT_RING(devid) AT_LEAST_GEN(devid, 6) -#define HAS_PCH_SPLIT(devid) AT_LEAST_GEN(devid, 5) /* XXX Valleyview? */ +#define HAS_PCH_SPLIT(devid) (AT_LEAST_GEN(devid, 5) && \ + !(IS_VALLEYVIEW(devid) || \ + IS_CHERRYVIEW(devid) || \ + IS_BROXTON(devid))) #endif /* _INTEL_CHIPSET_H */ -- cgit v1.2.3