[PATCH 06/11] drm/mediatek: Add plane_colorops_init() DDP hook for OVL

Macpaul Lin (林智斌) Macpaul.Lin at mediatek.com
Tue Dec 23 18:20:19 PST 2025


On Tue, 2025-12-23 at 16:44 -0300, Nícolas F. R. A. Prado wrote:
> Hook OVL's plane colorops initialization function in DDP to allow its
> usage by the MediaTek KMS driver.
> 
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado at collabora.com>
> ---
>  drivers/gpu/drm/mediatek/mtk_ddp_comp.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/mediatek/mtk_ddp_comp.c
> b/drivers/gpu/drm/mediatek/mtk_ddp_comp.c
> index 94b356da6de7..ef906b2aff74 100644
> --- a/drivers/gpu/drm/mediatek/mtk_ddp_comp.c
> +++ b/drivers/gpu/drm/mediatek/mtk_ddp_comp.c
> @@ -331,6 +331,7 @@ static const struct mtk_ddp_comp_funcs ddp_ovl =
> {
>         .get_formats = mtk_ovl_get_formats,
>         .get_num_formats = mtk_ovl_get_num_formats,
>         .is_afbc_supported = mtk_ovl_is_afbc_supported,
> +       .plane_colorops_init = mtk_ovl_plane_colorops_init,
>  };
> 
>  static const struct mtk_ddp_comp_funcs ddp_postmask = {
> 
> --
> 2.51.0
> 
> 

Reviewed-by: Macpaul Lin <macpaul.lin at mediatek.com>

Best regards,
Macpaul Lin


More information about the Linux-mediatek mailing list