diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-04-08 00:32:57 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-04-08 00:34:08 +0100 |
commit | c3268d9a2698c7e91de48600283c701473f4c85d (patch) | |
tree | ddae71da987bb1ed66dc97df6c66c65612e04bef /tests/prime_mmap_coherency.c | |
parent | d7db79d971b8f1bb2177d14718b136789b337d39 (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.c | 1 |
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)); |