Re: [PATCH v7 00/11] drm/bridge: add devm_drm_bridge_alloc() with bridge refcount

2025-03-20 Thread Luca Ceresoli
Hello Mazime, On Wed, 19 Mar 2025 17:16:53 +0100 Maxime Ripard wrote: > On Mon, Mar 17, 2025 at 03:56:07PM +0100, Luca Ceresoli wrote: > > Hello Maxime, > > > > On Fri, 14 Mar 2025 19:21:01 +0100 > > Maxime Ripard wrote: > > > > > Hi, > > > > > > On Fri, Mar 14, 2025 at 11:31:13AM +0100, L

Re: [PATCH v7 00/11] drm/bridge: add devm_drm_bridge_alloc() with bridge refcount

2025-03-19 Thread Maxime Ripard
On Mon, Mar 17, 2025 at 03:56:07PM +0100, Luca Ceresoli wrote: > Hello Maxime, > > On Fri, 14 Mar 2025 19:21:01 +0100 > Maxime Ripard wrote: > > > Hi, > > > > On Fri, Mar 14, 2025 at 11:31:13AM +0100, Luca Ceresoli wrote: > > > This series improves the way DRM bridges are allocated and > > > in

Re: [PATCH v7 00/11] drm/bridge: add devm_drm_bridge_alloc() with bridge refcount

2025-03-17 Thread Luca Ceresoli
Hello Maxime, On Fri, 14 Mar 2025 19:21:01 +0100 Maxime Ripard wrote: > Hi, > > On Fri, Mar 14, 2025 at 11:31:13AM +0100, Luca Ceresoli wrote: > > This series improves the way DRM bridges are allocated and > > initialized and makes them reference-counted. The goal of reference > > counting is t

[PATCH v7 00/11] drm/bridge: add devm_drm_bridge_alloc() with bridge refcount

2025-03-15 Thread Luca Ceresoli
This series improves the way DRM bridges are allocated and initialized and makes them reference-counted. The goal of reference counting is to avoid use-after-free by drivers which got a pointer to a bridge and keep it stored and used even after the bridge has been deallocated. The overall goal is

Re: [PATCH v7 00/11] drm/bridge: add devm_drm_bridge_alloc() with bridge refcount

2025-03-14 Thread Maxime Ripard
Hi, On Fri, Mar 14, 2025 at 11:31:13AM +0100, Luca Ceresoli wrote: > This series improves the way DRM bridges are allocated and initialized and > makes them reference-counted. The goal of reference counting is to avoid > use-after-free by drivers which got a pointer to a bridge and keep it > store