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

2025-03-28 Thread Luca Ceresoli
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. >

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

2025-03-27 Thread Maxime Ripard
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. > >

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

2025-03-27 Thread Anusha Srivatsa
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. v2: Export drm_panel_put/get() (Maxime) - Change commit log with bette