mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Robert Mader <robert.mader@collabora.com>
To: dri-devel@lists.freedesktop.org
Cc: Pekka Paalanen <pekka.paalanen@collabora.com>,
	Harry Wentland <harry.wentland@amd.com>,
	Melissa Wen <mwen@igalia.com>,
	Sebastian Wick <sebastian.wick@redhat.com>,
	Robert Mader <robert.mader@collabora.com>,
	Louis Chauvet <louis.chauvet@bootlin.com>,
	Haneen Mohammed <hamohammed.sa@gmail.com>,
	Simona Vetter <simona@ffwll.ch>,
	Melissa Wen <melissa.srw@gmail.com>,
	Oarora Etimis <oaroraetimis@gmail.com>,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Maxime Ripard <mripard@kernel.org>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	David Airlie <airlied@gmail.com>,
	Leandro Ribeiro <leandro.ribeiro@collabora.com>,
	linux-kernel@vger.kernel.org
Subject: [PATCH v1 0/4] drm/vkms: Add gamma 2.2 and 2.4 1D curve colorops
Date: Fri,  4 Dec 2026 14:50:34 +0100	[thread overview]
Message-ID: <20261204135131.195561-1-robert.mader@collabora.com> (raw)

This series implements two LUTs that are typically used for SDR content and
falls into the context of pre- and post-blend pipelines.

It depends on the first commit of
https://lore.kernel.org/dri-devel/20261119195158.2546927-2-harry.wentland@amd.com/
and is implemented in the following Weston MR:
https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/2157

In that MR the curves are further tested to match the corresponding Weston
GL implementations.

Robert Mader (4):
  drm/vkms: Fix inverse lut naming scheme in script
  drm/vkms: Make LUT test reusable
  drm/vkms: Add support for DRM_COLOROP_1D_CURVE_GAMMA22
  drm/vkms: Add support for DRM_COLOROP_1D_CURVE_GAMMA24

 .../gpu/drm/vkms/scripts/color-curve-lut.py   |   40 +-
 drivers/gpu/drm/vkms/tests/vkms_color_test.c  |   41 +-
 drivers/gpu/drm/vkms/vkms_colorop.c           |    6 +-
 drivers/gpu/drm/vkms/vkms_composer.c          |   26 +
 drivers/gpu/drm/vkms/vkms_luts.c              | 5798 +++++++++++++++++
 drivers/gpu/drm/vkms/vkms_luts.h              |    4 +
 6 files changed, 5893 insertions(+), 22 deletions(-)

-- 
2.56.1


             reply	other threads:[~2026-12-04 13:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04 13:50 Robert Mader [this message]
2026-12-04 13:50 ` [PATCH v1 1/4] drm/vkms: Fix inverse lut naming scheme in script Robert Mader
2026-12-04 13:50 ` [PATCH v1 2/4] drm/vkms: Make LUT test reusable Robert Mader
2026-12-04 13:50 ` [PATCH v1 3/4] drm/vkms: Add support for DRM_COLOROP_1D_CURVE_GAMMA22 Robert Mader
2026-12-04 13:50 ` [PATCH v1 4/4] drm/vkms: Add support for DRM_COLOROP_1D_CURVE_GAMMA24 Robert Mader

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=20261204135131.195561-1-robert.mader@collabora.com \
    --to=robert.mader@collabora.com \
    --cc=airlied@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=hamohammed.sa@gmail.com \
    --cc=harry.wentland@amd.com \
    --cc=leandro.ribeiro@collabora.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=louis.chauvet@bootlin.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=melissa.srw@gmail.com \
    --cc=mripard@kernel.org \
    --cc=mwen@igalia.com \
    --cc=oaroraetimis@gmail.com \
    --cc=pekka.paalanen@collabora.com \
    --cc=sebastian.wick@redhat.com \
    --cc=simona@ffwll.ch \
    --cc=tzimmermann@suse.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®