diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-01-10 15:07:19 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-01-10 15:07:19 +0100 |
commit | 5dd17d3f4bddb075f3fb6fbcd1b6c271f7b746a7 (patch) | |
tree | b6418af8f2663efbfdc53c360f797d7642b3291a /tests/gen3_mixed_blits.c | |
parent | aa67b22e426f26f8a8d7fe35221fe2a6ceb5d3db (diff) |
lib/drmtest: extract gem_close
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/gen3_mixed_blits.c')
-rw-r--r-- | tests/gen3_mixed_blits.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/gen3_mixed_blits.c b/tests/gen3_mixed_blits.c index 1ebc773f..4f868201 100644 --- a/tests/gen3_mixed_blits.c +++ b/tests/gen3_mixed_blits.c @@ -77,16 +77,6 @@ static uint32_t gem_create(int fd, int size) return create.handle; } -static void gem_close(int fd, uint32_t handle) -{ - struct drm_gem_close close; - int ret; - - close.handle = handle; - ret = drmIoctl(fd, DRM_IOCTL_GEM_CLOSE, &close); - assert(ret == 0); -} - static uint64_t gem_aperture_size(int fd) { |