Re: [PATCH] drm/msm/dp: don't report link training success after a reinit

From: Dmitry Baryshkov

Date: Fri Sep 25 2026 - 09:21:37 EST


On Fri, Sep 25, 2026 at 02:53:14PM +0200, Oleg Keri wrote:
> When every training attempt fails, the retry loop in
> msm_dp_ctrl_on_link() ends on a successful
> msm_dp_ctrl_reinitialize_mainlink(), leaving rc at 0. The caller then
> enables the stream on an untrained link and the display stays dark.
>
> The retry counter only reaches zero in that case, so treat it as a
> training failure.
>
> Fixes: 8ede2ecc3e5e ("drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets")
> Signed-off-by: Oleg Keri <okerixx@xxxxxxxxx>
> ---
> drivers/gpu/drm/msm/dp/dp_ctrl.c | 3 +++
> 1 file changed, 3 insertions(+)
>

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>


--
With best wishes
Dmitry