public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH i-g-t v1] test/kms_content_protection: add debug prints and remove non-traceable check
@ 2026-02-27 11:07 sumit kishore
  2026-02-27 15:09 ` ✓ Xe.CI.BAT: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: sumit kishore @ 2026-02-27 11:07 UTC (permalink / raw)
  To: igt-dev; +Cc: suraj.kandpal, santhosh.reddy.guddati, sumit kishore

improve the debug logging, when tests are skipping and remove the non-traceable check

Signed-off-by: sumit kishore <sumit.kishore@intel.com>
---
 tests/kms_content_protection.c | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/tests/kms_content_protection.c b/tests/kms_content_protection.c
index f35c9fa73..034c2439c 100644
--- a/tests/kms_content_protection.c
+++ b/tests/kms_content_protection.c
@@ -597,12 +597,11 @@ static void prepare_modeset_on_mst_output(igt_output_t *output, bool is_enabled)
 
 static bool output_hdcp_capable(igt_output_t *output, int content_type)
 {
-		if (!output->props[IGT_CONNECTOR_CONTENT_PROTECTION])
-			return false;
-
-		if (!output->props[IGT_CONNECTOR_HDCP_CONTENT_TYPE] &&
-		    content_type)
+		if (!output->props[IGT_CONNECTOR_CONTENT_PROTECTION]) {
+			igt_info("\tSkip %s (Connector does not supports HDCP protocol)\n",
+				output->name);
 			return false;
+		}
 
 		if (content_type && !sink_hdcp2_capable(output)) {
 			igt_info("\tSkip %s (Sink has no HDCP2.2 support)\n",
@@ -614,7 +613,11 @@ static bool output_hdcp_capable(igt_output_t *output, int content_type)
 			return false;
 		}
 
+		igt_info("\t%s (Connector supports HDCP protocol)\n",
+			output->name);
+
 		return true;
+
 }
 
 static void set_i915_force_hdcp14(igt_output_t *output)
-- 
2.43.0


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

end of thread, other threads:[~2026-03-02  2:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-27 11:07 [PATCH i-g-t v1] test/kms_content_protection: add debug prints and remove non-traceable check sumit kishore
2026-02-27 15:09 ` ✓ Xe.CI.BAT: success for " Patchwork
2026-02-27 15:46 ` ✗ i915.CI.BAT: failure " Patchwork
2026-02-28  0:53 ` ✗ Xe.CI.FULL: " Patchwork
2026-03-02  2:47 ` [PATCH i-g-t v1] " Kandpal, Suraj

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