[PATCH v2 14/15] drm/mediatek: Add support for multiple mmsys in the one mediatek-drm driver
Paul-pl Chen (陳柏霖)
Paul-pl.Chen at mediatek.com
Tue May 13 09:11:38 PDT 2025
On Tue, 2025-03-25 at 03:44 +0000, CK Hu (胡俊光) wrote:
> On Fri, 2025-03-21 at 17:33 +0800, paul-pl.chen wrote:
> > From: Nancy Lin <nancy.lin at mediatek.com>
> >
> > 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 at mediatek.com>
> > Signed-off-by: Paul-pl Chen <paul-pl.chen at mediatek.com>
> > ---
>
> [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
>
>
Hi CK,
The DRM Driver needs the distinguish between ovlsys0,
ovlsys1, dispsys0, dispsys1 to connect the main, ext, third
CRTC Paths.
"ovlsys sub driver control OVLSYS0 and OVLSYS1, so mediatek drm
driver would not see them and this patch"
This is significant change, we will fix this modification at the
next version.
Best, Paul
>
>
>
>
More information about the Linux-mediatek
mailing list