[PATCH v5 0/2] Add dynamic connector selection mechanism
Jason-JH.Lin
jason-jh.lin at mediatek.com
Sun Jul 9 08:17:36 PDT 2023
To support DSI and eDP as main display connector without modifying
mtk-drm driver, we add the dynamic connector selection mechanism.
Change in v5:
1. Change conn_routes array to single component enum id.
Change in v4:
1. Change variable naming from conn_route_num to num_conn_routes.
2. Change he encoder_index function return valuew from int to unsigned int.
Change in v3:
1. Change max_num comparison statement to max().
Change in v2:
1. rebase on linux-next: next-20230426
2. Fix alphabetical order and max_num condition check problem.
Change in v1:
1. based on mediatek-drm maintainer's tree / mediatek-drm-next branch:
https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?h=mediatek-drm-next
Jason-JH.Lin (2):
drm/mediatek: Add ability to support dynamic connector selection
drm/mediatek: Add DSI support for mt8188 vdosys0
drivers/gpu/drm/mediatek/mtk_disp_drv.h | 2 +
drivers/gpu/drm/mediatek/mtk_dpi.c | 9 +++
drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 87 ++++++++++++++++++++-
drivers/gpu/drm/mediatek/mtk_drm_crtc.h | 5 +-
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 27 +++++++
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 8 ++
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 38 +++++++--
drivers/gpu/drm/mediatek/mtk_drm_drv.h | 7 ++
drivers/gpu/drm/mediatek/mtk_dsi.c | 9 +++
9 files changed, 182 insertions(+), 10 deletions(-)
--
2.18.0
More information about the Linux-mediatek
mailing list