From: "Sharma, Swati2" <swati2.sharma@intel.com>
To: Naladala Ramanaidu <ramanaidu.naladala@intel.com>,
<igt-dev@lists.freedesktop.org>
Cc: <karthik.b.s@intel.com>
Subject: Re: [PATCH i-g-t 1/2] tests/kms_scaling_modes: Add informative messages for skipped scaling mode tests
Date: Mon, 9 Dec 2024 12:33:59 +0530 [thread overview]
Message-ID: <b4277fb5-b12f-4f6e-bac3-f38abdffad70@intel.com> (raw)
In-Reply-To: <20241127190530.3421021-2-ramanaidu.naladala@intel.com>
Hi Ramanaidu,
On 28-11-2024 12:35 am, Naladala Ramanaidu wrote:
> Add `igt_info` messages to provide more context when skipping outputs
> that do not support scaling mode. Include `igt_info` messages to
> indicate when invalid pipe/output combinations are skipped.
>
> Signed-off-by: Naladala Ramanaidu <ramanaidu.naladala@intel.com>
> ---
> tests/kms_scaling_modes.c | 9 +++++++--
> 1 file changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/tests/kms_scaling_modes.c b/tests/kms_scaling_modes.c
> index 5fd34c4b2..dd2c6426c 100644
> --- a/tests/kms_scaling_modes.c
> +++ b/tests/kms_scaling_modes.c
> @@ -117,12 +117,17 @@ static void test_scaling_mode(data_t *data, uint32_t flags)
> for_each_pipe_with_valid_output(display, pipe, output) {
> igt_display_reset(display);
>
> - if (!has_scaling_mode(output))
> + if (!has_scaling_mode(output)) {
> + igt_info("Output %s does not support scaling mode.\n",
Please update the igt_info as igt_info("%s: Doesn't support
IGT_CONNECTOR_SCALING_MODE\n", igt_output_name(output));
> + igt_output_name(output));
> continue;
> + }
>
> igt_output_set_pipe(output, pipe);
> - if (!intel_pipe_output_combo_valid(display))
> + if (!intel_pipe_output_combo_valid(display)) {
> + igt_info("Skipping invalid pipe/output combination.\n");
> continue;
> + }
>
> igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(pipe), igt_output_name(output))
> test_scaling_mode_on_output(display, pipe, output, flags);
next prev parent reply other threads:[~2024-12-09 7:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-27 19:05 [PATCH i-g-t 0/2] Update skip messages in scaling modes Naladala Ramanaidu
2024-11-27 19:05 ` [PATCH i-g-t 1/2] tests/kms_scaling_modes: Add informative messages for skipped scaling mode tests Naladala Ramanaidu
2024-11-28 4:22 ` Samala, Pranay
2024-12-09 7:03 ` Sharma, Swati2 [this message]
2024-11-27 19:05 ` [PATCH i-g-t 2/2] HAX patch do not merge Naladala Ramanaidu
2024-11-27 19:36 ` ✓ Xe.CI.BAT: success for Update skip messages in scaling modes Patchwork
2024-11-27 19:53 ` ✓ i915.CI.BAT: " Patchwork
2024-11-27 20:40 ` ✗ Xe.CI.Full: failure " Patchwork
2024-11-27 21:25 ` ✗ i915.CI.Full: " 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=b4277fb5-b12f-4f6e-bac3-f38abdffad70@intel.com \
--to=swati2.sharma@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=karthik.b.s@intel.com \
--cc=ramanaidu.naladala@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