]> Git Repo - linux.git/commitdiff
drm/bridge: ti-sn65dsi86: Avoid creating multiple connectors
authorRob Clark <[email protected]>
Wed, 11 Aug 2021 23:52:47 +0000 (16:52 -0700)
committerDouglas Anderson <[email protected]>
Thu, 12 Aug 2021 16:56:09 +0000 (09:56 -0700)
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: 4e5763f03e10 ("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]
drivers/gpu/drm/bridge/ti-sn65dsi86.c

index cd0fccdd8dfd750a269978f3be82b4ac7a49c51a..41d48a393e7f538ed01ac86346d8dc65686da407 100644 (file)
@@ -739,6 +739,9 @@ static int ti_sn_bridge_attach(struct drm_bridge *bridge,
        }
        pdata->dsi = dsi;
 
+       /* We never want the next bridge to *also* create a connector: */
+       flags |= DRM_BRIDGE_ATTACH_NO_CONNECTOR;
+
        /* Attach the next bridge */
        ret = drm_bridge_attach(bridge->encoder, pdata->next_bridge,
                                &pdata->bridge, flags);
This page took 0.052767 seconds and 4 git commands to generate.