summaryrefslogtreecommitdiff
path: root/tools/intel_audio_dump.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-02-01 13:35:36 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-02-01 13:37:04 +0000
commit3c5c8ba71c4c32dcac1cf0493210d21fc9b33c8a (patch)
treead650b0f236e822c221049ff3d43d76cdb87bc87 /tools/intel_audio_dump.c
parentc1e9795050b1e4b76c7f9acd3cc5071f0ecb06ed (diff)
Search for the first Intel dri device.
This is vital in a multi-GPU system so that we only test the Intel card and not the discrete GPUs. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools/intel_audio_dump.c')
-rw-r--r--tools/intel_audio_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/intel_audio_dump.c b/tools/intel_audio_dump.c
index fc8af442..ef81b6a6 100644
--- a/tools/intel_audio_dump.c
+++ b/tools/intel_audio_dump.c
@@ -1197,7 +1197,7 @@ int main(int argc, char **argv)
if (HAS_PCH_SPLIT(devid) || getenv("HAS_PCH_SPLIT")) {
intel_check_pch();
dump_cpt();
- } else if (IS_IRONLAKE(devid))
+ } else if (IS_GEN5(devid))
dump_ironlake();
else
dump_eaglelake();