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