summaryrefslogtreecommitdiff
path: root/tests/kms_universal_plane.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/kms_universal_plane.c')
-rw-r--r--tests/kms_universal_plane.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_universal_plane.c b/tests/kms_universal_plane.c
index 39fa1f1d..5459a9a3 100644
--- a/tests/kms_universal_plane.c
+++ b/tests/kms_universal_plane.c
@@ -470,7 +470,7 @@ pageflip_test_pipe(data_t *data, enum pipe pipe, igt_output_t *output)
pageflip_test_t test = { .data = data };
igt_plane_t *primary;
struct timeval timeout = { .tv_sec = 0, .tv_usec = 500 };
- drmEventContext evctx = { .version = DRM_EVENT_CONTEXT_VERSION };
+ drmEventContext evctx = { .version = 2 };
fd_set fds;
int ret = 0;