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: Sat, 26 Aug 2023 10:35:38 +0530 [thread overview]
Message-ID: <20230826050538.1184370-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 | 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
next reply other threads:[~2023-08-26 5:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-26 5:05 Swati Sharma [this message]
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
-- strict thread matches above, loose matches on Subject: below --
2023-08-25 17:15 Swati Sharma
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=20230826050538.1184370-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