summaryrefslogtreecommitdiff
path: root/tests/gem_streaming_writes.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_streaming_writes.c')
-rw-r--r--tests/gem_streaming_writes.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/gem_streaming_writes.c b/tests/gem_streaming_writes.c
index 2b35410c..c27e7fa7 100644
--- a/tests/gem_streaming_writes.c
+++ b/tests/gem_streaming_writes.c
@@ -374,8 +374,10 @@ igt_main
{
int fd, sync;
- igt_fixture
+ igt_fixture {
fd = drm_open_driver(DRIVER_INTEL);
+ igt_require_gem(fd);
+ }
for (sync = 2; sync--; ) {
igt_subtest_f("cpu%s", sync ? "-sync":"")