diff options
Diffstat (limited to 'tests/gem_ctx_thrash.c')
-rw-r--r-- | tests/gem_ctx_thrash.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/gem_ctx_thrash.c b/tests/gem_ctx_thrash.c index cc7ea1a7..f79a1f4f 100644 --- a/tests/gem_ctx_thrash.c +++ b/tests/gem_ctx_thrash.c @@ -136,6 +136,9 @@ static void single(const char *name, bool all_engines) #define MAX_LOOP 16 fd = drm_open_driver_master(DRIVER_INTEL); + igt_require_gem(fd); + igt_require(gem_can_store_dword(fd, 0)); + gen = intel_gen(intel_get_drm_devid(fd)); num_engines = 0; |