[PATCH 0/2] drm: fix missing conversions of bridge drivers to devm_drm_bridge_alloc()

Luca Ceresoli posted 2 patches 3 months ago
drivers/gpu/drm/sti/sti_hda.c  | 27 +++++++++++++--------------
drivers/gpu/drm/sti/sti_hdmi.c | 26 ++++++++++++--------------
drivers/gpu/drm/sti/sti_hdmi.h |  2 ++
3 files changed, 27 insertions(+), 28 deletions(-)
[PATCH 0/2] drm: fix missing conversions of bridge drivers to devm_drm_bridge_alloc()
Posted by Luca Ceresoli 3 months ago
Most DRM bridge drivers have been converted to devm_drm_bridge_alloc() by
[0], but a few drivers were missed. One got converted by [1], this series
converts all the (known) remaining ones.

Thanks Marek for having found and reported them!

[0] https://lore.kernel.org/all/20250528-drm-bridge-convert-to-alloc-api-v4-1-f04e698c9a77@bootlin.com/
[1] https://lore.kernel.org/all/20250627165652.580798-1-m.szyprowski@samsung.com/

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
---
Luca Ceresoli (2):
      drm/sti: hdmi: convert to devm_drm_bridge_alloc() API
      drm/sti: hda: convert to devm_drm_bridge_alloc() API

 drivers/gpu/drm/sti/sti_hda.c  | 27 +++++++++++++--------------
 drivers/gpu/drm/sti/sti_hdmi.c | 26 ++++++++++++--------------
 drivers/gpu/drm/sti/sti_hdmi.h |  2 ++
 3 files changed, 27 insertions(+), 28 deletions(-)
---
base-commit: 482c7e296edc0f594e8869a789a40be53c49bd6a
change-id: 20250708-drm-bridge-convert-to-alloc-api-leftovers-6c8e2734b5e9

Best regards,
-- 
Luca Ceresoli <luca.ceresoli@bootlin.com>
Re: [PATCH 0/2] drm: fix missing conversions of bridge drivers to devm_drm_bridge_alloc()
Posted by Luca Ceresoli 3 months ago
On Tue, 08 Jul 2025 17:24:41 +0200, Luca Ceresoli wrote:
> Most DRM bridge drivers have been converted to devm_drm_bridge_alloc() by
> [0], but a few drivers were missed. One got converted by [1], this series
> converts all the (known) remaining ones.
> 
> Thanks Marek for having found and reported them!
> 
> [0] https://lore.kernel.org/all/20250528-drm-bridge-convert-to-alloc-api-v4-1-f04e698c9a77@bootlin.com/
> [1] https://lore.kernel.org/all/20250627165652.580798-1-m.szyprowski@samsung.com/
> 
> [...]

Applied, thanks!

[1/2] drm/sti: hdmi: convert to devm_drm_bridge_alloc() API
      commit: ac4531424d907f3983e919a7bda2b90ea0cede4f
[2/2] drm/sti: hda: convert to devm_drm_bridge_alloc() API
      commit: 602d565d3c10dfb2dfd397f65078cb603a26a513

Best regards,
-- 
Luca Ceresoli <luca.ceresoli@bootlin.com>
Re: [PATCH 0/2] drm: fix missing conversions of bridge drivers to devm_drm_bridge_alloc()
Posted by Maxime Ripard 3 months ago
On Wed, Jul 09, 2025 at 11:35:42AM +0200, Luca Ceresoli wrote:
> 
> On Tue, 08 Jul 2025 17:24:41 +0200, Luca Ceresoli wrote:
> > Most DRM bridge drivers have been converted to devm_drm_bridge_alloc() by
> > [0], but a few drivers were missed. One got converted by [1], this series
> > converts all the (known) remaining ones.
> > 
> > Thanks Marek for having found and reported them!
> > 
> > [0] https://lore.kernel.org/all/20250528-drm-bridge-convert-to-alloc-api-v4-1-f04e698c9a77@bootlin.com/
> > [1] https://lore.kernel.org/all/20250627165652.580798-1-m.szyprowski@samsung.com/
> > 
> > [...]
> 
> Applied, thanks!
> 
> [1/2] drm/sti: hdmi: convert to devm_drm_bridge_alloc() API
>       commit: ac4531424d907f3983e919a7bda2b90ea0cede4f
> [2/2] drm/sti: hda: convert to devm_drm_bridge_alloc() API
>       commit: 602d565d3c10dfb2dfd397f65078cb603a26a513

You sent the patches yesterday, it would have been nice to wait a few
days for the maintainers to answer.

Maxime
Re: [PATCH 0/2] drm: fix missing conversions of bridge drivers to devm_drm_bridge_alloc()
Posted by Luca Ceresoli 2 months, 4 weeks ago
On Wed, 9 Jul 2025 14:05:51 +0200
Maxime Ripard <mripard@kernel.org> wrote:

> On Wed, Jul 09, 2025 at 11:35:42AM +0200, Luca Ceresoli wrote:
> > 
> > On Tue, 08 Jul 2025 17:24:41 +0200, Luca Ceresoli wrote:  
> > > Most DRM bridge drivers have been converted to devm_drm_bridge_alloc() by
> > > [0], but a few drivers were missed. One got converted by [1], this series
> > > converts all the (known) remaining ones.
> > > 
> > > Thanks Marek for having found and reported them!
> > > 
> > > [0] https://lore.kernel.org/all/20250528-drm-bridge-convert-to-alloc-api-v4-1-f04e698c9a77@bootlin.com/
> > > [1] https://lore.kernel.org/all/20250627165652.580798-1-m.szyprowski@samsung.com/
> > > 
> > > [...]  
> > 
> > Applied, thanks!
> > 
> > [1/2] drm/sti: hdmi: convert to devm_drm_bridge_alloc() API
> >       commit: ac4531424d907f3983e919a7bda2b90ea0cede4f
> > [2/2] drm/sti: hda: convert to devm_drm_bridge_alloc() API
> >       commit: 602d565d3c10dfb2dfd397f65078cb603a26a513  
> 
> You sent the patches yesterday, it would have been nice to wait a few
> days for the maintainers to answer.

Apologies. Being a fix, I thought it would make sense to apply them
quickly. Note taken.

Luca

-- 
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com