Re: [PATCH RFC v2 10/19] drm/mcde: dsi: don't create a panel_bridge

From: Linus Walleij

Date: Mon Sep 14 2026 - 08:37:22 EST


On Thu, Sep 3, 2026 at 10:12 AM Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx> wrote:

> Now a panel_bridge is automatically created for every drm_panel, so this
> code (similar to an open-coded variant of drm_of_find_panel_or_bridge())
> would lead to creating a second bridge for the same panel.
>
> Update and simplify the code by just getting a reference to the
> already-existing bridge.
>
> Also keep the "connected to non-panel bridge (unsupported)\n" error logic
> by using the drm_bridge_is_panel() function.
>
> Signed-off-by: Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx>

Okay then!
Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>

Yours,
Linus Walleij