[PATCH v2 1/5] drm/stm: ltdc: Add bridge support
Eric Anholt
eric at anholt.net
Fri May 19 19:33:13 UTC 2017
Philippe CORNU <philippe.cornu at st.com> writes:
> Add the bridge support, used by DSI host and HDMI/LVDS bridges.
>
> Signed-off-by: Philippe CORNU <philippe.cornu at st.com>
The DW DSI host is bridging from MIPI DPI to MIPI DSI, right? I think
you could just have ltdc always set up a DPI encoder (the
ltdc_rgb_encoder_create() function), and then depending on whether
drm_of_find_panel_or_bridge() finds you a panel or a bridge, you
drm_panel_attach() or drm_bridge_attach().
You wouldn't even need to wrap the drm_panel_prepare() and related calls
with a check for the panel, because the inlines already do that.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170519/5b2ecd02/attachment.sig>
More information about the dri-devel
mailing list