Skip to contentSkip to conversation

tests/kms_hdr: Fix bpc-switch subtests

i-g-t Bhanuprakash Modem 1 participant 1 message Jun 25, 2024

lore
Share & tools
lore
#0 lore 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 <[email protected]>
---
 tests/kms_hdr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/kms_hdr.c +1 -1
index 475463c21..36ebb4f4e 100644
@@ -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;
 			}
Signature · 1 line
2.43.2