From 2a7bd7a3e33679cb4fa256c82c6ee0babf322f21 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 8 Mar 2017 14:34:34 +0000 Subject: igt: Markup more tests that require GEM Signed-off-by: Chris Wilson --- tests/gem_linear_blits.c | 1 + tests/gem_tiled_blits.c | 1 + tests/gem_tiled_fence_blits.c | 1 + tests/gem_wait.c | 1 + tests/kms_busy.c | 1 + 5 files changed, 5 insertions(+) diff --git a/tests/gem_linear_blits.c b/tests/gem_linear_blits.c index 6cb6b064..eccfbcdd 100644 --- a/tests/gem_linear_blits.c +++ b/tests/gem_linear_blits.c @@ -223,6 +223,7 @@ int main(int argc, char **argv) igt_fixture { fd = drm_open_driver(DRIVER_INTEL); + igt_require_gem(fd); } igt_subtest("basic") diff --git a/tests/gem_tiled_blits.c b/tests/gem_tiled_blits.c index 10e30dfb..7dcfc962 100644 --- a/tests/gem_tiled_blits.c +++ b/tests/gem_tiled_blits.c @@ -200,6 +200,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); drm_intel_bufmgr_gem_enable_reuse(bufmgr); diff --git a/tests/gem_tiled_fence_blits.c b/tests/gem_tiled_fence_blits.c index d4bcf203..eb6473bc 100644 --- a/tests/gem_tiled_fence_blits.c +++ b/tests/gem_tiled_fence_blits.c @@ -166,6 +166,7 @@ igt_main igt_fixture { fd = drm_open_driver(DRIVER_INTEL); + igt_require_gem(fd); } igt_subtest("basic") { diff --git a/tests/gem_wait.c b/tests/gem_wait.c index 3b987595..591690ad 100644 --- a/tests/gem_wait.c +++ b/tests/gem_wait.c @@ -169,6 +169,7 @@ igt_main igt_fixture { fd = drm_open_driver_master(DRIVER_INTEL); + igt_require_gem(fd); } igt_subtest("invalid-flags") diff --git a/tests/kms_busy.c b/tests/kms_busy.c index 44ab2056..d6ef1f17 100644 --- a/tests/kms_busy.c +++ b/tests/kms_busy.c @@ -292,6 +292,7 @@ igt_main igt_fixture { int fd = drm_open_driver_master(DRIVER_INTEL); + igt_require_gem(fd); gem_require_mmap_wc(fd); kmstest_set_vt_graphics_mode(); -- cgit v1.2.3