diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2024-01-03 19:13:01 +0100 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2024-01-04 09:03:47 +0100 |
commit | bb056046c2139c72e20a5b6fc39c9caaf9eac2b8 (patch) | |
tree | 3c0c026691156c2d9df964aa41a2f37d1b575728 /drivers | |
parent | 27571c64f1855881753e6f33c3186573afbab7ba (diff) |
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
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c b/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c index bd08d57486fe..7069a3d4d581 100644 --- a/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c +++ b/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c @@ -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); |