[PATCH v2 2/4] drm/panel: Add refcount support

Maxime Ripard mripard at kernel.org
Thu Mar 27 15:58:39 UTC 2025


On Thu, 27 Mar 2025 10:55:40 -0400, Anusha Srivatsa wrote:
> Allocate panel via reference counting. Add _get() and _put() helper
> functions to ensure panel allocations are refcounted. Avoid use after
> free by ensuring panel pointer is valid and can be usable till the last
> reference is put.
> 
> 
> [ ... ]

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

Thanks!
Maxime


More information about the dri-devel mailing list