public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: sumit kishore <sumit.kishore@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: suraj.kandpal@intel.com, santhosh.reddy.guddati@intel.com,
	sumit kishore <sumit.kishore@intel.com>
Subject: [PATCH i-g-t v1] test/kms_content_protection: add debug prints and remove non-traceable check
Date: Fri, 27 Feb 2026 16:37:45 +0530	[thread overview]
Message-ID: <20260227110745.203101-1-sumit.kishore@intel.com> (raw)

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


             reply	other threads:[~2026-02-27 11:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-27 11:07 sumit kishore [this message]
2026-02-27 15:09 ` ✓ Xe.CI.BAT: success for test/kms_content_protection: add debug prints and remove non-traceable check 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

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=20260227110745.203101-1-sumit.kishore@intel.com \
    --to=sumit.kishore@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=santhosh.reddy.guddati@intel.com \
    --cc=suraj.kandpal@intel.com \
    /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