diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-07-25 12:47:19 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-07-25 12:51:24 +0100 |
commit | 8b0dd38681d60522e47561d0bcbeb1827eb5688c (patch) | |
tree | 8e7e7a2c5786fd79b820a741937c7aea9578ad44 /lib/intel_chipset.h | |
parent | 38f84e30e699451cac6c7b45cd603e67b1287f15 (diff) |
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 <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/intel_chipset.h')
-rw-r--r-- | lib/intel_chipset.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 */ |