Re: [PATCH v2 24/41] drm: verisilicon: remove now-redundant call to drm_connector_attach_encoder()

Icenowy Zheng
2026-04-24T08:05:01Z

在 2026-04-23四的 11:17 +0200，Luca Ceresoli写道：
> drm_connector_attach_encoder() is now called by
> drm_bridge_connector_init().
>
> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>

Acked-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>

> ---
>  drivers/gpu/drm/verisilicon/vs_bridge.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/verisilicon/vs_bridge.c
> b/drivers/gpu/drm/verisilicon/vs_bridge.c
> index 2a0ad00a94d6..83c91d5ce397 100644
> --- a/drivers/gpu/drm/verisilicon/vs_bridge.c
> +++ b/drivers/gpu/drm/verisilicon/vs_bridge.c
> @@ -365,7 +365,6 @@ struct vs_bridge *vs_bridge_init(struct
> drm_device *drm_dev,
>   ret = PTR_ERR(bridge->conn);
>   return ERR_PTR(ret);
>   }
> - drm_connector_attach_encoder(bridge->conn, bridge->enc);
>
>   return bridge;
>  }