[PATCH v3 01/21] drm/crtc: Add color pipeline to CRTC state
From: Ariel D'Alessandro
Date: Tue Dec 23 2025 - 13:02:24 EST
From: "Nícolas F. R. A. Prado" <nfraprado@xxxxxxxxxxxxx>
Add a color pipeline to the CRTC state to allow post-blend color
pipelines.
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@xxxxxxxxxxxxx>
Reviewed-by: Louis Chauvet <louis.chauvet@xxxxxxxxxxx>
Reviewed-by: Harry Wentland <harry.wentland@xxxxxxx>
Reviewed-by: Ariel D'Alessandro <ariel.dalessandro@xxxxxxxxxxxxx>
---
include/drm/drm_crtc.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index 66278ffeebd68..8490f4bc31260 100644
--- a/include/drm/drm_crtc.h
+++ b/include/drm/drm_crtc.h
@@ -274,6 +274,14 @@ struct drm_crtc_state {
*/
struct drm_property_blob *gamma_lut;
+ /**
+ * @color_pipeline:
+ *
+ * The first colorop of the active color pipeline, or NULL, if no
+ * color pipeline is active.
+ */
+ struct drm_colorop *color_pipeline;
+
/**
* @target_vblank:
*
--
2.51.0