diff options
Diffstat (limited to 'tests/gem_ctx_switch.c')
-rw-r--r-- | tests/gem_ctx_switch.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/gem_ctx_switch.c b/tests/gem_ctx_switch.c index 00122806..80ebce5d 100644 --- a/tests/gem_ctx_switch.c +++ b/tests/gem_ctx_switch.c @@ -151,6 +151,8 @@ igt_main const uint32_t bbe = MI_BATCH_BUFFER_END; fd = drm_open_driver(DRIVER_INTEL); + igt_require_gem(fd); + light = gem_create(fd, 4096); gem_write(fd, light, 0, &bbe, sizeof(bbe)); |