Skip to content

Commit c778244

Browse files
robclarkdianders
authored andcommitted
drm/bridge: ti-sn65dsi86: Avoid creating multiple connectors
If we created our own connector because the driver does not support the NO_CONNECTOR flag, we don't want the downstream bridge to *also* create a connector. And if this driver did pass the NO_CONNECTOR flag (and we supported that mode) this would change nothing. Fixes: 4e5763f ("drm/bridge: ti-sn65dsi86: Wrap panel with panel-bridge") Reported-by: Stephen Boyd <[email protected]> Signed-off-by: Rob Clark <[email protected]> Tested-by: Stephen Boyd <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Reviewed-by: Douglas Anderson <[email protected]> Tested-by: Douglas Anderson <[email protected]> Signed-off-by: Douglas Anderson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 96275df commit c778244

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/gpu/drm/bridge/ti-sn65dsi86.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -739,6 +739,9 @@ static int ti_sn_bridge_attach(struct drm_bridge *bridge,
739739
}
740740
pdata->dsi = dsi;
741741

742+
/* We never want the next bridge to *also* create a connector: */
743+
flags |= DRM_BRIDGE_ATTACH_NO_CONNECTOR;
744+
742745
/* Attach the next bridge */
743746
ret = drm_bridge_attach(bridge->encoder, pdata->next_bridge,
744747
&pdata->bridge, flags);

0 commit comments

Comments
 (0)