summaryrefslogtreecommitdiff
path: root/lib/igt_aux.h
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2014-11-13 13:33:54 +0200
committerImre Deak <imre.deak@intel.com>2014-11-14 00:18:30 +0200
commitb35b1505f762839b0e9a0f8a146804444566a92a (patch)
tree1115683c79170d23c4d55aadf4bb8e2e2f941a5c /lib/igt_aux.h
parentf12ed8305807975e232e42fd34ad75e1147a788e (diff)
tests/pm_rpm: add gem-evict-pwrite subtest
This triggers a device suspended WARN in the kernel in gen6_ggtt_insert_entries() while calling the GEM pwrite ioctl. The sequence is suggested by Daniel. Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/igt_aux.h')
-rw-r--r--lib/igt_aux.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/igt_aux.h b/lib/igt_aux.h
index 9b42918f..7bca11c4 100644
--- a/lib/igt_aux.h
+++ b/lib/igt_aux.h
@@ -31,6 +31,9 @@
#include <intel_bufmgr.h>
#include <stdbool.h>
+extern drm_intel_bo **trash_bos;
+extern int num_trash_bos;
+
/* auxialiary igt helpers from igt_aux.c */
/* generally useful helpers */
void igt_fork_signal_helper(void);