All of lore.kernel.org
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: dri-devel@lists.freedesktop.org
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Subject: [PATCH libdrm v3 0/9] util, modetest: Add support for low-color frame buffer formats
Date: Fri, 28 Jul 2023 11:52:31 +0200	[thread overview]
Message-ID: <cover.1690537375.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.

Changes compared to v2[1]:
  - Add Acked-by,
  - Add Wikipedia link,
  - Dropped "[RFC] drm_fourcc: Add DRM_FORMAT_C[124]", as these were
    added in commit 329eebcf32793361 ("drm_fourcc: sync drm_fourcc with
    latest drm-next kernel") in libdrm-2.4.115.

Changes compared to v1[2]:
  - 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.

I have also opened a merge request at [3].

Thanks for your comments!

[1] https://lore.kernel.org/r/cover.1657302034.git.geert@linux-m68k.org/
[2] https://lore.kernel.org/r/cover.1646683737.git.geert@linux-m68k.org/
[3] https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/314

Geert Uytterhoeven (9):
  util: Improve SMPTE color LUT accuracy
  util: Factor out and optimize C8 SMPTE color LUT
  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

 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 +-
 6 files changed, 405 insertions(+), 43 deletions(-)

-- 
2.34.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

             reply	other threads:[~2023-07-28  9:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-28  9:52 Geert Uytterhoeven [this message]
2023-07-28  9:52 ` [PATCH libdrm v3 1/9] util: Improve SMPTE color LUT accuracy Geert Uytterhoeven
2023-07-28  9:52 ` [PATCH libdrm v3 2/9] util: Factor out and optimize C8 SMPTE color LUT Geert Uytterhoeven
2023-07-28  9:52 ` [PATCH libdrm v3 3/9] util: Add support for DRM_FORMAT_C[124] Geert Uytterhoeven
2023-07-28  9:52 ` [PATCH libdrm v3 4/9] util: Store number of colors for indexed formats Geert Uytterhoeven
2023-07-28  9:52 ` [PATCH libdrm v3 5/9] util: Add SMPTE pattern support for C4 format Geert Uytterhoeven
2023-07-28  9:52 ` [PATCH libdrm v3 6/9] util: Add SMPTE pattern support for C1 format Geert Uytterhoeven
2023-07-28  9:52 ` [PATCH libdrm v3 7/9] util: Add SMPTE pattern support for C2 format Geert Uytterhoeven
2023-07-28  9:52 ` [PATCH libdrm v3 8/9] modetest: Add support for DRM_FORMAT_C[124] Geert Uytterhoeven
2023-07-28  9:52 ` [PATCH libdrm v3 9/9] modetest: Add SMPTE pattern support for C4 format 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.1690537375.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.