[PATCH 06/11] drm/mediatek: Add plane_colorops_init() DDP hook for OVL
CK Hu (胡俊光)
ck.hu at mediatek.com
Wed Feb 25 00:58:46 PST 2026
On Tue, 2025-12-23 at 16:44 -0300, Nícolas F. R. A. Prado wrote:
> External email : Please do not click links or open attachments until you have verified the sender or the content.
>
>
> Hook OVL's plane colorops initialization function in DDP to allow its
> usage by the MediaTek KMS driver.
Squash this patch into patch [5/11].
Regards,
CK
>
> 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
>
More information about the linux-arm-kernel
mailing list