diff options
Diffstat (limited to 'tests/gem_softpin.c')
-rw-r--r-- | tests/gem_softpin.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/gem_softpin.c b/tests/gem_softpin.c index bfd02b06..f9e88fd8 100644 --- a/tests/gem_softpin.c +++ b/tests/gem_softpin.c @@ -43,14 +43,6 @@ static uint64_t gen8_canonical_addr(uint64_t address) return (__s64)(address << shift) >> shift; } -static int __gem_execbuf(int fd, struct drm_i915_gem_execbuffer2 *eb) -{ - int err = 0; - if (drmIoctl(fd, DRM_IOCTL_I915_GEM_EXECBUFFER2, eb)) - err = -errno; - return err; -} - static void test_invalid(int fd) { const uint32_t bbe = MI_BATCH_BUFFER_END; |