All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
To: Swati Sharma <swati2.sharma@intel.com>, igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t v2] tests/kms_rotation_crc: enable and optimize test for sim
Date: Wed, 31 May 2023 11:10:46 +0300	[thread overview]
Message-ID: <2e738b13-0afb-c049-1fff-c6108a23cdac@gmail.com> (raw)
In-Reply-To: <20230529121143.327907-1-swati2.sharma@intel.com>

look ok to me. While pushing you could fix typo from commit message, 
"PO10" -> "P010".

Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>

On 29.5.2023 15.11, Swati Sharma wrote:
> To reduce execution time in simulation dropping RGB565 and PO10
> formats (coverage is not compromised, we do have NV12 and RGB888
> formats being validated).
> Also, skipping buffered CRC reusecrcfromlastround() in simulation.
> 
> v2: -Add checks inside multiplaneskiproundcheck() and
>       reusecrcfromlastround() (JP)
> 
> Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
> ---
>   tests/kms_rotation_crc.c | 13 +++++++++++++
>   1 file changed, 13 insertions(+)
> 
> diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
> index 28b4fd27..0a22cc22 100644
> --- a/tests/kms_rotation_crc.c
> +++ b/tests/kms_rotation_crc.c
> @@ -719,6 +719,16 @@ static bool multiplaneskiproundcheck(data_t *data, planeinfos p[2])
>   	if (!igt_plane_has_rotation(p[1].plane, p[1].fbinfo->rotation))
>   		return false;
>   
> +	if (igt_run_in_simulation() &&
> +	   (multiplaneformatlist[p[0].formatindex] == DRM_FORMAT_P010 ||
> +	    multiplaneformatlist[p[0].formatindex] == DRM_FORMAT_RGB565))
> +		return false;
> +
> +	if (igt_run_in_simulation() &&
> +	   (multiplaneformatlist[p[1].formatindex] == DRM_FORMAT_P010 ||
> +	    multiplaneformatlist[p[1].formatindex] == DRM_FORMAT_RGB565))
> +		return false;
> +
>   	return true;
>   }
>   
> @@ -765,6 +775,9 @@ static bool reusecrcfromlastround(planeinfos p[2], int lastroundp1format,
>   				  int lastroundp0rotation,
>   				  int lastroundp1rotation)
>   {
> +	if (igt_run_in_simulation())
> +		return false;
> +
>   	if (planarcheck != 1)
>   		return false;
>   

  parent reply	other threads:[~2023-05-31  8:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-29 12:11 [igt-dev] [PATCH i-g-t v2] tests/kms_rotation_crc: enable and optimize test for sim Swati Sharma
2023-05-30 13:33 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_rotation_crc: enable and optimize test for sim (rev2) Patchwork
2023-05-31  3:47 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2023-05-31  8:10 ` Juha-Pekka Heikkila [this message]
2023-05-31  8:12   ` [igt-dev] [PATCH i-g-t v2] tests/kms_rotation_crc: enable and optimize test for sim Sharma, Swati2

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=2e738b13-0afb-c049-1fff-c6108a23cdac@gmail.com \
    --to=juhapekka.heikkila@gmail.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 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.