Re: [PATCH 0/7] drm/vkms: complete the plane color pipeline

From: Louis Chauvet

Date: Sun Nov 29 2026 - 07:38:13 EST


Thanks for the patches!

Le 28 novembre 2026 18:15:18 GMT+01:00, Oarora Etimis <oaroraetimis@xxxxxxxxx> a écrit :
>The vkms plane pipeline has a fixed matrix, two 1D curves and two 3x4
>matrices. Userspace cannot supply its own LUT, do a 3D lookup, or apply
>a gain to the channels.
>
>Patches 1 to 3 fix three bugs in the pipeline plumbing. Patches 4 to 6
>add a 1D LUT, a 3D LUT and a multiplier. Patch 7 adds KUnit coverage for
>the 3D LUT and the multiplier; the 1D LUT gets its coverage in patch 4.
>
>The color math has KUnit coverage; there is no IGT test for the color
>pipeline yet, so the uAPI paths are not exercised end-to-end.

I am a bit suprised, Harry worked on some tests: https://lists.freedesktop.org/archives/igt-dev/2024-August/077102.html

I don't have a computer on hand to check if it is merged or not, but you can dig on lore to find relevant tests.

>The three new colorops are appended after the existing ones; their order
>is unchanged.
>
>---
>Oarora Etimis (7):
> drm/vkms: add the colorops of a plane that is being enabled
> drm/vkms: free the colorop whose initialization failed
> drm/vkms: use the colorop states of the state being composed
> drm/vkms: add a programmable 1D LUT colorop
> drm/vkms: add a 3D LUT colorop
> drm/vkms: add a multiplier colorop
> drm/vkms: add KUnit coverage for the 3D LUT and multiplier colorops
>
> drivers/gpu/drm/vkms/tests/vkms_color_test.c | 194 +++++++++++++++++
> drivers/gpu/drm/vkms/vkms_colorop.c | 61 +++++-
> drivers/gpu/drm/vkms/vkms_composer.c | 314 +++++++++++++++++++++++----
> drivers/gpu/drm/vkms/vkms_composer.h | 5 +
> drivers/gpu/drm/vkms/vkms_crtc.c | 59 ++++-
> drivers/gpu/drm/vkms/vkms_drv.h | 61 ++++++
> drivers/gpu/drm/vkms/vkms_plane.c | 2 +
> 7 files changed, 646 insertions(+), 50 deletions(-)
>---
>base-commit: 5ce32a0c94a827ff44ee60898c28060714dcff75
>change-id: 20261113-colorop-693f016a156d
>
>Best regards,
>--
>Oarora Etimis <oaroraetimis@xxxxxxxxx>
>