[PATCH v4 0/2] Add dynamic connector selection mechanism
Jason-JH.Lin
jason-jh.lin at mediatek.com
Thu Jun 1 10:15:11 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 v4:
1. Change variable naming of connector routes number from conn_route_num to num_conn_routes.
2. Chnage 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 | 111 +++++++++++++++++++-
drivers/gpu/drm/mediatek/mtk_drm_crtc.h | 5 +-
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 28 +++++
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 8 ++
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 49 +++++++--
drivers/gpu/drm/mediatek/mtk_drm_drv.h | 8 ++
drivers/gpu/drm/mediatek/mtk_dsi.c | 9 ++
9 files changed, 218 insertions(+), 11 deletions(-)
--
2.18.0
More information about the linux-arm-kernel
mailing list