[PATCH v7 0/4] Add dynamic connector selection mechanism
Jason-JH.Lin
jason-jh.lin at mediatek.com
Thu Jul 27 16:41:10 UTC 2023
To support DSI and eDP as main display connector without modifying
mtk-drm driver, we add the dynamic connector selection mechanism.
Change in v7:
1. separate 2 fixes patch from v6.
2. remove unnecessary null checking and variable.
3. move ddp_comp checking to crtc create.
Change in v6:
1. remove max_ddp_comp_nr.
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 (4):
drm/mediatek: Add mmsys_dev_num to mt8188 vdosys0 driver data
drm/mediatek: Fix using wrong drm private data to bind mediatek-drm
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 | 75 ++++++++++++++++++++-
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, 171 insertions(+), 9 deletions(-)
--
2.18.0
More information about the dri-devel
mailing list