summaryrefslogtreecommitdiff
path: root/tests/gen3_render_linear_blits.c
diff options
context:
space:
mode:
authorBen Widawsky <ben@bwidawsk.net>2012-03-18 18:42:44 -0700
committerBen Widawsky <ben@bwidawsk.net>2012-06-14 10:15:42 -0700
commit5a28ef8580a83375fc663b84873c4e18207ed3fb (patch)
tree0f0c7e0af273577480109c174b4f347a2483f4d5 /tests/gen3_render_linear_blits.c
parentb28a399dcd8d28b6b9bde4baa105f9e78e520122 (diff)
context: update for new execbuf2 element
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Diffstat (limited to 'tests/gen3_render_linear_blits.c')
-rw-r--r--tests/gen3_render_linear_blits.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/gen3_render_linear_blits.c b/tests/gen3_render_linear_blits.c
index f47478943..529e23ff8 100644
--- a/tests/gen3_render_linear_blits.c
+++ b/tests/gen3_render_linear_blits.c
@@ -281,7 +281,8 @@ copy(int fd, uint32_t dst, uint32_t src)
exec.num_cliprects = 0;
exec.cliprects_ptr = 0;
exec.flags = 0;
- exec.rsvd1 = exec.rsvd2 = 0;
+ i915_execbuffer2_set_context_id(exec, 0);
+ exec.rsvd2 = 0;
ret = drmIoctl(fd, DRM_IOCTL_I915_GEM_EXECBUFFER2, &exec);
while (ret && errno == EBUSY) {