drm/msm/dp: dont call dp_catalog_ctrl_mainlink_ctrl in dp_ctrl_configure_source_params()
authorAbhinav Kumar <quic_abhinavk@quicinc.com>
Fri, 6 Dec 2024 04:31:32 +0000 (20:31 -0800)
committerAbhinav Kumar <quic_abhinavk@quicinc.com>
Thu, 12 Dec 2024 19:33:16 +0000 (11:33 -0800)
Once the link has already been setup there is no need to call
dp_catalog_ctrl_mainlink_ctrl() as this does a reset on the mainlink
thereby tearing down the link briefly.

Fixes: c943b4948b58 ("drm/msm/dp: add displayPort driver support")
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/627479/
Link: https://lore.kernel.org/r/20241205-dp_mst-v1-1-f8618d42a99a@quicinc.com
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
drivers/gpu/drm/msm/dp/dp_ctrl.c

index bc2ca8133b790fc049e18ab3b37a629558664dd4..a8069f7c4773f087229727dc38c9af0d6d84f863 100644 (file)
@@ -178,7 +178,6 @@ static void msm_dp_ctrl_configure_source_params(struct msm_dp_ctrl_private *ctrl
        u32 cc, tb;
 
        msm_dp_catalog_ctrl_lane_mapping(ctrl->catalog);
-       msm_dp_catalog_ctrl_mainlink_ctrl(ctrl->catalog, true);
        msm_dp_catalog_setup_peripheral_flush(ctrl->catalog);
 
        msm_dp_ctrl_config_ctrl(ctrl);