All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/i915/kms_psr2_sf: Fix cleanup
@ 2023-03-23  7:37 Jouni Högander
  2023-03-23  7:43 ` B, Jeevan
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jouni Högander @ 2023-03-23  7:37 UTC (permalink / raw)
  To: igt-dev

Cleanup is leaving pipe reserved. This is causing failures like:

igt_kms-CRITICAL: DP-1 and eDP-1 are both trying to use pipe A

Fix by setting pipe of output as PIPE_NONE.

Cc: Jeevan B <jeevan.b@intel.com>

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
---
 tests/i915/kms_psr2_sf.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/i915/kms_psr2_sf.c b/tests/i915/kms_psr2_sf.c
index 2d761d31..4a8608c1 100644
--- a/tests/i915/kms_psr2_sf.c
+++ b/tests/i915/kms_psr2_sf.c
@@ -846,10 +846,10 @@ static void cleanup(data_t *data)
 		igt_plane_set_fb(sprite, NULL);
 	}
 
-	if (data->coexist_feature & FEATURE_DSC) {
+	if (data->coexist_feature & FEATURE_DSC)
 		restore_force_dsc_en();
-		igt_output_set_pipe(output, PIPE_NONE);
-	}
+
+	igt_output_set_pipe(output, PIPE_NONE);
 
 	igt_display_commit2(&data->display, COMMIT_ATOMIC);
 
-- 
2.34.1

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

end of thread, other threads:[~2023-03-27  7:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-23  7:37 [igt-dev] [PATCH i-g-t] tests/i915/kms_psr2_sf: Fix cleanup Jouni Högander
2023-03-23  7:43 ` B, Jeevan
2023-03-23  7:46   ` Hogander, Jouni
2023-03-23  7:51     ` B, Jeevan
2023-03-23  8:29 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2023-03-23 10:17 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2023-03-27  7:02   ` Hogander, Jouni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.