[PATCH 07/18] intel_audio_dump: fix Ironlake detection

Wu Fengguang
2011-11-12T03:16:11Z

[-- Attachment #1: cpt-id --]
[-- Type: text/plain, Size: 707 bytes --]

The original test mistakenly calls dump_cpt() for Ironlake,
due to HAS_PCH_SPLIT := IS_GEN5 || IS_GEN6 || IS_GEN7.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
---
tools/intel_audio_dump.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- intel-gpu-tools.orig/tools/intel_audio_dump.c 2011-11-09 10:35:35.000000000 +0800
+++ intel-gpu-tools/tools/intel_audio_dump.c 2011-11-09 10:35:35.000000000 +0800
@@ -1194,7 +1194,7 @@ int main(int argc, char **argv)
else
intel_get_mmio(pci_dev);

- if (HAS_PCH_SPLIT(devid) || getenv("HAS_PCH_SPLIT")) {
+ if (IS_GEN6(devid) || IS_GEN7(devid) || getenv("HAS_PCH_SPLIT")) {
intel_check_pch();
dump_cpt();
} else if (IS_GEN5(devid))