All of lore.kernel.org
 help / color / mirror / Atom feed
From: Karthik B S <karthik.b.s@intel.com>
To: Ville Syrjala <ville.syrjala@linux.intel.com>,
	igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t v2 03/11] tests/kms_plane_scaling: Use igt_plane_has_rotation()
Date: Mon, 20 Sep 2021 13:15:29 +0530	[thread overview]
Message-ID: <fa609b28-8dee-8ca5-136f-d30fe2cff979@intel.com> (raw)
In-Reply-To: <20210909153047.16729-4-ville.syrjala@linux.intel.com>

On 9/9/2021 9:00 PM, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
> Replace the hand rolled gen check with igt_plane_has_rotation().
>
> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Looks good to me.

Reviewed-by: Karthik B S <karthik.b.s@intel.com>

> ---
>   tests/kms_plane_scaling.c | 5 +----
>   1 file changed, 1 insertion(+), 4 deletions(-)
>
> diff --git a/tests/kms_plane_scaling.c b/tests/kms_plane_scaling.c
> index 809463a71583..4c517a4326d7 100644
> --- a/tests/kms_plane_scaling.c
> +++ b/tests/kms_plane_scaling.c
> @@ -165,10 +165,6 @@ static bool can_rotate(data_t *d, unsigned format, uint64_t tiling,
>   	if (!is_i915_device(d->drm_fd))
>   		return true;
>   
> -	if (intel_display_ver(d->devid) >= 13 &&
> -		igt_rotation_90_or_270(rot))
> -		return false;
> -
>   	switch (format) {
>   	case DRM_FORMAT_RGB565:
>   		if (intel_display_ver(d->devid) >= 11)
> @@ -272,6 +268,7 @@ static void test_scaler_with_rotation_pipe(data_t *d, enum pipe pipe,
>   
>   				if (test_format(d, &tested_formats, format) &&
>   				    igt_plane_has_format_mod(plane, format, tiling) &&
> +				    igt_plane_has_rotation(plane, rot) &&
>   				    can_rotate(d, format, tiling, rot) &&
>   				    can_scale(d, format))
>   					check_scaling_pipe_plane_rot(d, plane, format,


  reply	other threads:[~2021-09-20  7:45 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-09 15:30 [igt-dev] [PATCH i-g-t v2 00/11] kms: Clean up the supported rotations mess Ville Syrjala
2021-09-09 15:30 ` [igt-dev] [PATCH i-g-t v2 01/11] lib/kms: Add igt_plane_has_rotation() Ville Syrjala
2021-09-20  7:37   ` Karthik B S
2021-09-09 15:30 ` [igt-dev] [PATCH i-g-t v2 02/11] tests/kms_rotation_crc: Use igt_plane_has_rotation() Ville Syrjala
2021-09-20  7:42   ` Karthik B S
2021-09-09 15:30 ` [igt-dev] [PATCH i-g-t v2 03/11] tests/kms_plane_scaling: " Ville Syrjala
2021-09-20  7:45   ` Karthik B S [this message]
2021-09-09 15:30 ` [igt-dev] [PATCH i-g-t v2 04/11] tests/kms_big_fb: " Ville Syrjala
2021-09-20  7:46   ` Karthik B S
2021-09-09 15:30 ` [igt-dev] [PATCH i-g-t v2 05/11] tests/kms_big_fb: Use igt_has_drm_cap() Ville Syrjala
2021-09-20  7:48   ` Karthik B S
2021-09-09 15:30 ` [igt-dev] [PATCH i-g-t v2 06/11] tests/kms_big_fb: Move batch creation into lower level functions Ville Syrjala
2021-09-09 15:30 ` [igt-dev] [PATCH i-g-t v2 07/11] tests/kms_big_fb: Move format/modifier checks lower Ville Syrjala
2021-09-09 15:30 ` [igt-dev] [PATCH i-g-t v2 08/11] tests/kms_big_fb: Nuke the stride/format overrides Ville Syrjala
2021-09-09 15:30 ` [igt-dev] [PATCH i-g-t v2 09/11] tests/kms_big_fb: Check whether the rotation is supposed in the async flip test Ville Syrjala
2021-09-09 15:30 ` [igt-dev] [PATCH i-g-t v2 10/11] tests/kms_plane: Abstract single vs. multiple crsc better Ville Syrjala
2021-09-09 15:30 ` [igt-dev] [PATCH i-g-t v2 11/11] tests/kms_plane: Use single colors during extended test Ville Syrjala
2021-09-09 16:32 ` [igt-dev] ✓ Fi.CI.BAT: success for kms: Clean up the supported rotations mess (rev3) Patchwork
2021-09-09 17:47 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2021-11-10 18:03 ` [igt-dev] [PATCH i-g-t v2 00/11] kms: Clean up the supported rotations mess Juha-Pekka Heikkila

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=fa609b28-8dee-8ca5-136f-d30fe2cff979@intel.com \
    --to=karthik.b.s@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=ville.syrjala@linux.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.