Hi all, A long outstanding issue with the DRM subsystem has been the lack of support for low-color displays, as used typically on older desktop systems, and on small embedded displays. This patch series adds support for color-indexed frame buffer formats with 2, 4, and 16 colors. It has been tested on ARAnyM using a work-in-progress Atari DRM driver. Changes compared to v1: - SMPTE color LUT accuracy, - Factor out smpte color LUT, - Restructure patches, - Improve descriptions. - Store number of colors for indexed formats, - Add SMPTE pattern support for the C1 and C2 formats. Please refer to [2] for related Linux DRM patches and background information. Thanks for your comments! [1] "[PATCH libdrm 0/3] Add support for low-color frame buffer formats" https://lore.kernel.org/r/cover.1646683737.git.geert@xxxxxxxxxxxxxx [2] "[PATCH v3 00/10] drm: Add support for low-color frame buffer formats" https://lore.kernel.org/r/cover.1657294931.git.geert@xxxxxxxxxxxxxx Geert Uytterhoeven (10): util: Improve SMPTE color LUT accuracy util: Factor out and optimize C8 SMPTE color LUT [RFC] drm_fourcc: Add DRM_FORMAT_C[124] util: Add support for DRM_FORMAT_C[124] util: Store number of colors for indexed formats util: Add SMPTE pattern support for C4 format util: Add SMPTE pattern support for C1 format util: Add SMPTE pattern support for C2 format modetest: Add support for DRM_FORMAT_C[124] modetest: Add SMPTE pattern support for C4 format include/drm/drm_fourcc.h | 5 +- tests/modetest/buffers.c | 15 ++ tests/modetest/modetest.c | 9 +- tests/util/format.c | 5 +- tests/util/format.h | 1 + tests/util/pattern.c | 416 ++++++++++++++++++++++++++++++++++---- tests/util/pattern.h | 2 +- 7 files changed, 409 insertions(+), 44 deletions(-) -- 2.25.1