diff options
Diffstat (limited to 'tests/gen3_mixed_blits.c')
-rw-r--r-- | tests/gen3_mixed_blits.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/gen3_mixed_blits.c b/tests/gen3_mixed_blits.c index 0e2fdbc..5bb6d86 100644 --- a/tests/gen3_mixed_blits.c +++ b/tests/gen3_mixed_blits.c @@ -312,7 +312,8 @@ render_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) { @@ -389,7 +390,8 @@ static void blt_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) { |