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

Nícolas F. R. A. Prado nfraprado at collabora.com
Tue Dec 23 11:44:47 PST 2025


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




More information about the Linux-mediatek mailing list