modetest: 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:45:09 +0000 (09:45 +0200)
commitbf462d03118f5e0266647ea307f061d3ed1c0a2e
treedbd2470e9be126330101707e54b9db48b0d1569c
parentc895650f5de52b6ddcbf4594374db94e5ae76c7a
modetest: 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/modetest/buffers.c.
tests/modetest/buffers.c