[PATCH 03/11] drm/mediatek: ovl: Add supports_plane_colorops flag

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Fri Feb 6 02:07:40 PST 2026


Il 23/12/25 20:44, Nícolas F. R. A. Prado ha scritto:
> Add a supports_plane_colorops flag to the driver data to allow SoCs that
> support per-plane color operations to enable support for it in the
> driver.
> 
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado at collabora.com>

You should merge this patch [03/11] with [05/11] - so that you introduce the member
in the same commit where you use it.

This patch is a one-liner and it's not doing anything complicated at all :-)

Cheers,
Angelo

> ---
>   drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/mediatek/mtk_disp_ovl.c b/drivers/gpu/drm/mediatek/mtk_disp_ovl.c
> index 8e20b45411fc..46238c21b0ac 100644
> --- a/drivers/gpu/drm/mediatek/mtk_disp_ovl.c
> +++ b/drivers/gpu/drm/mediatek/mtk_disp_ovl.c
> @@ -150,6 +150,7 @@ struct mtk_disp_ovl_data {
>   	const u32 *formats;
>   	size_t num_formats;
>   	bool supports_clrfmt_ext;
> +	bool supports_plane_colorops;
>   };
>   
>   /*
> 






More information about the linux-arm-kernel mailing list