diff options
author | Kuogee Hsieh <khsieh@codeaurora.org> | 2021-08-05 13:44:51 -0700 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2021-08-10 14:48:16 -0700 |
commit | 4b85d405cfe938ae7ad61656484ae88dee289e3b (patch) | |
tree | 073aaf03d73c4b8a4fdb82ae0aee4cc1f2558305 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 52352fe2f86693f52be7db513d3ca5adee8c33cb (diff) |
drm/msm/dp: reduce link rate if failed at link training 1
Reduce link rate and re start link training if link training 1
failed due to loss of clock recovery done to fix Link Layer
CTS case 4.3.1.7. Also only update voltage and pre-emphasis
swing level after link training started to fix Link Layer CTS
case 4.3.1.6.
Changes in V2:
-- replaced cr_status with link_status[DP_LINK_STATUS_SIZE]
-- replaced dp_ctrl_any_lane_cr_done() with dp_ctrl_colco_recovery_any_ok()
-- replaced dp_ctrl_any_ane_cr_lose() with !drm_dp_clock_recovery_ok()
Changes in V3:
-- return failed if lane_count <= 1
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/1628196295-7382-3-git-send-email-khsieh@codeaurora.org
[remove unused cr_status variable]
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions