mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Oarora Etimis <oaroraetimis@gmail.com>
To: Louis Chauvet <louis.chauvet@bootlin.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>, Alex Hung <alex.hung@amd.com>,
	 Robert Mader <robert.mader@collabora.com>,
	 Harry Wentland <harry.wentland@amd.com>,
	Simon Ser <contact@emersion.fr>,
	 Daniel Stone <daniels@collabora.com>
Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/7] drm/vkms: complete the plane color pipeline
Date: Sat, 28 Nov 2026 18:15:18 +0100	[thread overview]
Message-ID: <20261128-colorop-v1-0-dd79919f822b@gmail.com> (raw)

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.

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@gmail.com>


             reply	other threads:[~2026-11-28 17:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-28 17:15 Oarora Etimis [this message]
2026-11-28 17:15 ` [PATCH 1/7] drm/vkms: add the colorops of a plane that is being enabled Oarora Etimis
2026-11-28 17:15 ` [PATCH 2/7] drm/vkms: free the colorop whose initialization failed Oarora Etimis
2026-11-28 17:15 ` [PATCH 3/7] drm/vkms: use the colorop states of the state being composed Oarora Etimis
2026-11-28 17:15 ` [PATCH 4/7] drm/vkms: add a programmable 1D LUT colorop Oarora Etimis
2026-11-28 17:15 ` [PATCH 5/7] drm/vkms: add a 3D " Oarora Etimis
2026-11-28 17:15 ` [PATCH 6/7] drm/vkms: add a multiplier colorop Oarora Etimis
2026-11-28 17:15 ` [PATCH 7/7] drm/vkms: add KUnit coverage for the 3D LUT and multiplier colorops Oarora Etimis

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=20261128-colorop-v1-0-dd79919f822b@gmail.com \
    --to=oaroraetimis@gmail.com \
    --cc=airlied@gmail.com \
    --cc=alex.hung@amd.com \
    --cc=contact@emersion.fr \
    --cc=daniels@collabora.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=hamohammed.sa@gmail.com \
    --cc=harry.wentland@amd.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=robert.mader@collabora.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®