Re: [PATCH 04/26] drm/bridge: make of_drm_find_bridge() a wrapper of drm_of_find_bridge()

Luca Ceresoli
2025-12-11T17:48:35Z

Hi Maxime,

On Mon Dec 1, 2025 at 5:34 PM CET, Maxime Ripard wrote:
...
>> The main user to be converted is drm_of_find_panel_or_bridge(), which is
>> very tricky, and in turn it is used by devm_drm_of_get_bridge(). We
>> discussed this in the past and the conclusion was a rework of the drm_panel
>> lifetime was needed to be able to properly replace
>> drm_of_find_panel_or_bridge().
>
> Yeah. I wonder, now that we have a proper allocation scheme for panels
> too, if we shouldn't just create a panel_bridge for every panel we
> allocate.

I would definitely second this idea.

>> Maxime, Anusha, are you aware of any steps forward about dynamic panel
>> lifetime, after devm_drm_panel_alloc()?
>
> AFAIK, Anusha stopped working on it. I'm fairly busy at the moment, but
> early next year I'll try to revive that effort.

That would be great! Please Cc me so I can review and test your work.

Luca

--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering