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>
This commit is contained in:
Daniel Vetter
2012-04-22 12:35:23 +02:00
parent 19a28d06ad
commit cf72da57dc
5 changed files with 189 additions and 0 deletions
+1
View File
@@ -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);