summaryrefslogtreecommitdiff
path: root/tests/kms_flip.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/kms_flip.c')
-rwxr-xr-xtests/kms_flip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/kms_flip.c b/tests/kms_flip.c
index b4836a44..54137871 100755
--- a/tests/kms_flip.c
+++ b/tests/kms_flip.c
@@ -778,6 +778,7 @@ static bool run_test_step(struct test_output *o, unsigned int *events)
memset(&hang, 0, sizeof(hang));
if (do_flip && (o->flags & TEST_HANG)) {
+ igt_require_intel(drm_fd);
ahnd = get_reloc_ahnd(drm_fd, 0);
hang = hang_gpu(drm_fd, ahnd);
}