summaryrefslogtreecommitdiff
path: root/lib/drmtest.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-04-22 12:35:23 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-04-22 12:35:23 +0200
commitcf72da57dcc1baeaaff71250a82b40ab324b7590 (patch)
treeee71c697ccd12d2310fd55df911ca013a047455c /lib/drmtest.h
parent19a28d06ad6555ae36797f64e3705d373822faf7 (diff)
tests: add gem_unfence_active_buffers
Unfortunately this requires slab poisoning to catch anything :( Also add a new helper to drmtest to get the available fence count. 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 f4462a23..b0940f3a 100644
--- a/lib/drmtest.h
+++ b/lib/drmtest.h
@@ -57,6 +57,7 @@ int gem_madvise(int fd, uint32_t handle, int state);
/* feature test helpers */
bool gem_uses_aliasing_ppgtt(int fd);
+int gem_available_fences(int fd);
/* generally useful helpers */
void drmtest_fork_signal_helper(void);