context: update for new execbuf2 element

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
Ben Widawsky
2012-03-18 18:42:44 -07:00
parent b28a399dcd
commit 5a28ef8580
12 changed files with 26 additions and 12 deletions
+2 -1
View File
@@ -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) {