]> Gentwo Git Trees - linux/.git/commit
drm/colorop: Introduce new drm_colorop mode object
authorHarry Wentland <harry.wentland@amd.com>
Sat, 15 Nov 2025 00:01:29 +0000 (17:01 -0700)
committerSimon Ser <contact@emersion.fr>
Wed, 26 Nov 2025 22:03:30 +0000 (23:03 +0100)
commitcfc27680ee208cdf7a61cda817b4158c4142595f
tree6147141758089d7f0b33a6e1e8c642212e3c716b
parentbcaefdaaeb397e4f17b6f500f1c09e5e965420b7
drm/colorop: Introduce new drm_colorop mode object

This patches introduces a new drm_colorop mode object. This
object represents color transformations and can be used to
define color pipelines.

We also introduce the drm_colorop_state here, as well as
various helpers and state tracking bits.

Reviewed-by: Simon Ser <contact@emersion.fr>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Melissa Wen <mwen@igalia.com>
Reviewed-by: Sebastian Wick <sebastian.wick@redhat.com>
Signed-off-by: Simon Ser <contact@emersion.fr>
Link: https://patch.msgid.link/20251115000237.3561250-5-alex.hung@amd.com
12 files changed:
drivers/gpu/drm/Makefile
drivers/gpu/drm/drm_atomic.c
drivers/gpu/drm/drm_atomic_helper.c
drivers/gpu/drm/drm_atomic_uapi.c
drivers/gpu/drm/drm_colorop.c [new file with mode: 0644]
drivers/gpu/drm/drm_mode_config.c
include/drm/drm_atomic.h
include/drm/drm_atomic_uapi.h
include/drm/drm_colorop.h [new file with mode: 0644]
include/drm/drm_mode_config.h
include/drm/drm_plane.h
include/uapi/drm/drm_mode.h