Re: [PATCH RESEND v5] drm/mediatek: dpi/dsi: fix possible_crtcs calculation

2024-06-28 Thread Chun-Kuang Hu
Hi, Michael: Michael Walle 於 2024年6月6日 週四 下午5:22寫道: > > mtk_find_possible_crtcs() assumes that the main path will always have > the CRTC with id 0, the ext id 1 and the third id 2. This is only true > if the paths are all available. But paths are optional (see also > comment in mtk_drm_kms_init()

[PATCH RESEND v5] drm/mediatek: dpi/dsi: fix possible_crtcs calculation

2024-06-06 Thread Michael Walle
mtk_find_possible_crtcs() assumes that the main path will always have the CRTC with id 0, the ext id 1 and the third id 2. This is only true if the paths are all available. But paths are optional (see also comment in mtk_drm_kms_init()), e.g. the main path might not be enabled or available at all.