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/kms_rotation_crc.c | |
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/kms_rotation_crc.c')
-rw-r--r-- | tests/kms_rotation_crc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |