Re: [PATCH v2 14/15] drm/mediatek: Add support for multiple mmsys in the one mediatek-drm driver

From: CK Hu (胡俊光)
Date: Mon Mar 24 2025 - 23:45:17 EST


On Fri, 2025-03-21 at 17:33 +0800, paul-pl.chen wrote:
> From: Nancy Lin <nancy.lin@xxxxxxxxxxxx>
>
> To support multiple mmsys instances in the one mediatek-drm instance,
> providing improved flexibility and scalability by the following changes:
>
> 1. Add DDP_COMPONENT_DRM_OVLSYS_ADAPTOR* to probe the
> ovlsys_adaptor drivers and support different mmsys composition.
> 2. Added new component types MTK_DISP_VIRTUAL to support the
> routing to virtual display components.
> 3. Added and adjusted the existed structure or interface to extend
> the support of multiple mmsys instances.
> 4. Modified the component matching and binding logic to support
> multiple mmsys instances.
>
> Signed-off-by: Nancy Lin <nancy.lin@xxxxxxxxxxxx>
> Signed-off-by: Paul-pl Chen <paul-pl.chen@xxxxxxxxxxxx>
> ---

[snip]

>
> +enum mtk_drm_mmsys {
> + DISPSYS0,
> + DISPSYS1,
> + OVLSYS0,
> + OVLSYS1,
> + MAX_MMSYS,
> +};

Let ovlsys sub driver control OVLSYS0 and OVLSYS1, so mediatek drm driver would not see them and this patch is not necessary.

Regards,
CK