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 /tools/intel_watermark.c | |
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 'tools/intel_watermark.c')
-rw-r--r-- | tools/intel_watermark.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/intel_watermark.c b/tools/intel_watermark.c index 68bd8ec8..e9a2b057 100644 --- a/tools/intel_watermark.c +++ b/tools/intel_watermark.c @@ -900,11 +900,11 @@ int main(int argc, char *argv[]) { devid = intel_get_pci_device()->device_id; - if (HAS_PCH_SPLIT(devid)) { - ilk_wm_dump(); - } else if (IS_VALLEYVIEW(devid) || IS_CHERRYVIEW(devid)) { + if (IS_VALLEYVIEW(devid) || IS_CHERRYVIEW(devid)) { display_base = 0x180000; vlv_wm_dump(); + } else if (HAS_PCH_SPLIT(devid)) { + ilk_wm_dump(); } else if (IS_G4X(devid)) { g4x_wm_dump(); } else if (IS_GEN4(devid)) { |