diff options
author | Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> | 2020-03-04 16:50:27 +0200 |
---|---|---|
committer | Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> | 2020-03-09 23:09:43 +0200 |
commit | b4e6a0731957934d0c20e9612dd0c863434eb6be (patch) | |
tree | 5bc9fb0052cdff18ead27bbd6f709f465afa2902 /tests/kms_cursor_legacy.c | |
parent | 2e23cf6f63fc6ba1d9543f8327698d6f21813cec (diff) |
tests/kms_cursor_legacy: increase timeout for nonblocking flip wait
When run on more than one monitor there may be modeset in queue
which will block flip. Kernel will timeout with modeset at
ten seconds so lets wait in test also that same ten seconds at
maximum.
V2 Ville Syrjälä: lets just wait for five seconds
Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Diffstat (limited to 'tests/kms_cursor_legacy.c')
-rw-r--r-- | tests/kms_cursor_legacy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_cursor_legacy.c b/tests/kms_cursor_legacy.c index f41f68d81..d5f95b8d3 100644 --- a/tests/kms_cursor_legacy.c +++ b/tests/kms_cursor_legacy.c @@ -251,7 +251,7 @@ static void flip_nonblocking(igt_display_t *display, enum pipe pipe_id, bool ato igt_plane_t *primary = igt_pipe_get_plane_type(pipe, DRM_PLANE_TYPE_PRIMARY); int ret; - igt_set_timeout(1, "Scheduling page flip\n"); + igt_set_timeout(5, "Scheduling page flip\n"); if (!atomic) { /* Schedule a nonblocking flip for the next vblank */ do { |