From 3c5c8ba71c4c32dcac1cf0493210d21fc9b33c8a Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 1 Feb 2011 13:35:36 +0000 Subject: 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 --- tools/intel_gpu_top.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/intel_gpu_top.c') 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); -- cgit v1.2.3