diff options
Diffstat (limited to 'tests/gem_wait_render_timeout.c')
-rw-r--r-- | tests/gem_wait_render_timeout.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/gem_wait_render_timeout.c b/tests/gem_wait_render_timeout.c index ae317298..3253d7ff 100644 --- a/tests/gem_wait_render_timeout.c +++ b/tests/gem_wait_render_timeout.c @@ -80,17 +80,6 @@ gem_bo_wait_timeout(int fd, uint32_t handle, uint64_t *timeout_ns) return ret ? -errno : 0; } -static bool -gem_bo_busy(int fd, uint32_t handle) -{ - struct drm_i915_gem_busy busy; - - busy.handle = handle; - do_or_die(drmIoctl(fd, DRM_IOCTL_I915_GEM_BUSY, &busy)); - - return !!busy.busy; -} - static void blt_color_fill(struct intel_batchbuffer *batch, drm_intel_bo *buf, const unsigned int pages) |