diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-01-10 18:29:30 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-01-10 18:30:39 +0100 |
commit | 7a6042e87ef3dee2df06b1666fb8af6889ac35b8 (patch) | |
tree | 162f8da719c6ba9a67f328b17deda62005f549ea /tests/gen3_render_mixed_blits.c | |
parent | 73d1b88129cdcf6fa250b6fb8e198fdfc2d70e04 (diff) |
lib/drmtest: extract gem_create
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/gen3_render_mixed_blits.c')
-rw-r--r-- | tests/gen3_render_mixed_blits.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/gen3_render_mixed_blits.c b/tests/gen3_render_mixed_blits.c index c0160e67..1244b2a3 100644 --- a/tests/gen3_render_mixed_blits.c +++ b/tests/gen3_render_mixed_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) { |