Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [i-g-t] tests/kms_hdr: Fix bpc-switch subtests
@ 2024-06-25  4:19 Bhanuprakash Modem
  0 siblings, 0 replies; only message in thread
From: Bhanuprakash Modem @ 2024-06-25  4:19 UTC (permalink / raw)
  To: igt-dev; +Cc: Bhanuprakash Modem, Karthik B S

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-06-25  4:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-25  4:19 [i-g-t] tests/kms_hdr: Fix bpc-switch subtests Bhanuprakash Modem

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