[PATCH v2 4/5] drm/panel: find_panel_by_fwnode() return a counted reference

Maxime Ripard mripard at kernel.org
Fri Jul 17 01:54:29 PDT 2026


On Mon, 13 Jul 2026 13:53:07 +0200, Albert Esteve wrote:
> find_panel_by_fwnode() is the fwnode-based counterpart to
> of_drm_find_panel(), used internally by drm_panel_add_follower().
> Like of_drm_find_panel(), it returned an unrefcounted pointer,
> leaving a window where the panel could be freed between the lookup
> and first use.
> 
> [ ... ]

Acked-by: Maxime Ripard <mripard at kernel.org>

Thanks!
Maxime



More information about the Linux-rockchip mailing list