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

2022-03-09 Thread Javier Martinez Canillas
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. > >

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

2022-03-07 Thread Geert Uytterhoeven
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 --- v2: - New. ---