public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Karthik B S <karthik.b.s@intel.com>
To: Kunal Joshi <kunal1.joshi@intel.com>, <igt-dev@lists.freedesktop.org>
Subject: Re: [PATCH i-g-t 6/7] tests/intel/kms_joiner: Require boundary mode for basic-max-non-joiner
Date: Mon, 6 Apr 2026 11:36:44 +0530	[thread overview]
Message-ID: <27593910-996f-4de3-9a07-9e224ce63f4d@intel.com> (raw)
In-Reply-To: <20260401160627.1338526-7-kunal1.joshi@intel.com>

Hi Kunal,

On 4/1/2026 9:36 PM, Kunal Joshi wrote:
> Skip when the returned mode's hdisplay is below the
> platform's single-pipe limit.
>
> Signed-off-by: Kunal Joshi <kunal1.joshi@intel.com>
> ---
>   tests/intel/kms_joiner.c | 4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/tests/intel/kms_joiner.c b/tests/intel/kms_joiner.c
> index 86226a3ba..765572d98 100644
> --- a/tests/intel/kms_joiner.c
> +++ b/tests/intel/kms_joiner.c
> @@ -572,6 +572,7 @@ static void test_ultra_joiner(data_t *data, bool invalid_pipe, bool two_display,
>   static void test_basic_max_non_joiner(data_t *data)
>   {
>   	igt_display_t *display = &data->display;
> +	int max_hdisplay = intel_get_max_pipe_hdisplay(data->drm_fd);
>   	int count;
>   	enum pipe pipe;
>   	igt_output_t **outputs, *output;
> @@ -597,6 +598,9 @@ static void test_basic_max_non_joiner(data_t *data)
>   				igt_require(max_non_joiner_mode_found(data->drm_fd,
>   								      output->config.connector,
>   								      max_dotclock, &mode));
> +				igt_require_f(mode.hdisplay >= max_hdisplay,
> +					      "Max non-joiner mode %dx%d below single-pipe limit %d\n",
> +					      mode.hdisplay, mode.vdisplay, max_hdisplay);

This will break when we've a case where the highest mode returned is 
based on clock and might not always be the mode which has max_hdisplay. 
So we might need to have an independent function to handle this?

Thanks and Regards,
Karthik.B.S
>   				igt_output_override_mode(output, &mode);
>   				igt_info("Appplying mode = %dx%d@%d\n", mode.hdisplay,
>   					 mode.vdisplay, mode.vrefresh);

  parent reply	other threads:[~2026-04-06  6:07 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-01 16:06 [PATCH i-g-t 0/7] tests/kms_pipe_crc_basic: add mst suspend-resume test Kunal Joshi
2026-04-01 16:06 ` [PATCH i-g-t 1/7] tests/intel/kms_mst_helper: Add kernel-doc for existing function Kunal Joshi
2026-04-02  4:00   ` Kandpal, Suraj
2026-04-10 14:54     ` Kamil Konieczny
2026-04-01 16:06 ` [PATCH i-g-t 2/7] tests/intel/kms_mst_helper: Add helper to check for MST outputs Kunal Joshi
2026-04-02  5:15   ` Kandpal, Suraj
2026-04-01 16:06 ` [PATCH i-g-t 3/7] lib/igt_kms: Fix max_non_joiner_mode_found Kunal Joshi
2026-04-01 16:06 ` [PATCH i-g-t 4/7] lib/igt_kms: Export get_max_pipe_hdisplay as intel_get_max_pipe_hdisplay Kunal Joshi
2026-04-02  5:21   ` Kandpal, Suraj
2026-04-01 16:06 ` [PATCH i-g-t 5/7] tests/intel/kms_joiner_helper: Move max_non_joiner_mode_found Kunal Joshi
2026-04-02  5:23   ` Kandpal, Suraj
2026-04-01 16:06 ` [PATCH i-g-t 6/7] tests/intel/kms_joiner: Require boundary mode for basic-max-non-joiner Kunal Joshi
2026-04-02  5:27   ` Kandpal, Suraj
2026-04-06  6:06   ` Karthik B S [this message]
2026-04-01 16:06 ` [PATCH i-g-t 7/7] tests/intel/kms_mst: Add MST suspend-resume test Kunal Joshi
2026-04-01 20:14 ` ✓ Xe.CI.BAT: success for tests/kms_pipe_crc_basic: add mst suspend-resume test (rev6) Patchwork
2026-04-01 20:40 ` ✓ i915.CI.BAT: " Patchwork
2026-04-02  2:14 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-04-02 15:06 ` ✗ 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=27593910-996f-4de3-9a07-9e224ce63f4d@intel.com \
    --to=karthik.b.s@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kunal1.joshi@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