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

Javier Martinez Canillas javierm at redhat.com
Wed Mar 9 12:50:05 UTC 2022


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 at linux-m68k.org>
> ---
Reviewed-by: Javier Martinez Canillas <javierm at redhat.com>

-- 
Best regards,

Javier Martinez Canillas
Linux Engineering
Red Hat



More information about the dri-devel mailing list