[PATCH RFC v2 01/20] drm/crtc: Add color pipeline to CRTC state

Louis Chauvet louis.chauvet at bootlin.com
Fri Sep 19 05:45:00 PDT 2025



Le 18/09/2025 à 02:43, Nícolas F. R. A. Prado a écrit :
> Add a color pipeline to the CRTC state to allow post-blend color
> pipelines.
> 
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado at collabora.com>

Reviewed-by: Louis Chauvet <louis.chauvet at bootlin.com>

> ---
>   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 caa56e039da2a748cf40ebf45b37158acda439d9..77c0c04a5910a2263923e06cf37535697e20e1c9 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:
>   	 *
> 

-- 
--
Louis Chauvet, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com





More information about the Linux-mediatek mailing list