summaryrefslogtreecommitdiff
path: root/tests/gen3_render_tiledx_blits.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gen3_render_tiledx_blits.c')
-rw-r--r--tests/gen3_render_tiledx_blits.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/gen3_render_tiledx_blits.c b/tests/gen3_render_tiledx_blits.c
index b39c1d1b..e34d2f77 100644
--- a/tests/gen3_render_tiledx_blits.c
+++ b/tests/gen3_render_tiledx_blits.c
@@ -65,18 +65,6 @@ static inline uint32_t pack_float(float f)
return u.dw;
}
-static uint32_t gem_create(int fd, int size)
-{
- struct drm_i915_gem_create create;
-
- create.handle = 0;
- create.size = size;
- (void)drmIoctl(fd, DRM_IOCTL_I915_GEM_CREATE, &create);
- assert(create.handle);
-
- return create.handle;
-}
-
static uint64_t
gem_aperture_size(int fd)
{