mbox series

[0/2] drm/msm/dsi: switch msm/dsi to DRM_PANEL_BRIDGE

Message ID 20211207222901.988484-1-dmitry.baryshkov@linaro.org
Headers show
Series drm/msm/dsi: switch msm/dsi to DRM_PANEL_BRIDGE | expand

Message

Dmitry Baryshkov Dec. 7, 2021, 10:28 p.m. UTC
Currently the DSI driver has two separate paths: one if the next device
in a chain is a bridge and another one if the panel is connected
directly to the DSI host.

The later functionality is already suppurted by the panel-bridge driver,
which wraps drm panel into the drm bridge instance. Using it will remove
the need for special handling of drm_panel and drm_connector inside the
DSI driver. With these patches in all cases the DSI driver will see the
chain bridges which either support bridge-connector or allocate the
connector on their own.

----------------------------------------------------------------
Dmitry Baryshkov (2):
      drm/msm/dsi: move DSI host powerup to modeset time
      drm/msm/dsi: switch to DRM_PANEL_BRIDGE

 drivers/gpu/drm/msm/dsi/dsi.c         |  32 +---
 drivers/gpu/drm/msm/dsi/dsi.h         |  10 +-
 drivers/gpu/drm/msm/dsi/dsi_host.c    |  20 +--
 drivers/gpu/drm/msm/dsi/dsi_manager.c | 296 ++++++----------------------------
 4 files changed, 61 insertions(+), 297 deletions(-)