Hi Christopher,

> Now, onto the intel-gpu-tools test. I ran intel_audio_dump as requested 
> and it only comes back with "Couldn't map MMIO region: No such file or 
> directory". I spent 10 minutes looking around on Google to no avail. It 
> seems it tries to mmap() something that doesn't exist.

What if you run it with

        export HAS_PCH_SPLIT=1
        intel_audio_dump

I also queued a patch for the tool. Note that if the above trick
failed to work, the applied patch won't help, too.

Thanks,
Fengguang
Subject: intel_audio_dump: fix CPT detection logic
Date: Wed Nov 02 17:16:39 CST 2011


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