MLK-24086: gpu: drm: rockchip: Fix cdn-dp driver build error

cdns DP API function cdns_mhdp_set_host_cap interface has
changed in another patch and rockchip DP driver should updated
to the change.

Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
This commit is contained in:
Sandor Yu
2020-05-20 22:22:47 +08:00
parent 0c2a3e5783
commit 0bb5eb096d

View File

@ -424,7 +424,11 @@ static int cdn_dp_enable_phy(struct cdn_dp_device *dp, struct cdn_dp_port *port)
port->lanes = cdn_dp_get_port_lanes(port);
dp->mhdp.dp.link.num_lanes = port->lanes;
ret = cdns_mhdp_set_host_cap(&dp->mhdp, property.intval);
if (property.intval)
dp->mhdp.lane_mapping = LANE_MAPPING_FLIPPED;
else
dp->mhdp.lane_mapping = LANE_MAPPING_NORMAL;
ret = cdns_mhdp_set_host_cap(&dp->mhdp);
if (ret) {
DRM_DEV_ERROR(dev, "set host capabilities failed: %d\n",
ret);