Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [i-g-t 1/2] lib/igt_kms: Add a debug log for invalid pipe/output combo
@ 2024-09-17  9:44 Bhanuprakash Modem
  2024-09-17  9:44 ` [i-g-t 2/2] lib/igt_kms: Don't abort in lib helper Bhanuprakash Modem
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Bhanuprakash Modem @ 2024-09-17  9:44 UTC (permalink / raw)
  To: igt-dev; +Cc: Bhanuprakash Modem

Add some meaningful logs in case of invalid pipe/output combo.

Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
 lib/igt_kms.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index dd530dbab..9313e4c27 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -6585,8 +6585,13 @@ bool intel_pipe_output_combo_valid(igt_display_t *display)
 		if (output->pending_pipe == PIPE_NONE)
 			continue;
 
-		if (!igt_pipe_connector_valid(output->pending_pipe, output))
+		if (!igt_pipe_connector_valid(output->pending_pipe, output)) {
+			igt_info("Output %s is disconnected (or) pipe-%s & %s cannot be used together\n",
+				 igt_output_name(output),
+				 kmstest_pipe_name(output->pending_pipe),
+				 igt_output_name(output));
 			return false;
+		}
 
 		combo++;
 	}
-- 
2.43.0


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

end of thread, other threads:[~2024-09-18  8:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-17  9:44 [i-g-t 1/2] lib/igt_kms: Add a debug log for invalid pipe/output combo Bhanuprakash Modem
2024-09-17  9:44 ` [i-g-t 2/2] lib/igt_kms: Don't abort in lib helper Bhanuprakash Modem
2024-09-18  8:12   ` Samala, Pranay
2024-09-17 10:56 ` ✗ GitLab.Pipeline: warning for series starting with [i-g-t,1/2] lib/igt_kms: Add a debug log for invalid pipe/output combo Patchwork
2024-09-17 11:23 ` ✓ Fi.CI.BAT: success " Patchwork
2024-09-17 11:44 ` ✓ CI.xeBAT: " Patchwork
2024-09-17 13:19 ` ✓ CI.xeFULL: " Patchwork
2024-09-18  5:31 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-09-18  8:10 ` [i-g-t 1/2] " Samala, Pranay

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