mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
drm/rockchip: analogix_dp: get encoder port ID from DT
The VOP2 driver needs this port ID to properly configure the display data routing. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://patchwork.freedesktop.org/patch/msgid/20240103181301.3339595-1-l.stach@pengutronix.de
This commit is contained in:
parent
27571c64f1
commit
bb056046c2
@ -343,6 +343,9 @@ static int rockchip_dp_bind(struct device *dev, struct device *master,
|
||||
return ret;
|
||||
}
|
||||
|
||||
rockchip_drm_encoder_set_crtc_endpoint_id(&dp->encoder,
|
||||
dev->of_node, 0, 0);
|
||||
|
||||
dp->plat_data.encoder = &dp->encoder.encoder;
|
||||
|
||||
ret = analogix_dp_bind(dp->adp, drm_dev);
|
||||
|
Loading…
Reference in New Issue
Block a user