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