From: Geert Uytterhoeven <geert@linux-m68k.org>
To: dri-devel@lists.freedesktop.org
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Subject: [PATCH libdrm 0/3] Add support for low-color frame buffer formats
Date: Mon, 7 Mar 2022 21:53:15 +0100 [thread overview]
Message-ID: <cover.1646683737.git.geert@linux-m68k.org> (raw)
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 supporting 2, 4, 16, and 256 colors.
Overview:
- Patch 1 optimizes the C8 SMPTE color LUT, for reuse with formats
providing less colors,
- Patch 2 introduces the new C[124] formats,
- Patch 3 adds SMPTE pattern support for the C4 format.
Note that so far there is no specific pattern support for the C1 and C2
formats.
Please refer to [1] for more information.
Thanks for your comments!
[1] "[PATCH v2 00/10] drm: Add support for low-color frame buffer formats"
https://lore.kernel.org/r/cover.1646683502.git.geert@linux-m68k.org
Geert Uytterhoeven (3):
util: Optimize C8 SMPTE color LUT
drm_fourcc: Add DRM_FORMAT_C[124]
util: Add SMPTE pattern support for C4 format
include/drm/drm_fourcc.h | 5 ++-
tests/modetest/buffers.c | 15 +++++++
tests/modetest/modetest.c | 13 ++++--
tests/util/format.c | 3 ++
tests/util/pattern.c | 93 +++++++++++++++++++++++++++++----------
tests/util/pattern.h | 2 +-
6 files changed, 101 insertions(+), 30 deletions(-)
--
2.25.1
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
next reply other threads:[~2022-03-07 20:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-07 20:53 Geert Uytterhoeven [this message]
2022-03-07 20:53 ` [PATCH libdrm 1/3] util: Optimize C8 SMPTE color LUT Geert Uytterhoeven
2022-03-07 20:53 ` [PATCH libdrm 2/3] drm_fourcc: Add DRM_FORMAT_C[124] Geert Uytterhoeven
2022-03-08 9:24 ` Pekka Paalanen
2022-03-07 20:53 ` [PATCH libdrm 3/3] util: Add SMPTE pattern support for C4 format Geert Uytterhoeven
2022-03-07 21:23 ` Ilia Mirkin
2022-03-08 7:57 ` Geert Uytterhoeven
2022-03-14 13:06 ` Geert Uytterhoeven
2022-03-14 13:43 ` Ilia Mirkin
2022-03-14 14:06 ` Geert Uytterhoeven
2022-03-14 14:39 ` Ilia Mirkin
2022-03-14 14:48 ` Geert Uytterhoeven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1646683737.git.geert@linux-m68k.org \
--to=geert@linux-m68k.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.