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] tests/kms_sequence: Modify the vblank verification condition
Date: Mon, 8 May 2023 09:16:05 +0530 [thread overview]
Message-ID: <20230508034605.20177-1-nidhi1.gupta@intel.com> (raw)
For some displapys we've had one extra vblank in same time
interval,it means that there's no missing vblanks, which
confirms everything gets out to the screen as expected and
there is no failure, test should pass in such cases.
Signed-off-by: Nidhi Gupta <nidhi1.gupta@intel.com>
---
tests/kms_sequence.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/kms_sequence.c b/tests/kms_sequence.c
index c8a3d6bb..34448dbf 100644
--- a/tests/kms_sequence.c
+++ b/tests/kms_sequence.c
@@ -224,7 +224,7 @@ static void sequence_queue(data_t *data, int fd, int nchildren)
cqs.flags = 0;
cqs.sequence = target;
igt_assert_eq(crtc_queue_sequence(fd, &cqs), 0);
- igt_assert_eq(cqs.sequence, target);
+ igt_assert(cqs.sequence >= target);
}
for (n = 0; n < total; n++) {
--
2.39.0
next reply other threads:[~2023-05-08 3:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-08 3:46 Nidhi Gupta [this message]
2023-05-08 4:13 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_sequence: Modify the vblank verification condition Patchwork
2023-05-08 5:53 ` [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=20230508034605.20177-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