Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Bhanuprakash Modem <bhanuprakash.modem@intel.com>,
	Karthik B S <karthik.b.s@intel.com>
Subject: [i-g-t] tests/kms_hdr: Fix bpc-switch subtests
Date: Tue, 25 Jun 2024 09:49:18 +0530	[thread overview]
Message-ID: <20240625041918.248208-1-bhanuprakash.modem@intel.com> (raw)

igt@kms_hdr@bpc-switch.* subtests are getting skip due to
recently merged cleanup patch. This patch will fix the logic
to run the subtests.

Fixes: (4fe91292b) tests/kms_hdr: Use lib helper to check the pipe/output combo validity
Cc: Karthik B S <karthik.b.s@intel.com>
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
 tests/kms_hdr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_hdr.c b/tests/kms_hdr.c
index 475463c21..36ebb4f4e 100644
--- a/tests/kms_hdr.c
+++ b/tests/kms_hdr.c
@@ -274,7 +274,7 @@ static void test_bpc_switch(data_t *data, uint32_t flags)
 
 		for_each_pipe(display, pipe) {
 			igt_output_set_pipe(output, pipe);
-			if (intel_pipe_output_combo_valid(display)) {
+			if (!intel_pipe_output_combo_valid(display)) {
 				igt_output_set_pipe(output, PIPE_NONE);
 				continue;
 			}
-- 
2.43.2


                 reply	other threads:[~2024-06-25  4:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20240625041918.248208-1-bhanuprakash.modem@intel.com \
    --to=bhanuprakash.modem@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=karthik.b.s@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