summaryrefslogtreecommitdiff
path: root/tests/gem_bad_batch.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-10-26 10:59:18 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-10-26 11:46:52 +0100
commitd4d769a4329f3f22842f8270fca46047bd4892ce (patch)
tree095bf321488170b5d14943a179cbac644d6f535c /tests/gem_bad_batch.c
parent8934395d9d3b5910a52785d69a8da4516c4d82a6 (diff)
Prepare for split BLT ring on Sandybridge.
Depends on libdrm 057fab3382c02af54126ce395c43d4e6dce9439a Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31123 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/gem_bad_batch.c')
-rw-r--r--tests/gem_bad_batch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_bad_batch.c b/tests/gem_bad_batch.c
index da2870bf..db6636ae 100644
--- a/tests/gem_bad_batch.c
+++ b/tests/gem_bad_batch.c
@@ -64,7 +64,7 @@ int main(int argc, char **argv)
bufmgr = drm_intel_bufmgr_gem_init(fd, 4096);
drm_intel_bufmgr_gem_enable_reuse(bufmgr);
- batch = intel_batchbuffer_alloc(bufmgr);
+ batch = intel_batchbuffer_alloc(bufmgr, intel_get_drm_devid(fd));
bad_batch();