Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Jouni Högander" <jouni.hogander@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: jeevan.b@intel.com, "Jouni Högander" <jouni.hogander@intel.com>
Subject: [PATCH i-g-t] tests/kms_vrr: data->switch modes[LOW_RR_MODE] not initialized for lobf test
Date: Thu, 31 Oct 2024 14:13:55 +0200	[thread overview]
Message-ID: <20241031121355.3419367-1-jouni.hogander@intel.com> (raw)

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


             reply	other threads:[~2024-10-31 12:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-31 12:13 Jouni Högander [this message]
2024-10-31 15:39 ` ✓ CI.xeBAT: success for tests/kms_vrr: data->switch modes[LOW_RR_MODE] not initialized for lobf test 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

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=20241031121355.3419367-1-jouni.hogander@intel.com \
    --to=jouni.hogander@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=jeevan.b@intel.com \
    /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