[PATCH v9 5/7] drm/mediatek: Add connector dynamic selection capability for mt8188

Fei Shao fshao at chromium.org
Thu Aug 10 05:44:12 UTC 2023


On Thu, Aug 10, 2023 at 2:16 AM Jason-JH.Lin <jason-jh.lin at mediatek.com> wrote:
>
> Add dynamic select available connector flow in mtk_drm_crtc_create()
> and mtk_drm_crtc_atomic_enable().
>
> In mtk_drm_crtc_create(), if there is a connector routes array in drm
> driver data, all components definded in the connector routes array will
> be checked and their encoder_index will be set.
>
> In mtk_drm_crtc_atomic_enable(), crtc will check its encoder_index to
> identify which componet in the connector routes array should append.
>
> Move DDP_COMPONENT_DP_INTF0 from mt8188_mtk_ddp_main array to a
> connector routes array called mt8188_mtk_ddp_main_routes to support
> dynamic selection capability for mt8188.
>
> Signed-off-by: Nancy Lin <nancy.lin at mediatek.com>
> Signed-off-by: Nathan Lu <nathan.lu at mediatek.com>
> Signed-off-by: Jason-JH.Lin <jason-jh.lin at mediatek.com>

Tested-by: Fei Shao <fshao at chromium.org>


More information about the dri-devel mailing list