[PATCH 2/5] drm/bridge/panel: hold a reference to the wrapped panel
Maxime Ripard
mripard at kernel.org
Fri Jun 26 05:48:10 PDT 2026
On Fri, 26 Jun 2026 14:03:24 +0200, Albert Esteve wrote:
> drm_panel_bridge_add_typed() stores a pointer to the drm_panel it
> wraps, but never acquires a reference to it. If the panel device
> goes away while a panel_bridge still exists, the dangling pointer can
> be dereferenced through panel_bridge->panel.
>
>
> [ ... ]
Reviewed-by: Maxime Ripard <mripard at kernel.org>
Thanks!
Maxime
More information about the Linux-rockchip
mailing list