mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-19 22:06:13 +00:00
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>
This commit is contained in:
parent
1d6e5d3197
commit
3c1362f0a6
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user