Re: [PATCH v6 1/3] drm/komeda: Use drmm_mode_config_init()

From: Luca Ceresoli

Date: Tue Dec 01 2026 - 03:47:47 EST


On Tue, 01 Dec 2026 11:24:33 +0800, Luo Liu <Luo.Liu@xxxxxxxxxxx> wrote:
> A later change converts komeda to the bridge connector. The connector
> created by drm_bridge_connector_init() is allocated with
> drmm_connector_init() and has no ->destroy hook, so the explicit
> drm_mode_config_cleanup() would drop its last reference and make
> drm_connector_free() call a NULL ->destroy on the komeda_kms_attach()
> error paths and on unbind.
>
> [...]

Reviewed-by: Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx>

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