mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 05:43:02 +00:00
context: update for new execbuf2 element
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
@@ -295,7 +295,8 @@ copy(int fd,
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user