[Freedreno] [PATCH v3] drm/msm/dp: add support of tps4 (training pattern 4) for HBR3

Stephen Boyd swboyd at chromium.org
Fri Jan 7 00:16:07 UTC 2022


Quoting Kuogee Hsieh (2022-01-06 09:14:56)
> @@ -1189,12 +1190,20 @@ static int dp_ctrl_link_train_2(struct dp_ctrl_private *ctrl,
>
>         *training_step = DP_TRAINING_2;
>
> -       if (drm_dp_tps3_supported(ctrl->panel->dpcd))
> +       if (drm_dp_tps4_supported(ctrl->panel->dpcd)) {
> +               pattern = DP_TRAINING_PATTERN_4;
> +               state_ctrl_bit = 4;
> +       }
> +       else if (drm_dp_tps3_supported(ctrl->panel->dpcd)) {

also

	} else if (...) {


More information about the Freedreno mailing list