Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/feature_discovery: detect mst configuration
@ 2023-08-26  5:05 Swati Sharma
  2023-08-26  5:12 ` [igt-dev] ✗ GitLab.Pipeline: warning for tests/feature_discovery: detect mst configuration (rev2) Patchwork
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Swati Sharma @ 2023-08-26  5:05 UTC (permalink / raw)
  To: igt-dev

Add test to detect if we have mst configuration.

Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
---
 tests/feature_discovery.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/tests/feature_discovery.c b/tests/feature_discovery.c
index d1f4b1633..c160a51de 100644
--- a/tests/feature_discovery.c
+++ b/tests/feature_discovery.c
@@ -113,5 +113,19 @@ igt_main {
 		igt_subtest("psr2") {
 			igt_require(psr_sink_support(fd, debugfs_fd, PSR_MODE_2));
 		}
+
+		igt_describe("Make sure that we have DP-MST configuration.");
+		igt_subtest("dp-mst") {
+			igt_output_t *output;
+			enum pipe pipe;
+			int ret;
+			for_each_valid_output_on_pipe(&display, pipe, output) {
+				igt_output_set_pipe(output, pipe);
+				ret = igt_check_output_is_dp_mst(output);
+				if (ret != 0)
+					break;
+			}
+			igt_require(ret != 0);
+		}
 	}
 }
-- 
2.25.1

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

end of thread, other threads:[~2023-09-06  7:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-26  5:05 [igt-dev] [PATCH i-g-t] tests/feature_discovery: detect mst configuration Swati Sharma
2023-08-26  5:12 ` [igt-dev] ✗ GitLab.Pipeline: warning for tests/feature_discovery: detect mst configuration (rev2) Patchwork
2023-08-26  5:36 ` [igt-dev] ✓ CI.xeBAT: success " Patchwork
2023-08-26  5:50 ` [igt-dev] ✓ Fi.CI.BAT: " Patchwork
2023-08-26 16:45 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2023-09-05  7:33 ` [igt-dev] [i-g-t] tests/feature_discovery: detect mst configuration Joshi, Kunal1
2023-09-06  7:17 ` [igt-dev] [PATCH i-g-t] " Modem, Bhanuprakash

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