summaryrefslogtreecommitdiff
path: root/tests/prime_mmap_coherency.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2020-05-05 12:34:03 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2020-05-07 14:19:37 +0100
commitce0ec5c84bb4beaf578d96ea50c90d798aee11cd (patch)
treeae8f4c0640ebdb714c86831c0613170c8f7548df /tests/prime_mmap_coherency.c
parent50868ab3c532a86aa147fb555b69a1078c572b13 (diff)
lib/i915: Split igt_require_gem() into i915/
igt_require_gem() is a pecularity of i915/, move it out of the core. Similar opportunistic move of gem_reopen_driver() and gem_quiescent_gpu(). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/prime_mmap_coherency.c')
-rw-r--r--tests/prime_mmap_coherency.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/prime_mmap_coherency.c b/tests/prime_mmap_coherency.c
index 32d78ee1..2a074957 100644
--- a/tests/prime_mmap_coherency.c
+++ b/tests/prime_mmap_coherency.c
@@ -29,6 +29,7 @@
* TODO: need to show the need for prime_sync_end().
*/
+#include "i915/gem.h"
#include "igt.h"
IGT_TEST_DESCRIPTION("Test dma-buf mmap on !llc platforms mostly and provoke"