summaryrefslogtreecommitdiff
path: root/tests/kms_flip.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/kms_flip.c')
-rw-r--r--tests/kms_flip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_flip.c b/tests/kms_flip.c
index 41406dfe..a2af8305 100644
--- a/tests/kms_flip.c
+++ b/tests/kms_flip.c
@@ -1072,7 +1072,7 @@ static unsigned int wait_for_events(struct test_output *o)
igt_assert(event_mask);
memset(&evctx, 0, sizeof evctx);
- evctx.version = DRM_EVENT_CONTEXT_VERSION;
+ evctx.version = 2;
evctx.vblank_handler = vblank_handler;
evctx.page_flip_handler = page_flip_handler;