[PATCH v2 1/4] drm/panel: Add new helpers for refcounted panel allocatons
Maxime Ripard
mripard at kernel.org
Thu Mar 27 15:57:23 UTC 2025
On Thu, 27 Mar 2025 10:55:39 -0400, Anusha Srivatsa wrote:
> Introduce reference counted allocations for panels to avoid
> use-after-free. The patch adds the macro devm_drm_bridge_alloc()
> to allocate a new refcounted panel. Followed the documentation for
> drmm_encoder_alloc() and devm_drm_dev_alloc and other similar
> implementations for this purpose.
>
> [ ... ]
Reviewed-by: Maxime Ripard <mripard at kernel.org>
Thanks!
Maxime
More information about the dri-devel
mailing list