Re: [PATCH v2 15/46] drm/mediatek: ovl_adaptor: Add special MERGE component check

From: CK Hu (胡俊光)

Date: Tue Nov 03 2026 - 03:06:46 EST


On Tue, 2026-07-14 at 13:43 +0200, AngeloGioacchino Del Regno wrote:
> On the legacy ovl_adaptor for MT8195 and MT8188, four MERGE IPs
> from VPPSYS are used, and those shall be exclusive to the OVL
> Adaptor driver.
>
> For this reason, add a branch in mtk_ovl_adaptor_is_comp_present()
> to check if the component that is being checked is MERGE and, if
> so, iterate through the list of component matches to understand if
> it is one of those that must be exclusive to OVL Adaptor.
>
> This resolves a corner case happening when mediatek-drm retries to
> probe after a probe deferral, where all MERGE components would get
> added to both "normal" and OVL Adaptor pipelines.

Reviewed-by: CK Hu <ck.hu@xxxxxxxxxxxx>

>
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>
> ---