Re: [PATCH v2 00/12] drm/vkms: improve color curve LUTs precision

From: Louis Chauvet

Date: Wed Nov 25 2026 - 11:01:10 EST



On Fri, 06 Nov 2026 17:18:01 -0300, Leandro Ribeiro wrote:
> Currently VKMS only supports uniform LUTs. Besides the userspace
> provided LUTs, it also represents color curves with LUTs, as it can't
> simply implement the continuous curve formulas (floating-point would be
> required).
>
> This adds support to represent color curves with non-uniform LUTs,
> improving the precision significantly. It also provides a script
> that can be used to create these LUTs.
>
> [...]

Applied, thanks!

[01/12] drm/vkms: rename VKMS_LUT_SIZE to VKMS_GAMMA_LUT_SIZE
commit: 41b1a8294e3696a219e74cf47cb6e135f0b83fbf
[02/12] vkms: properly compute gamma LUT size in vkms_atomic_check()
commit: 812c119f486c91f5bcf2944cd4228f468e292fac
[03/12] drm/vkms: allow color curve LUTs to have different sizes
commit: df3941f15e96a0f5f34d3b7ef8516f51be256e4d
[04/12] drm/vkms: remove TEST_LUT_SIZE
commit: 16a9f629d75545541ba37f1f86b8c006e950f28a
[05/12] drm/vkms: remove linear_eotf
commit: 3d4ec3afd6e1ecb494d886ac4aecf4ce7f6d17fa
[06/12] drm/vkms: improve the way in which we access LUT member
commit: 801fe02d8d2a29c624804f6dec0bd880567af4f1
[07/12] drm/vkms: rename struct vkms_color_lut::base to y
commit: 094024f659091ca8a3c5958b68533f179498b2ee
[08/12] drm/vkms: rename get_lut_index() to get_uniform_lut_index()
commit: 27174eb6b985694913d188792d5f6f315f2c4b03
[09/12] drm/vkms: add support to non-uniform LUT for internal color curves
commit: 978864c62a34b7057912b27221bdf1e2fedf4f56
[10/12] drm/vkms: test sRGB and inverse sRGB LUTs using more samples
commit: 8564a537fc0391825c4827adb5be8618662c0778
[11/12] drm/vkms: add script to create optimized LUTs for color curves
commit: e64f6256cd12388ce0ecc72ce78686fe2cc01191
[12/12] drm/vkms: replace uniform sRGB LUT and its inverse with optimal ones
commit: 3c7c3c12dfc7704ca614abbfa266ca00a2b5a994

Best regards,
--
Louis Chauvet <louis.chauvet@xxxxxxxxxxx>