summaryrefslogtreecommitdiff
path: root/tests/gem_exec_blt.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2011-05-06 12:15:50 -0700
committerEric Anholt <eric@anholt.net>2011-05-17 17:54:26 -0700
commitd73cdde45afc41fb7b36829eda1af763af682ada (patch)
tree7bcc71a88496c423d22b23cbd72db22c0fc4b293 /tests/gem_exec_blt.c
parenta825173a5f2154b0491f7b5554c10ab7146b4592 (diff)
Add Ivybridge support to intel_gpu_dump and the BLT tests.
Diffstat (limited to 'tests/gem_exec_blt.c')
-rw-r--r--tests/gem_exec_blt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_exec_blt.c b/tests/gem_exec_blt.c
index 9ea4c4e7..19eb7167 100644
--- a/tests/gem_exec_blt.c
+++ b/tests/gem_exec_blt.c
@@ -253,7 +253,7 @@ static void run(int object_size)
exec[2].rsvd2 = 0;
ring = 0;
- if (IS_GEN6(intel_get_drm_devid(fd)))
+ if (HAS_BLT_RING(intel_get_drm_devid(fd)))
ring = I915_EXEC_BLT;
execbuf.buffers_ptr = (uintptr_t)exec;