RE: [PATCH v2 27/41] drm: renesas: rz-du: rzg2l_du_encoder: remove now-redundant call to drm_connector_attach_encoder()

Biju Das
2026-04-24T08:42:33Z

Hi Luca Ceresoli,

> -----Original Message-----
> From: Luca Ceresoli <luca.ceresoli@bootlin.com>
> Sent: 23 April 2026 10:17
> Subject: [PATCH v2 27/41] drm: renesas: rz-du: rzg2l_du_encoder: remove now-redundant call to
> drm_connector_attach_encoder()
>
> drm_connector_attach_encoder() is now called by drm_bridge_connector_init().
>
> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>

Tested on RZ/G2L SMARC EVK.

Tested-by: Biju Das <biju.das.jz@bp.renesas.com>

Cheers,
Biju

> ---
> drivers/gpu/drm/renesas/rz-du/rzg2l_du_encoder.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/renesas/rz-du/rzg2l_du_encoder.c b/drivers/gpu/drm/renesas/rz-
> du/rzg2l_du_encoder.c
> index d53068733c66..0e567b57a408 100644
> --- a/drivers/gpu/drm/renesas/rz-du/rzg2l_du_encoder.c
> +++ b/drivers/gpu/drm/renesas/rz-du/rzg2l_du_encoder.c
> @@ -129,5 +129,5 @@ int rzg2l_du_encoder_init(struct rzg2l_du_device *rcdu,
> return PTR_ERR(connector);
> }
>
> - return drm_connector_attach_encoder(connector, &renc->base);
> + return 0;
> }
>
> --
> 2.53.0