util: add support for DRM_FORMAT_C[124]
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 3 Mar 2022 17:13:07 +0000 (18:13 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 24 Oct 2023 07:44:13 +0000 (09:44 +0200)
commit236766b0b3eda0271fd378af52afc19d6f8e1531
tree0dd391ce28ec8d0c41cf2400c3fbbd007f5113a6
parent6d9645bb3b7b6fa206aaa6e7bf4c8fe86efccb83
util: add support for DRM_FORMAT_C[124]

Add support for creating buffers using the new color-indexed frame
buffer formats with two, four, and sixteen colors.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
v5:
  - Add Reviewed-by,

v4:
  - No changes,

v3:
  - Add Acked-by,

v2:
  - Split off changes to tests/util/format.c.
tests/util/format.c