Searched hist:"144 d9b2e7abffe6dff3a0ed693d6be337969b947" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_drm_drv.c | diff 144d9b2e7abffe6dff3a0ed693d6be337969b947 Thu Nov 10 12:48:52 CST 2022 Gil Dekel <gildekel@chromium.org> drm/mediatek: Make eDP panel as the first connected connector
[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@chromium.org> Tested-by: Gil Dekel <gildekel@chromium.org> Reviewed-by: Sean Paul <seanpaul@chromium.org> Reviewed-by: Chen-Yu Tsai <wenst@chromium.org> Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
|