]> www.infradead.org Git - users/hch/misc.git/commit
drm/msm/dp: reset the link phy params before link training
authorAbhinav Kumar <quic_abhinavk@quicinc.com>
Thu, 25 Jul 2024 22:04:50 +0000 (15:04 -0700)
committerAbhinav Kumar <quic_abhinavk@quicinc.com>
Mon, 5 Aug 2024 20:55:26 +0000 (13:55 -0700)
commit319aca883bfa1b85ee08411541b51b9a934ac858
tree597b0e22a89032f009985867cff140598b6c1375
parentaedf02e46eb549dac8db4821a6b9f0c6bf6e3990
drm/msm/dp: reset the link phy params before link training

Before re-starting link training reset the link phy params namely
the pre-emphasis and voltage swing levels otherwise the next
link training begins at the previously cached levels which can result
in link training failures.

Fixes: 8ede2ecc3e5e ("drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets")
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> # SM8350-HDK
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Patchwork: https://patchwork.freedesktop.org/patch/605946/
Link: https://lore.kernel.org/r/20240725220450.131245-1-quic_abhinavk@quicinc.com
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
drivers/gpu/drm/msm/dp/dp_ctrl.c