summaryrefslogtreecommitdiff
path: root/tests/gem_ctx_param.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_ctx_param.c')
-rw-r--r--tests/gem_ctx_param.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/gem_ctx_param.c b/tests/gem_ctx_param.c
index c20ae1ee..db68f57b 100644
--- a/tests/gem_ctx_param.c
+++ b/tests/gem_ctx_param.c
@@ -38,6 +38,8 @@ igt_main
igt_fixture {
fd = drm_open_driver_render(DRIVER_INTEL);
+
+ gem_require_contexts(fd);
ctx = gem_context_create(fd);
}