From: Nidhi Gupta <nidhi1.gupta@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Nidhi Gupta <nidhi1.gupta@intel.com>
Subject: [igt-dev] [PATCH i-g-t] DO_NOT_REVIEW: Increase the timeout for pageflip
Date: Wed, 24 May 2023 03:14:27 +0530 [thread overview]
Message-ID: <20230523214427.17361-1-nidhi1.gupta@intel.com> (raw)
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
next reply other threads:[~2023-05-23 21:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-23 21:44 Nidhi Gupta [this message]
2023-05-23 22:33 ` [igt-dev] ✓ Fi.CI.BAT: success for DO_NOT_REVIEW: Increase the timeout for pageflip Patchwork
2023-05-24 13:01 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230523214427.17361-1-nidhi1.gupta@intel.com \
--to=nidhi1.gupta@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox