Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/kms_content_protection: Skip MST outputs in SST-style tests
@ 2026-06-29  1:53 Jason-JH Lin
  2026-06-29 20:02 ` ✓ Xe.CI.BAT: success for " Patchwork
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Jason-JH Lin @ 2026-06-29  1:53 UTC (permalink / raw)
  To: igt-dev, Karthik B S, Swati Sharma, Kamil Konieczny,
	Ville Syrjala, Fei Shao
  Cc: Jani, Jason-JH Lin, Paul-PL Chen, Lancelot Wu, Manasi Navare,
	Gil Dekel, Yacoub, Project_Global_Chrome_Upstream_Group

MST (Multi-Stream Transport) outputs require topology-wide HDCP
authentication which is handled by dedicated dp-mst-* subtests.
Running SST-style tests on MST outputs can cause issues because:

1. MST HDCP authentication involves the entire topology (hub + monitors)
2. Per-connector HDCP state management differs from SST
3. The dp-mst-lic-type-0/1 subtests are specifically designed to test
   MST HDCP scenarios

Skip MST outputs in get_hdcp_outputs() when running non-MST subtests
to ensure proper test isolation.

Signed-off-by: Jason-JH Lin <jason-jh.lin@mediatek.com>
---
 tests/kms_content_protection.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/kms_content_protection.c b/tests/kms_content_protection.c
index d931ce7682be..9d1728ed82a6 100644
--- a/tests/kms_content_protection.c
+++ b/tests/kms_content_protection.c
@@ -751,6 +751,11 @@ static int get_hdcp_outputs(igt_display_t *display, int content_type,
 			continue;
 		}
 
+		if (igt_get_dp_mst_connector_id(output) >= 0) {
+			igt_info("Skipping HDCP test on %s, MST output should use dp-mst-* tests\n",
+				 output->name);
+			continue;
+		}
 
 		if (count < MAX_HDCP_OUTPUTS)
 			hdcp_outputs[count++] = output;
-- 
2.43.0


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

end of thread, other threads:[~2026-07-17 16:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-29  1:53 [PATCH i-g-t] tests/kms_content_protection: Skip MST outputs in SST-style tests Jason-JH Lin
2026-06-29 20:02 ` ✓ Xe.CI.BAT: success for " Patchwork
2026-06-29 20:14 ` ✓ i915.CI.BAT: " Patchwork
2026-06-30  3:34 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-06-30  6:33 ` ✗ i915.CI.Full: " Patchwork
2026-07-08 22:34 ` [PATCH i-g-t] " Manasi Navare
2026-07-10  6:12 ` Reddy Guddati, Santhosh
2026-07-15 15:14   ` Jason-JH Lin (林睿祥)
2026-07-17 16:58     ` Jason-JH Lin (林睿祥)

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