[PATCH v5 0/5] drm/bridge: Update tc358767 and nxp-ptn3460 to support chained bridges

Sam Ravnborg sam at ravnborg.org
Mon Jul 27 17:03:15 UTC 2020


This patch-set aims to make connector creation optional
and prepare the bridge drivers for use in a chained setup.

The objective is that all bridge drivers shall support a chained setup
connector creation is moved to the display drivers.
This is just one step on this path.

The general approach for the bridge drivers:
- Introduce bridge operations
- Introduce use of panel bridge and make connector creation optional

v5:
  - Applied reviewed patches, so we went from 15 to 5
  - Fixed bug in connector creation in both drivers

v4:
  - Dropped patch for ti-sn65dsi86. Await full conversion
  - Dropped patch for ti-tpd12s015. It was wrong (Laurent)
  - Drop boe,hv070wsa-100 patch, it was applied
  - Combined a few patches to fix connector created twice (Laurent)
  - Fix memory leak in get_edid (Laurent)
  - Added patch to validate panel descriptions in panel-simple
  - Set bridge.type in relevant drivers
 
v3:
  - Rebase on top of drm-misc-next
  - Address kbuild test robot feedback
 
v2:
  - Updated bus_flags for boe,hv070wsa-100
  - Collected r-b, but did not apply patches yet
  - On the panel side the panel-simple driver gained a default
    connector type for all the dumb panels that do not
    include so in their description.
    With this change panels always provide a connector type,
    and we have the potential to drop most uses of
    devm_drm_panel_bridge_add_typed().
  - Added conversion of a few more bridge drivers

Patches can build but no run-time testing.
So both test and review feedback appreciated!

	Sam


Sam Ravnborg (5):
      drm/bridge: tc358767: add detect bridge operation
      drm/bridge: tc358767: add get_edid bridge operation
      drm/bridge: tc358767: add drm_panel_bridge support
      drm/bridge: nxp-ptn3460: add get_edid bridge operation
      drm/bridge: nxp-ptn3460: add drm_panel_bridge support

 drivers/gpu/drm/bridge/nxp-ptn3460.c | 103 +++++++++++++---------------
 drivers/gpu/drm/bridge/tc358767.c    | 126 +++++++++++++++++++----------------
 2 files changed, 114 insertions(+), 115 deletions(-)




More information about the dri-devel mailing list