Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Sharma, Swati2" <swati2.sharma@intel.com>
To: Jeevan B <jeevan.b@intel.com>, <igt-dev@lists.freedesktop.org>
Subject: Re: [PATCH i-g-t 3/3] tests/kms_display_modes: Skip test if joiner display is connected
Date: Fri, 22 Nov 2024 00:19:32 +0530	[thread overview]
Message-ID: <32cd90b8-a2c3-44f9-a995-82d51dfd1ce8@intel.com> (raw)
In-Reply-To: <20241120174345.1970095-4-jeevan.b@intel.com>

Hi Jeevan,

On 20-11-2024 11:13 pm, Jeevan B wrote:

> High-resolution displays that support joiner modes can cause extended mode
> tests to fail. This commit introduces a check to skip these tests if a
> joiner mode display is connected, ensuring the test suite runs smoothly
> without unnecessary failures.
>
> Signed-off-by: Jeevan B <jeevan.b@intel.com>
> ---
>   tests/kms_display_modes.c | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/tests/kms_display_modes.c b/tests/kms_display_modes.c
> index f1d8ab03d..a2ab8f267 100644
> --- a/tests/kms_display_modes.c
> +++ b/tests/kms_display_modes.c
> @@ -318,6 +318,8 @@ igt_main
>   		igt_display_require_output(&data.display);
>   
>   		for_each_connected_output(&data.display, output) {
> +			igt_skip_on_f(is_joiner_mode(data.drm_fd, output),
> +				      "Joiner mode found, skipping the test\n");
Add output name too in skip message.
With this fixed,
Patch LGTM

Reviewed-by: Swati Sharma <swati2.sharma@intel.com>

>   			data.mst_output[count++] = output;
>   			if (output_is_dp_mst(&data, output, dp_mst_outputs))
>   				dp_mst_outputs++;

  reply	other threads:[~2024-11-21 18:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-20 17:43 [PATCH i-g-t 0/3] Skip test if joiner display is connected Jeevan B
2024-11-20 17:43 ` [PATCH i-g-t 1/3] lib/igt_kms: Add is_joiner_mode function Jeevan B
2024-11-21 18:05   ` Sharma, Swati2
2024-11-20 17:43 ` [PATCH i-g-t 2/3] tests/kms_async_flips: Skip Async flips on joiner output Jeevan B
2024-11-21 18:07   ` Sharma, Swati2
2024-11-20 17:43 ` [PATCH i-g-t 3/3] tests/kms_display_modes: Skip test if joiner display is connected Jeevan B
2024-11-21 18:49   ` Sharma, Swati2 [this message]
2024-11-20 18:53 ` ✓ Fi.CI.BAT: success for " Patchwork
2024-11-21  2:51 ` ✗ Xe.CI.Full: failure " Patchwork
2024-11-23 13:39 ` ✗ 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=32cd90b8-a2c3-44f9-a995-82d51dfd1ce8@intel.com \
    --to=swati2.sharma@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=jeevan.b@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