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...@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))


_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to