Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Karthik B S <karthik.b.s@intel.com>
To: Santhosh Reddy Guddati <santhosh.reddy.guddati@intel.com>,
	<igt-dev@lists.freedesktop.org>
Cc: <ankit.k.nautiyal@intel.com>
Subject: Re: [PATCH i-g-t v2] tests/intel/kms_joiner: Fix mixed_output subtest skips
Date: Thu, 16 Jul 2026 10:54:09 +0530	[thread overview]
Message-ID: <b08a5b96-a284-4cc7-acb9-91a4f1ef123e@intel.com> (raw)
In-Reply-To: <20260708075822.96872-1-santhosh.reddy.guddati@intel.com>


On 7/8/2026 1:28 PM, Santhosh Reddy Guddati wrote:
> In the mixed output case, mixed_output[1] is a non-big-joiner output,
> but bigjoiner_mode_found() was unconditionally called for both outputs,
> causing the subtest to skip. Only require a big joiner mode for the
> first output (j=0); the second uses its default mode.
>
> V2: Split compound statements by replacing with variables (Karthik)
>
> cc: Karthik B.S <karthik.b.s@intel.com>
> cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
> Signed-off-by: Santhosh Reddy Guddati <santhosh.reddy.guddati@intel.com>
Reviewed-by: Karthik B S <karthik.b.s@intel.com>
> ---
>   tests/intel/kms_joiner.c | 9 ++++++++-
>   1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/tests/intel/kms_joiner.c b/tests/intel/kms_joiner.c
> index d26eb3b01..dfcb24004 100644
> --- a/tests/intel/kms_joiner.c
> +++ b/tests/intel/kms_joiner.c
> @@ -382,10 +382,17 @@ static void test_invalid_modeset_two_joiner(data_t *data,
>   		for (j = 0; j < INVALID_TEST_OUTPUT; j++) {
>   			igt_crtc_t *crtc;
>   			enum pipe pipe = data->pipe_seq[i + j];
> +			/*
> +			 * In the mixed case only the first output (j == 0) is a
> +			 * big joiner output; the second is a non-big-joiner output.
> +			 * In all other cases every output is a big joiner output.
> +			 */
> +			bool is_big_joiner_output = !mixed || j == 0;
> +			bool needs_big_joiner_mode = !force_joiner && is_big_joiner_output;
>   
>   			output = outputs[j];
>   
> -			if (!force_joiner) {
> +			if (needs_big_joiner_mode) {
>   				igt_require_f(bigjoiner_mode_found(data->drm_fd, output->config.connector, max_dotclock, &mode),
>   							  "No big joiner mode found on output %s\n", output->name);
>   				igt_output_override_mode(output, &mode);

      parent reply	other threads:[~2026-07-16  5:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-08  7:58 [PATCH i-g-t v2] tests/intel/kms_joiner: Fix mixed_output subtest skips Santhosh Reddy Guddati
2026-07-08  8:38 ` ✓ Xe.CI.BAT: success for tests/intel/kms_joiner: Fix mixed_output subtest skips (rev2) Patchwork
2026-07-08  9:05 ` ✓ i915.CI.BAT: " Patchwork
2026-07-08 10:22 ` ✓ Xe.CI.FULL: " Patchwork
2026-07-09  1:26 ` ✗ i915.CI.Full: failure " Patchwork
2026-07-16  5:24 ` Karthik B S [this message]

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=b08a5b96-a284-4cc7-acb9-91a4f1ef123e@intel.com \
    --to=karthik.b.s@intel.com \
    --cc=ankit.k.nautiyal@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=santhosh.reddy.guddati@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