[PATCH v2 1/1] tests/kms_plane: Restricting number of pixel formats for simulation
B, Jeevan
jeevan.b at intel.com
Wed Feb 14 10:14:11 UTC 2024
> -----Original Message-----
> From: Samala, Pranay <pranay.samala at intel.com>
> Sent: Wednesday, February 14, 2024 2:23 PM
> To: igt-dev at lists.freedesktop.org
> Cc: B S, Karthik <karthik.b.s at intel.com>; B, Jeevan <jeevan.b at intel.com>;
> Samala, Pranay <pranay.samala at intel.com>; Samala
> Subject: [PATCH v2 1/1] tests/kms_plane: Restricting number of pixel formats
> for simulation
>
> The pixel-format subtest runs on all pixel formats, reducing it to single format
> to reduce execution time on simulation.
>
> Cc: B S, Karthik <karthik.b.s at intel.com>
> Cc: B, Jeevan <jeevan.b at intel.com>
LGTM
Reviewed-by: Jeevan B <jeevan.b at intel.com>
>
> Signed-off-by: Samala, Pranay <pranay.samala at intel.com>
> ---
> tests/kms_plane.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/tests/kms_plane.c b/tests/kms_plane.c index 406aecc04..fbffc3cb0
> 100644
> --- a/tests/kms_plane.c
> +++ b/tests/kms_plane.c
> @@ -1081,6 +1081,9 @@ static bool test_format_plane(data_t *data, enum
> pipe pipe,
> f.modifier == ref.modifier)
> continue;
>
> + if (f.format != DRM_FORMAT_XRGB8888 &&
> igt_run_in_simulation())
> + continue;
> +
> /* test each format "class" only once in non-extended tests */
> if (!data->extended && f.modifier !=
> DRM_FORMAT_MOD_LINEAR) {
> struct format_mod rf = {
> --
> 2.34.1
More information about the igt-dev
mailing list