summaryrefslogtreecommitdiff
path: root/tests/gem_pin.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_pin.c')
-rw-r--r--tests/gem_pin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gem_pin.c b/tests/gem_pin.c
index e49d0f7f..8da75c5b 100644
--- a/tests/gem_pin.c
+++ b/tests/gem_pin.c
@@ -80,7 +80,7 @@ static void exec(int fd, uint32_t handle, uint32_t offset)
i915_execbuffer2_set_context_id(execbuf, 0);
execbuf.rsvd2 = 0;
- do_or_die(drmIoctl(fd, DRM_IOCTL_I915_GEM_EXECBUFFER2, &execbuf));
+ do_ioctl(fd, DRM_IOCTL_I915_GEM_EXECBUFFER2, &execbuf);
igt_assert(gem_exec[0].offset == offset);
}
@@ -172,7 +172,7 @@ static void make_busy(int fd, uint32_t handle)
gem_write(fd, handle, 0, batch, execbuf.batch_len);
for (count = 0; count < 10; count++)
- do_or_die(drmIoctl(fd, DRM_IOCTL_I915_GEM_EXECBUFFER2, &execbuf));
+ do_ioctl(fd, DRM_IOCTL_I915_GEM_EXECBUFFER2, &execbuf);
gem_close(fd, tmp);
}