Il 28/08/25 10:07, Paul Chen ha scritto:
From: Nancy Lin <[email protected]>
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.
This commit is huge and a bit difficult to read, but also you have split the
changes description in four points.
Please, split this in four commits, for each of the changes that you're actually
describing in the description of this single one: this not only makes reviewing
a
bit easier, but will help understanding what's being done in case any uncaught
regression shows up "after the fact".
Thanks,
Angelo
Signed-off-by: Nancy Lin <[email protected]>
Signed-off-by: Paul-pl Chen <[email protected]>
---
drivers/gpu/drm/mediatek/mtk_crtc.c | 342 +++++++++++++++++++-----
drivers/gpu/drm/mediatek/mtk_crtc.h | 6 +-
drivers/gpu/drm/mediatek/mtk_ddp_comp.c | 105 +++++---
drivers/gpu/drm/mediatek/mtk_ddp_comp.h | 2 +
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 85 +++---
drivers/gpu/drm/mediatek/mtk_drm_drv.h | 13 +
6 files changed, 421 insertions(+), 132 deletions(-)