diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2016-01-05 15:19:13 +0100 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2016-01-05 15:22:30 +0100 |
commit | 3c1362f0a6a930f874b7533cb0a03ba9177278b4 (patch) | |
tree | d34bbb2f91e82c91a864f9cfca4461178fac14a9 /tests | |
parent | 1d6e5d3197eebf682e218a34c56139f2df4ea090 (diff) |
tests: Bump pageflip wait timeout to 50 ms.
The default is too low for panels that are 30 fps or lower.
Bump the timeout to 50 ms to prevent spurious errors on those
displays.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/kms_flip_tiling.c | 2 | ||||
-rw-r--r-- | tests/kms_rotation_crc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/kms_flip_tiling.c b/tests/kms_flip_tiling.c index 653a9706..3ff99489 100644 --- a/tests/kms_flip_tiling.c +++ b/tests/kms_flip_tiling.c @@ -75,7 +75,7 @@ static void pipe_crc_free(void) static void wait_for_pageflip(int fd) { drmEventContext evctx = { .version = DRM_EVENT_CONTEXT_VERSION }; - struct timeval timeout = { .tv_sec = 0, .tv_usec = 32000 }; + struct timeval timeout = { .tv_sec = 0, .tv_usec = 50000 }; fd_set fds; int ret; diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c index c3241cfa..f94f8f12 100644 --- a/tests/kms_rotation_crc.c +++ b/tests/kms_rotation_crc.c @@ -220,7 +220,7 @@ static void cleanup_crtc(data_t *data, igt_output_t *output, igt_plane_t *plane) static void wait_for_pageflip(int fd) { drmEventContext evctx = { .version = DRM_EVENT_CONTEXT_VERSION }; - struct timeval timeout = { .tv_sec = 0, .tv_usec = 32000 }; + struct timeval timeout = { .tv_sec = 0, .tv_usec = 50000 }; fd_set fds; int ret; |