summaryrefslogtreecommitdiff
path: root/tests/prime_mmap_coherency.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-04-08 00:32:57 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2017-04-08 00:34:08 +0100
commitc3268d9a2698c7e91de48600283c701473f4c85d (patch)
treeddae71da987bb1ed66dc97df6c66c65612e04bef /tests/prime_mmap_coherency.c
parentd7db79d971b8f1bb2177d14718b136789b337d39 (diff)
tests: More require GEM markup
A few more tests that use i915/gem without first checking that the GPU is working. 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 fb67ef1f..859bebb9 100644
--- a/tests/prime_mmap_coherency.c
+++ b/tests/prime_mmap_coherency.c
@@ -290,6 +290,7 @@ int main(int argc, char **argv)
igt_fixture {
fd = drm_open_driver(DRIVER_INTEL);
+ igt_require_gem(fd);
bufmgr = drm_intel_bufmgr_gem_init(fd, 4096);
batch = intel_batchbuffer_alloc(bufmgr, intel_get_drm_devid(fd));