diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-02-01 13:35:36 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-02-01 13:37:04 +0000 |
commit | 3c5c8ba71c4c32dcac1cf0493210d21fc9b33c8a (patch) | |
tree | ad650b0f236e822c221049ff3d43d76cdb87bc87 /tools/intel_gpu_top.c | |
parent | c1e9795050b1e4b76c7f9acd3cc5071f0ecb06ed (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_gpu_top.c')
-rw-r--r-- | tools/intel_gpu_top.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/intel_gpu_top.c b/tools/intel_gpu_top.c index 19fa0e94..e9fbf43d 100644 --- a/tools/intel_gpu_top.c +++ b/tools/intel_gpu_top.c @@ -409,7 +409,7 @@ int main(int argc, char **argv) } ring_init(&render_ring); - if (IS_GEN4(devid) || IS_IRONLAKE(devid)) + if (IS_GEN4(devid) || IS_GEN5(devid)) ring_init(&bsd_ring); if (IS_GEN6(devid)) { ring_init(&bsd6_ring); |