mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
drm/msm/dp: split link setup from source params
msm_dp_ctrl_configure_source_params() should only handle stream-related configuration. Move the link setup out of it so MST can program link and stream settings separately. Signed-off-by: Yongxing Mou <yongxing.mou@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Patchwork: https://patchwork.freedesktop.org/patch/742737/ Link: https://lore.kernel.org/r/20260728-dp_mstclean-v9-6-f7779fce10f4@oss.qualcomm.com Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
This commit is contained in:
parent
3a1edd5ac0
commit
0a19867dfb
|
|
@ -486,10 +486,6 @@ static void msm_dp_ctrl_config_misc1_misc0(struct msm_dp_ctrl_private *ctrl,
|
|||
|
||||
static void msm_dp_ctrl_configure_source_params(struct msm_dp_ctrl_private *ctrl)
|
||||
{
|
||||
msm_dp_ctrl_lane_mapping(ctrl);
|
||||
msm_dp_setup_peripheral_flush(ctrl);
|
||||
|
||||
msm_dp_ctrl_config_ctrl_link(ctrl);
|
||||
msm_dp_ctrl_config_ctrl_streams(ctrl, ctrl->panel);
|
||||
|
||||
msm_dp_ctrl_config_misc1_misc0(ctrl, ctrl->panel);
|
||||
|
|
@ -2556,6 +2552,10 @@ int msm_dp_ctrl_on_stream(struct msm_dp_ctrl *msm_dp_ctrl, bool force_link_train
|
|||
*/
|
||||
reinit_completion(&ctrl->video_comp);
|
||||
|
||||
msm_dp_ctrl_lane_mapping(ctrl);
|
||||
msm_dp_setup_peripheral_flush(ctrl);
|
||||
msm_dp_ctrl_config_ctrl_link(ctrl);
|
||||
|
||||
msm_dp_ctrl_configure_source_params(ctrl);
|
||||
|
||||
msm_dp_ctrl_config_msa(ctrl,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user