Re: [PATCH 3/3] drm/bridge: add warning for bridges not using devm_drm_bridge_alloc()

2025-06-20 Thread Maxime Ripard
Hi Luca, On Fri, Jun 20, 2025 at 11:32:08AM +0200, Luca Ceresoli wrote: > To the best of my knowledge, all drivers in the mainline kernel adding a > DRM bridge are now converted to using devm_drm_bridge_alloc() for > allocation and initialization. Among others this ensures initialization of > the

Re: [PATCH 3/3] drm/bridge: add warning for bridges not using devm_drm_bridge_alloc()

2025-06-20 Thread Luca Ceresoli
Hi Maxime, On Fri, 20 Jun 2025 13:41:48 +0200 Maxime Ripard wrote: > Hi Luca, > > On Fri, Jun 20, 2025 at 11:32:08AM +0200, Luca Ceresoli wrote: > > To the best of my knowledge, all drivers in the mainline kernel adding a > > DRM bridge are now converted to using devm_drm_bridge_alloc() for > >

[PATCH 3/3] drm/bridge: add warning for bridges not using devm_drm_bridge_alloc()

2025-06-20 Thread Luca Ceresoli
To the best of my knowledge, all drivers in the mainline kernel adding a DRM bridge are now converted to using devm_drm_bridge_alloc() for allocation and initialization. Among others this ensures initialization of the bridge refcount, allowing dynamic allocation lifetime. devm_drm_bridge_alloc() i