Philippe CORNU <philippe.cornu@xxxxxx> writes: > Add the bridge support, used by DSI host and HDMI/LVDS bridges. > > Signed-off-by: Philippe CORNU <philippe.cornu@xxxxxx> 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.
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel