diff options
Diffstat (limited to 'benchmarks/gem_exec_nop.c')
-rw-r--r-- | benchmarks/gem_exec_nop.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/benchmarks/gem_exec_nop.c b/benchmarks/gem_exec_nop.c index 8ea5a43c..2c39b9c3 100644 --- a/benchmarks/gem_exec_nop.c +++ b/benchmarks/gem_exec_nop.c @@ -55,14 +55,6 @@ static double elapsed(const struct timespec *start, return (end->tv_sec - start->tv_sec) + 1e-9*(end->tv_nsec - start->tv_nsec); } -static int __gem_execbuf(int fd, struct drm_i915_gem_execbuffer2 *execbuf) -{ - int err = 0; - if (drmIoctl(fd, DRM_IOCTL_I915_GEM_EXECBUFFER2, execbuf)) - err = -errno; - return err; -} - static uint32_t batch(int fd) { const uint32_t buf[] = {MI_BATCH_BUFFER_END}; |