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
Cc: Swati Sharma <swati2.sharma@intel.com>
Subject: [PATCH i-g-t 1/2] tests/intel/dsc: Convert debug msg to info msg
Date: Mon,  2 Dec 2024 14:21:26 +0530	[thread overview]
Message-ID: <20241202085127.1785594-1-swati2.sharma@intel.com> (raw)

Convert `igt_debug` to `igt_info` to provide more
context when skipping outputs that doesn't fulfil
dsc constraints.

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

diff --git a/tests/intel/kms_dsc_helper.c b/tests/intel/kms_dsc_helper.c
index 0de09b8e9..cea4304e4 100644
--- a/tests/intel/kms_dsc_helper.c
+++ b/tests/intel/kms_dsc_helper.c
@@ -69,14 +69,14 @@ bool is_dsc_supported_by_source(int drmfd)
 bool is_dsc_supported_by_sink(int drmfd, igt_output_t *output)
 {
 	if (!igt_is_dsc_supported_by_sink(drmfd, output->name)) {
-		igt_debug("DSC not supported on connector %s\n",
+		igt_info("DSC not supported on connector %s\n",
 			  output->name);
 		return false;
 	}
 
 	if (!output_is_internal_panel(output) &&
 	    !igt_is_fec_supported(drmfd, output->name)) {
-		igt_debug("DSC cannot be enabled without FEC on %s\n",
+		igt_info("DSC cannot be enabled without FEC on %s\n",
 			  output->name);
 		return false;
 	}
@@ -91,7 +91,7 @@ bool check_gen11_dp_constraint(int drmfd, igt_output_t *output, enum pipe pipe)
 
 	if ((connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort) &&
 	    (pipe == PIPE_A) && IS_GEN11(devid)) {
-		igt_debug("DSC not supported on pipe A on external DP in gen11 platforms\n");
+		igt_info("DSC not supported on pipe %s on %s in gen11 platforms\n", kmstest_pipe_name(pipe), output->name);
 		return false;
 	}
 
@@ -126,7 +126,7 @@ void force_dsc_output_format(int drmfd, igt_output_t *output,
 static bool is_dsc_output_format_supported_by_source(int disp_ver, enum dsc_output_format output_format)
 {
 	if (disp_ver < 14 && output_format == DSC_FORMAT_YCBCR420) {
-		igt_debug("Output format DSC YCBCR420 not supported on D13 and older platforms\n");
+		igt_info("Output format DSC YCBCR420 not supported on D13 and older platforms\n");
 		return false;
 	}
 
@@ -140,7 +140,7 @@ bool is_dsc_output_format_supported(int drmfd, int disp_ver, igt_output_t *outpu
 		return false;
 
 	if (!igt_is_dsc_output_format_supported_by_sink(drmfd, output->name, output_format)) {
-		igt_debug("DSC %s output format not supported on connector %s\n",
+		igt_info("DSC %s output format not supported on connector %s\n",
 			  kmstest_dsc_output_format_str(output_format), output->name);
 		return false;
 	}
@@ -182,7 +182,7 @@ void restore_force_dsc_fractional_bpp_en(void)
 static bool is_dsc_fractional_bpp_supported_by_source(int disp_ver)
 {
 	if (disp_ver < 14) {
-		igt_debug("DSC fractional bpp not supported on D13 and older platforms\n");
+		igt_info("DSC fractional bpp not supported on D13 and older platforms\n");
 		return false;
 	}
 
@@ -195,7 +195,7 @@ bool is_dsc_fractional_bpp_supported(int disp_ver, int drmfd, igt_output_t *outp
 		return false;
 
 	if (!igt_is_dsc_fractional_bpp_supported_by_sink(drmfd, output->name)) {
-		igt_debug("DSC fractional bpp not supported on connector %s\n", output->name);
+		igt_info("DSC fractional bpp not supported on connector %s\n", output->name);
 		return false;
 	}
 
-- 
2.25.1


             reply	other threads:[~2024-12-02  8:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-02  8:51 Swati Sharma [this message]
2024-12-02  8:51 ` [PATCH i-g-t 2/2] tests/intel/kms_dsc: Split max_bpc constraint Swati Sharma
2024-12-02 11:10   ` Samala, Pranay
2024-12-05  9:08     ` Sharma, Swati2
2024-12-02 11:18 ` [PATCH i-g-t 1/2] tests/intel/dsc: Convert debug msg to info msg Samala, Pranay
2024-12-05  9:06   ` Sharma, Swati2
2024-12-02 17:46 ` ✓ i915.CI.BAT: success for series starting with [i-g-t,1/2] " Patchwork
2024-12-02 18:37 ` ✓ Xe.CI.BAT: " Patchwork
2024-12-02 20:11 ` ✗ Xe.CI.Full: failure " Patchwork
2024-12-02 21:24 ` ✗ i915.CI.Full: " Patchwork
2024-12-05 12:12 ` ✓ i915.CI.Full: success " Patchwork

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=20241202085127.1785594-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