diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-01-15 17:14:56 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-01-15 17:14:56 +0100 |
commit | 7f944349efb98ae2ab777dc745c3d12acd03d82f (patch) | |
tree | faa8ee14be7b5cd5d30fb12cd838b0bfda53344c /tests/gen3_render_tiledy_blits.c | |
parent | d749921e48366c3b562fa315e7ed6cf4ce063a1c (diff) |
lib/drmtest: extract gem_aperture_size
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/gen3_render_tiledy_blits.c')
-rw-r--r-- | tests/gen3_render_tiledy_blits.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/gen3_render_tiledy_blits.c b/tests/gen3_render_tiledy_blits.c index dfc9c25b..922ea1db 100644 --- a/tests/gen3_render_tiledy_blits.c +++ b/tests/gen3_render_tiledy_blits.c @@ -65,16 +65,6 @@ static inline uint32_t pack_float(float f) return u.dw; } -static uint64_t -gem_aperture_size(int fd) -{ - struct drm_i915_gem_get_aperture aperture; - - aperture.aper_size = 512*1024*1024; - (void)drmIoctl(fd, DRM_IOCTL_I915_GEM_GET_APERTURE, &aperture); - return aperture.aper_size; -} - static uint32_t fill_reloc(struct drm_i915_gem_relocation_entry *reloc, uint32_t offset, uint32_t handle, |