[igt-dev] [PATCH i-g-t v2] tests/kms_rotation_crc: reduce execution time

Shankar, Uma uma.shankar at intel.com
Wed Jan 6 05:56:44 UTC 2021



> -----Original Message-----
> From: B, Jeevan <jeevan.b at intel.com>
> Sent: Tuesday, December 29, 2020 1:16 PM
> To: igt-dev at lists.freedesktop.org
> Cc: Shankar, Uma <uma.shankar at intel.com>; B S, Karthik
> <karthik.b.s at intel.com>; B, Jeevan <jeevan.b at intel.com>
> Subject: [PATCH i-g-t v2] tests/kms_rotation_crc: reduce execution time
> 
> Restricting the execution to 2 pipes.

Please add some more details here. Would be good to add the actual execution time
improvement.

With that added, this is
Reviewed-by: Uma Shankar <uma.shankar at intel.com>

> Signed-off-by: Jeevan B <jeevan.b at intel.com>
> ---
>  tests/kms_rotation_crc.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c index
> ffcc2cc2..07639236 100644
> --- a/tests/kms_rotation_crc.c
> +++ b/tests/kms_rotation_crc.c
> @@ -409,6 +409,10 @@ static void test_plane_rotation(data_t *data, int
> plane_type, bool test_bad_form
>  		if (IS_CHERRYVIEW(data->devid) && pipe != PIPE_B)
>  			continue;
> 
> +		/* restricting the execution to 2 pipes to reduce execution time*/
> +		if (pipe > PIPE_B && !data->extended)
> +			break;
> +
>  		igt_output_set_pipe(output, pipe);
> 
>  		plane = igt_output_get_plane_type(output, plane_type);
> --
> 2.19.1



More information about the igt-dev mailing list