Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Swati Sharma <swati2.sharma@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t] tests/feature_discovery: detect mst configuration
Date: Fri, 25 Aug 2023 22:45:26 +0530	[thread overview]
Message-ID: <20230825171526.1182193-1-swati2.sharma@intel.com> (raw)

Add test to detect if we have mst configuration.

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

diff --git a/tests/feature_discovery.c b/tests/feature_discovery.c
index d1f4b1633..738719e16 100644
--- a/tests/feature_discovery.c
+++ b/tests/feature_discovery.c
@@ -113,5 +113,17 @@ 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);
+			}
+			igt_require( ret !=0 );
+		}
 	}
 }
-- 
2.25.1

             reply	other threads:[~2023-08-25 17:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-25 17:15 Swati Sharma [this message]
2023-08-25 17:45 ` [igt-dev] ✗ GitLab.Pipeline: warning for tests/feature_discovery: detect mst configuration Patchwork
2023-08-25 18:05 ` [igt-dev] ✓ CI.xeBAT: success " Patchwork
2023-08-25 18:16 ` [igt-dev] ✓ Fi.CI.BAT: " Patchwork
2023-08-26 11:10 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2023-08-26  5:05 [igt-dev] [PATCH i-g-t] " Swati Sharma
2023-09-06  7:17 ` Modem, Bhanuprakash

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230825171526.1182193-1-swati2.sharma@intel.com \
    --to=swati2.sharma@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox