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

CK Hu (胡俊光) ck.hu at mediatek.com
Tue Nov 3 00:04:45 PST 2026


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 at mediatek.com>

> 
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
> ---



More information about the linux-arm-kernel mailing list