[PATCH v3 0/21] drm/bridge: support chained bridges + panel updates
Sam Ravnborg
sam at ravnborg.org
Fri Jul 3 19:23:56 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.
Third iteration of this patchset covers several drivers,
and a few panel adjustments.
The general approach for the bridge drivers:
- Introduce drm_panel_brigde
- Introduce bridge operations
- Make connector creation optional
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 (21):
drm/panel: add connector type to boe,hv070wsa-100 panel
drm/panel: panel-simple: add default connector_type
drm/bridge: tc358764: drop drm_connector_(un)register
drm/bridge: tc358764: add drm_panel_bridge support
drm/bridge: tc358764: make connector creation optional
drm/bridge: tc358767: add drm_panel_bridge support
drm/bridge: tc358767: add detect bridge operation
drm/bridge: tc358767: add get_edid bride operation
drm/bridge: tc358767: make connector creation optional
drm/bridge: ti-tpd12s015: make connector creation optional
drm/bridge: parade-ps8622: add drm_panel_bridge support
drm/bridge: parade-ps8622: make connector creation optional
drm/bridge: megachips: add helper to create connector
drm/bridge: megachips: get drm_device from bridge
drm/bridge: megachips: enable detect bridge operation
drm/bridge: megachips: add get_edid bridge operation
drm/bridge: megachips: make connector creation optional
drm/bridge: nxp-ptn3460: add drm_panel_bridge support
drm/bridge: nxp-ptn3460: add get_modes bridge operation
drm/bridge: nxp-ptn3460: make connector creation optional
drm/bridge: ti-sn65dsi86: add drm_panel_bridge support
.../drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c | 92 +++++++++++-------
drivers/gpu/drm/bridge/nxp-ptn3460.c | 107 +++++++++------------
drivers/gpu/drm/bridge/parade-ps8622.c | 54 +++--------
drivers/gpu/drm/bridge/tc358764.c | 66 +++----------
drivers/gpu/drm/bridge/tc358767.c | 98 +++++++++++--------
drivers/gpu/drm/bridge/ti-sn65dsi86.c | 27 +++---
drivers/gpu/drm/bridge/ti-tpd12s015.c | 3 -
drivers/gpu/drm/panel/panel-simple.c | 13 ++-
8 files changed, 216 insertions(+), 244 deletions(-)
More information about the dri-devel
mailing list