Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: Swati Sharma <swati2.sharma@intel.com>, igt-dev@lists.freedesktop.org
Cc: chaitanya.kumar.borah@intel.com, Swati Sharma <swati2.sharma@intel.com>
Subject: Re: [PATCH i-g-t, v4 7/7] tests/kms_chamelium_color_pipeline: Add FIXED_MATRIX colorop tests
Date: Mon, 31 Aug 2026 10:19:21 +0300	[thread overview]
Message-ID: <dc610f3981dc5b4416b77d0d56873389d2ee898a@intel.com> (raw)
In-Reply-To: <20260826183932.351933-8-swati2.sharma@intel.com>

On Thu, 27 Aug 2026, Swati Sharma <swati2.sharma@intel.com> wrote:
> @@ -345,6 +382,191 @@ run_tests_for_plane(data_t *data)
>  	}
>  }
>  
> +static void
> +test_plane_fixed_matrix_colorops(data_t *data, igt_crtc_t *crtc,
> +				 const color_t *fb_colors,
> +				 kms_colorop_t *colorops[],
> +				 enum igt_color_encoding encoding,
> +				 enum igt_color_range range,
> +				 int port_idx)
> +{
> +	int n_planes = crtc->n_planes;
> +	igt_output_t *output = data->output;
> +	igt_plane_t *plane;
> +
> +	for (int plane_id = 0; plane_id < n_planes; plane_id++) {
> +		plane = igt_output_get_plane(output, plane_id);
> +
> +		if (!igt_plane_has_prop(plane, IGT_PLANE_COLOR_PIPELINE))
> +			continue;
> +
> +		igt_dynamic_f("pipe-%s-plane-%u", kmstest_pipe_name(crtc->pipe), plane_id)

Please use igt_crtc_name() instead of kmstest_pipe_name(crtc->pipe).

> +			_test_plane_colorops(data, plane, fb_colors,
> +					     NULL, colorops,
> +					     data->ports[port_idx],
> +					     DRM_FORMAT_YUYV,
> +					     encoding, range);
> +	}
> +}

-- 
Jani Nikula, Intel

  reply	other threads:[~2026-08-31  7:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-26 18:39 [PATCH i-g-t,v4 0/7] Add FIXED_MATRIX colorop tests Swati Sharma
2026-08-26 18:39 ` [PATCH i-g-t, v4 1/7] include/drm-uapi: Add DRM_COLOROP_FIXED_MATRIX definition Swati Sharma
2026-08-26 18:39 ` [PATCH i-g-t, v4 2/7] lib/igt_kms: Add FIXED_MATRIX_TYPE colorop property Swati Sharma
2026-08-26 18:39 ` [PATCH i-g-t, v4 3/7] tests/kms_colorop_helper: Add Fixed Matrix colorop infrastructure Swati Sharma
2026-08-26 18:39 ` [PATCH i-g-t, v4 4/7] tests/kms_colorop_helper: Add Fixed Matrix enum names table Swati Sharma
2026-08-26 18:39 ` [PATCH i-g-t, v4 5/7] tests/kms_color_pipeline: Add FIXED_MATRIX colorop tests Swati Sharma
2026-08-26 18:39 ` [PATCH i-g-t, v4 6/7] tests/kms_color_pipeline: Remove unused color_depth and drm_format Swati Sharma
2026-08-26 18:39 ` [PATCH i-g-t, v4 7/7] tests/kms_chamelium_color_pipeline: Add FIXED_MATRIX colorop tests Swati Sharma
2026-08-31  7:19   ` Jani Nikula [this message]
2026-08-26 19:52 ` ✓ Xe.CI.BAT: success for Add FIXED_MATRIX colorop tests (rev4) Patchwork
2026-08-26 20:11 ` ✓ i915.CI.BAT: " Patchwork
2026-08-27  0:02 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-08-27  3:09 ` ✗ 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=dc610f3981dc5b4416b77d0d56873389d2ee898a@intel.com \
    --to=jani.nikula@intel.com \
    --cc=chaitanya.kumar.borah@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=swati2.sharma@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