[PATCH v3 0/7] drm: sun4i: dsi: Convert drm bridge

Jagan Teki jagan at amarulasolutions.com
Sun Feb 14 14:40:55 EST 2021

This series convert Allwinner DSI controller to full functional 
drm bridge driver for supporting slave panel, bridges.

Here, are the previous version changes[1].

The key concern about these changes is about kms hotplug which 
indeed not compatible with bridge conversion.  However, I did 
try several ways to support hotplug with the bridge but it's 
resulting in a deadlock where bind never attach bridge until 
bridge pointer found and bridge pointer cannot found until bind 
finishes. Any inputs on this would be appreciated.

[1] https://lwn.net/Articles/783127/

Any inputs?

Jagan Teki (7):
  drm: sun4i: dsi: Use drm_of_find_panel_or_bridge
  drm: sun4i: dsi: Add bridge support
  drm: sun4i: dsi: Convert to bridge driver
  drm: sun4i: dsi: Separate code for bridge pre_enable
  drm: bridge: Queue the bridge chain instead of stacking
  drm: sun4i: dsi: Use drm_panel_bridge, connector API
  [DO NOT MERGE] ARM: dts: sun8i: bananapi-m2m: Enable S070WV20-CT16 panel

 arch/arm/boot/dts/sun8i-r16-bananapi-m2m.dts |  85 ++++++++++++
 drivers/gpu/drm/drm_bridge.c                 |   4 +-
 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c       | 128 +++++++++----------
 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.h       |  11 +-
 4 files changed, 150 insertions(+), 78 deletions(-)


More information about the linux-arm-kernel mailing list