[PATCH v3 19/38] drm/msm/dp: no need to update tu calculation for mst
Dmitry Baryshkov
dmitry.baryshkov at oss.qualcomm.com
Mon Aug 25 21:25:10 UTC 2025
On Mon, Aug 25, 2025 at 10:16:05PM +0800, Yongxing Mou wrote:
> From: Abhinav Kumar <quic_abhinavk at quicinc.com>
>
> DP stream is transmitted in transfer units only for SST
> case there is no need to calculate and program TU parameters
comma before 'there'.
> for MST case. Skip the TU programming for MST cases.
>
> Signed-off-by: Abhinav Kumar <quic_abhinavk at quicinc.com>
> Signed-off-by: Yongxing Mou <yongxing.mou at oss.qualcomm.com>
> ---
> drivers/gpu/drm/msm/dp/dp_ctrl.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/msm/dp/dp_ctrl.c b/drivers/gpu/drm/msm/dp/dp_ctrl.c
> index d562377a8d2846099bf0f8757128978a162745c3..c313a3b4853a1571c43a9f3c9e981fbc22d51d55 100644
> --- a/drivers/gpu/drm/msm/dp/dp_ctrl.c
> +++ b/drivers/gpu/drm/msm/dp/dp_ctrl.c
> @@ -2685,7 +2685,8 @@ int msm_dp_ctrl_on_stream(struct msm_dp_ctrl *msm_dp_ctrl, struct msm_dp_panel *
>
> msm_dp_panel_clear_dsc_dto(msm_dp_panel);
>
> - msm_dp_ctrl_setup_tr_unit(ctrl);
> + if (!ctrl->mst_active)
> + msm_dp_ctrl_setup_tr_unit(ctrl);
>
> msm_dp_write_link(ctrl, REG_DP_STATE_CTRL, DP_STATE_CTRL_SEND_VIDEO);
>
>
> --
> 2.34.1
>
--
With best wishes
Dmitry
More information about the Freedreno
mailing list