Geert Uytterhoeven dc1dc76bd9 drm/fourcc: Add drm_format_info.is_color_indexed flag
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>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/90cd390b2b4d481661f966de7b504f1702d80dfd.1657294931.git.geert@linux-m68k.org
2022-07-09 15:00:08 +02:00
..
2021-07-29 09:12:01 +02:00
2022-02-07 16:35:35 -08:00
2021-11-30 09:41:28 +01:00
2022-04-04 18:00:19 +02:00
2021-08-13 17:50:48 +02:00
2021-11-30 09:41:28 +01:00
2022-03-14 17:36:59 +02:00
2022-02-07 16:35:35 -08:00
2022-06-27 13:45:48 +02:00
2020-07-16 18:16:31 -04:00
2021-10-04 12:06:14 +02:00