From b35b1505f762839b0e9a0f8a146804444566a92a Mon Sep 17 00:00:00 2001 From: Imre Deak Date: Thu, 13 Nov 2014 13:33:54 +0200 Subject: 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 Reviewed-by: Daniel Vetter --- lib/igt_aux.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/igt_aux.h') 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 #include +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); -- cgit v1.2.3