Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] DO_NOT_REVIEW: Increase the timeout for pageflip
@ 2023-05-23 21:44 Nidhi Gupta
  2023-05-23 22:33 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
  2023-05-24 13:01 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
  0 siblings, 2 replies; 3+ messages in thread
From: Nidhi Gupta @ 2023-05-23 21:44 UTC (permalink / raw)
  To: igt-dev; +Cc: Nidhi Gupta

lib/igt_kms: pageflip timeout is increased from 50ms
to 2s.

Signed-off-by: Nidhi Gupta <nidhi1.gupta@intel.com>
---
 lib/igt_kms.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index c5484148..3775f87e 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -2116,7 +2116,7 @@ unsigned int kmstest_get_vblank(int fd, int pipe, unsigned int flags)
 void kmstest_wait_for_pageflip(int fd)
 {
 	drmEventContext evctx = { .version = 2 };
-	struct timeval timeout = { .tv_sec = 0, .tv_usec = 50000 };
+	struct timeval timeout = { .tv_sec = 2, .tv_usec = 0 };
 	fd_set fds;
 	int ret;
 
@@ -2129,7 +2129,7 @@ void kmstest_wait_for_pageflip(int fd)
 	} while (ret < 0 && errno == EINTR);
 
 	igt_fail_on_f(ret == 0,
-		     "Exceeded timeout (50ms) while waiting for a pageflip\n");
+		     "Exceeded timeout (2s) while waiting for a pageflip\n");
 
 	igt_assert_f(ret == 1,
 		     "Waiting for pageflip failed with %d from select(drmfd)\n",
-- 
2.39.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-24 13:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-23 21:44 [igt-dev] [PATCH i-g-t] DO_NOT_REVIEW: Increase the timeout for pageflip Nidhi Gupta
2023-05-23 22:33 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2023-05-24 13:01 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox