From: Louis Chauvet <louis.chauvet@bootlin.com>
To: "Oarora Etimis" <oaroraetimis@gmail.com>,
"Haneen Mohammed" <hamohammed.sa@gmail.com>,
"Simona Vetter" <simona@ffwll.ch>,
"Melissa Wen" <melissa.srw@gmail.com>,
"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Maxime Ripard" <mripard@kernel.org>,
"Thomas Zimmermann" <tzimmermann@suse.de>,
"David Airlie" <airlied@gmail.com>,
"Maíra Canal" <mairacanal@riseup.net>,
"Harry Wentland" <harry.wentland@amd.com>,
"Pekka Paalanen" <pekka.paalanen@collabora.com>,
"Arthur Grillo" <arthurgrillo@riseup.net>,
"Helen Koike" <helen.fornazier@gmail.com>,
"Vignesh Raman" <vignesh.raman@collabora.com>
Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH RESEND 3/4] drm/vkms: add a KUnit test for the precomputed LUT table
Date: Tue, 24 Nov 2026 16:13:25 +0100 [thread overview]
Message-ID: <7409b2e4-5f16-4fc4-a0fa-39546c50d0ef@bootlin.com> (raw)
In-Reply-To: <20261123-lut-v1-3-5556c89a2ebd@gmail.com>
On 11/23/26 17:20, Oarora Etimis wrote:
> build_lut_table() turns a per-pixel interpolation into a table lookup, so
> a wrong entry changes the composed output with no other symptom.
>
> Compare every entry against apply_lut_to_channel_value() for the same
> channel and value, for a 4-entry LUT whose channels differ and for the
> 256-entry sRGB one. The check stops at the first mismatch and prints its
> channel, value and both results.
>
> The tables are built with apply_lut_to_channel_value(), so this proves the
> lookup matches the interpolation, not that the LUT arithmetic is right;
> vkms_color_srgb_inv_srgb() covers the latter.
>
> Signed-off-by: Oarora Etimis <oaroraetimis@gmail.com>
Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com>
next prev parent reply other threads:[~2026-11-24 15:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 16:20 [PATCH RESEND 0/4] drm/vkms: speed up composition with a precomputed gamma LUT Oarora Etimis
2026-11-23 16:20 ` [PATCH RESEND 1/4] drm/vkms: use the gamma LUT of the state being composed Oarora Etimis
2026-11-24 15:14 ` Louis Chauvet
2026-11-23 16:20 ` [PATCH RESEND 2/4] drm/vkms: precompute the gamma LUT for every channel value Oarora Etimis
2026-11-24 15:14 ` Louis Chauvet
2026-11-23 16:20 ` [PATCH RESEND 3/4] drm/vkms: add a KUnit test for the precomputed LUT table Oarora Etimis
2026-11-24 15:13 ` Louis Chauvet [this message]
2026-11-23 16:20 ` [PATCH RESEND 4/4] drm/ci: drop the kms_plane pixel-format xfails for vkms Oarora Etimis
2026-11-24 15:14 ` Louis Chauvet
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=7409b2e4-5f16-4fc4-a0fa-39546c50d0ef@bootlin.com \
--to=louis.chauvet@bootlin.com \
--cc=airlied@gmail.com \
--cc=arthurgrillo@riseup.net \
--cc=dri-devel@lists.freedesktop.org \
--cc=hamohammed.sa@gmail.com \
--cc=harry.wentland@amd.com \
--cc=helen.fornazier@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mairacanal@riseup.net \
--cc=melissa.srw@gmail.com \
--cc=mripard@kernel.org \
--cc=oaroraetimis@gmail.com \
--cc=pekka.paalanen@collabora.com \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
--cc=vignesh.raman@collabora.com \
/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®