[PATCH v2] drm/mediatek: make eDP panel as the first connected connector
Chen-Yu Tsai
wenst at chromium.org
Fri Nov 11 07:40:37 UTC 2022
On Fri, Nov 11, 2022 at 2:49 AM Gil Dekel <gildekel at chromium.org> wrote:
>
> [Why]
> Some userspaces assume that the first connected connector is the "main"
> display, which supposed to display, for example, the login screen.
> For laptops, this should be the internal connector.
>
> [How]
> This patch calls drm_helper_move_panel_connectors_to_head() right before
> crtc creation to ensure internal connectors are at the top of the
> connector list.
>
> Tested by ensuring the internal panels are at the top of the connector
> list via modetest -c.
>
> This patch does to mediatek what the following patch
> https://www.spinics.net/lists/stable/msg590605.html
> did for qualcomm.
>
> Signed-off-by: Gil Dekel <gildekel at chromium.org>
> Tested-by: Gil Dekel <gildekel at chromium.org>
Reviewed-by: Chen-Yu Tsai <wenst at chromium.org>
More information about the dri-devel
mailing list