Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/kms_sequence: Modify the vblank verification condition
@ 2023-05-08  3:46 Nidhi Gupta
  2023-05-08  4:13 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
  2023-05-08  5:53 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
  0 siblings, 2 replies; 3+ messages in thread
From: Nidhi Gupta @ 2023-05-08  3:46 UTC (permalink / raw)
  To: igt-dev; +Cc: Nidhi Gupta

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

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

end of thread, other threads:[~2023-05-08  5:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-08  3:46 [igt-dev] [PATCH i-g-t] tests/kms_sequence: Modify the vblank verification condition Nidhi Gupta
2023-05-08  4:13 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2023-05-08  5:53 ` [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