Il 04/10/23 04:40, Jason-JH.Lin ha scritto:
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.

Signed-off-by: Jason-JH.Lin <jason-jh....@mediatek.com>
Signed-off-by: Nancy Lin <nancy....@mediatek.com>
Signed-off-by: Nathan Lu <nathan...@mediatek.com>
Tested-by: Fei Shao <fs...@chromium.org>

Reviewed-by: AngeloGioacchino Del Regno 
<angelogioacchino.delre...@collabora.com>


Reply via email to