Re: [PATCH v2 02/10] drm/fourcc: Add drm_format_info.is_color_indexed flag

From: Javier Martinez Canillas
Date: Wed Mar 09 2022 - 07:50:15 EST


On 3/7/22 21:52, Geert Uytterhoeven wrote:
> Add a flag to struct drm_format_info to indicate if a format is
> color-indexed, similar to the existing .is_yuv flag.
>
> This way generic code and drivers can just check this flag, instead of
> checking against a list of fourcc formats.
>
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> ---
Reviewed-by: Javier Martinez Canillas <javierm@xxxxxxxxxx>

--
Best regards,

Javier Martinez Canillas
Linux Engineering
Red Hat