Re: [PATCH v2 1/4] drm/panel: Add new helpers for refcounted panel allocatons

From: Maxime Ripard
Date: Thu Mar 27 2025 - 11:57:31 EST


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@xxxxxxxxxx>

Thanks!
Maxime