summaryrefslogtreecommitdiff
path: root/lib/drmtest.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-12-05 15:50:18 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-12-05 15:50:43 +0100
commit1a95c710f9160692e3c29100600b1766388f93de (patch)
tree49cb7004cb387dce57da4b4f5de00b4bd514a984 /lib/drmtest.h
parent33ef5284903d2b64c4744c208d9eccc54cba65a3 (diff)
lib: add gem_available_aperture_size helper
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/drmtest.h')
-rw-r--r--lib/drmtest.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/drmtest.h b/lib/drmtest.h
index 5e831e5f..20e26205 100644
--- a/lib/drmtest.h
+++ b/lib/drmtest.h
@@ -79,6 +79,7 @@ void *gem_mmap__gtt(int fd, uint32_t handle, int size, int prot);
void *gem_mmap__cpu(int fd, uint32_t handle, int size, int prot);
#define gem_mmap gem_mmap__gtt
+uint64_t gem_available_aperture_size(int fd);
uint64_t gem_aperture_size(int fd);
uint64_t gem_mappable_aperture_size(void);
int gem_madvise(int fd, uint32_t handle, int state);