[PATCH 04/11] drm/mediatek: ovl: Enable per-plane color operations on MT8195

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


On Tue, 2025-12-23 at 16:44 -0300, Nícolas F. R. A. Prado wrote:
> MT8195's OVL hardware supports per-plane color operations. Enable
> support for it in the driver.
> 
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado at collabora.com>
> ---
>  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 46238c21b0ac..cfc6a3154f73 100644
> --- a/drivers/gpu/drm/mediatek/mtk_disp_ovl.c
> +++ b/drivers/gpu/drm/mediatek/mtk_disp_ovl.c
> @@ -738,6 +738,7 @@ static const struct mtk_disp_ovl_data
> mt8195_ovl_driver_data = {
>         .fmt_rgb565_is_0 = true,
>         .smi_id_en = true,
>         .supports_afbc = true,
> +       .supports_plane_colorops = true,
>         .blend_modes = BIT(DRM_MODE_BLEND_PREMULTI) |
>                        BIT(DRM_MODE_BLEND_COVERAGE) |
>                        BIT(DRM_MODE_BLEND_PIXEL_NONE),
> 
> --
> 2.51.0
> 
> 

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

Best regards,
Macpaul Lin


More information about the Linux-mediatek mailing list