Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/kms_vrr: data->switch modes[LOW_RR_MODE] not initialized for lobf test
@ 2024-10-31 12:13 Jouni Högander
  2024-10-31 15:39 ` ✓ CI.xeBAT: success for " Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Jouni Högander @ 2024-10-31 12:13 UTC (permalink / raw)
  To: igt-dev; +Cc: jeevan.b, Jouni Högander

lobf subtest is using data->switch_modes[LOW_RR_MODE] but not initializing
it. Fix this in output_constraint.

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
---
 tests/kms_vrr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_vrr.c b/tests/kms_vrr.c
index 36a22eebe..d0db954fa 100644
--- a/tests/kms_vrr.c
+++ b/tests/kms_vrr.c
@@ -923,7 +923,7 @@ static bool output_constraint(data_t *data, igt_output_t *output, uint32_t flags
 	igt_output_override_mode(output, &data->switch_modes[HIGH_RR_MODE]);
 
 	/* Search for a low refresh rate mode. */
-	if (!(flags & (TEST_SEAMLESS_VRR | TEST_SEAMLESS_DRRS)))
+	if (!(flags & (TEST_SEAMLESS_VRR | TEST_SEAMLESS_DRRS | TEST_LINK_OFF)))
 		return true;
 
 	data->switch_modes[LOW_RR_MODE] = low_rr_mode_with_same_res(output, data->range.min);
-- 
2.34.1


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

end of thread, other threads:[~2024-11-04  9:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-31 12:13 [PATCH i-g-t] tests/kms_vrr: data->switch modes[LOW_RR_MODE] not initialized for lobf test Jouni Högander
2024-10-31 15:39 ` ✓ CI.xeBAT: success for " Patchwork
2024-10-31 15:46 ` ✓ Fi.CI.BAT: " Patchwork
2024-10-31 17:51 ` ✗ CI.xeFULL: failure " Patchwork
2024-11-04  9:36   ` Hogander, Jouni
2024-10-31 23:55 ` ✗ Fi.CI.IGT: " Patchwork
2024-11-04  9:38   ` Hogander, Jouni
2024-11-04  9:07 ` [PATCH i-g-t] " B, Jeevan
2024-11-04  9:42   ` Hogander, Jouni

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