[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4367758f-77d8-460c-887a-946b1c7cdd68@collabora.com>
Date: Wed, 10 Sep 2025 14:24:53 +0200
From: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
To: Paul Chen <paul-pl.chen@...iatek.com>, robh@...nel.org,
krzk+dt@...nel.org, conor+dt@...nel.org, chunkuang.hu@...nel.org
Cc: matthias.bgg@...il.com, p.zabel@...gutronix.de,
jason-jh.lin@...iatek.com, nancy.lin@...iatek.com, singo.chang@...iatek.com,
xiandong.wang@...iatek.com, sirius.wang@...iatek.com,
sunny.shen@...iatek.com, fshao@...omium.org, treapking@...omium.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org, linux-mediatek@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org,
Project_Global_Chrome_Upstream_Group@...iatek.com
Subject: Re: [PATCH v4 18/19] drm/mediatek: Add support for multiple mmsys in
the one mediatek-drm driver
Il 28/08/25 10:07, Paul Chen ha scritto:
> From: Nancy Lin <nancy.lin@...iatek.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.
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 <nancy.lin@...iatek.com>
> Signed-off-by: Paul-pl Chen <paul-pl.chen@...iatek.com>
> ---
> 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(-)
>
Powered by blists - more mailing lists