mbox series

[v2,0/2] Add dynamic connector selection mechanism

Message ID 20230427084040.3651-1-jason-jh.lin@mediatek.com (mailing list archive)
Headers show
Series Add dynamic connector selection mechanism | expand

Message

Jason-JH.Lin April 27, 2023, 8:40 a.m. UTC
To support DSI and eDP as main display connector without modifying
mtk-drm driver, we add the dynamic connector selection mechanism.

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     | 112 +++++++++++++++++++-
 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, 219 insertions(+), 11 deletions(-)