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 v2 0/4] drm/vkms: Add gamma 2.2 and 2.4 1D curve colorops
Date: Fri, 4 Dec 2026 15:53:39 +0100 [thread overview]
Message-ID: <20261204145427.221618-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.
Changes in v2:
- Avoid overflow in test
- Fix wrong values in gamma22_inv_eotf
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 | 44 +-
drivers/gpu/drm/vkms/vkms_colorop.c | 6 +-
drivers/gpu/drm/vkms/vkms_composer.c | 26 +
drivers/gpu/drm/vkms/vkms_luts.c | 1607 +++++++++++++++++
drivers/gpu/drm/vkms/vkms_luts.h | 4 +
6 files changed, 1704 insertions(+), 23 deletions(-)
--
2.56.1
next reply other threads:[~2026-12-04 14:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 14:53 Robert Mader [this message]
2026-12-04 14:53 ` [PATCH v2 1/4] drm/vkms: Fix inverse lut naming scheme in script Robert Mader
2026-12-04 14:53 ` [PATCH v2 2/4] drm/vkms: Make LUT test reusable Robert Mader
2026-12-04 14:53 ` [PATCH v2 3/4] drm/vkms: Add support for DRM_COLOROP_1D_CURVE_GAMMA22 Robert Mader
2026-12-04 15:10 ` sashiko-bot
2026-12-04 14:53 ` [PATCH v2 4/4] drm/vkms: Add support for DRM_COLOROP_1D_CURVE_GAMMA24 Robert Mader
2026-12-04 15:11 ` sashiko-bot
2026-12-05 9:55 ` kernel test robot
2026-12-05 9:55 ` kernel test robot
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=20261204145427.221618-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 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.