drm/drm_plane: track color mgmt changes per plane
authorMelissa Wen <mwen@igalia.com>
Thu, 16 Nov 2023 19:57:43 +0000 (18:57 -0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Dec 2023 20:09:53 +0000 (15:09 -0500)
commit24013b9301349881c9fcd27e7edacc672e0bf6d3
tree47073d95a250c60cb11a028ca34c528e844ed224
parent601603105325ad4ec62db95c9bc428202ece2c8f
drm/drm_plane: track color mgmt changes per plane

We will add color mgmt properties to DRM planes in the next patches and
we want to track when one of this properties change to define atomic
commit behaviors. Using a similar approach from CRTC color props, we set
a color_mgmt_changed boolean whenever a plane color prop changes.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Melissa Wen <mwen@igalia.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/drm_atomic.c
drivers/gpu/drm/drm_atomic_state_helper.c
include/drm/drm_plane.h