diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2017-03-31 21:24:34 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-03-31 21:24:34 -0700 |
| commit | 3ca9595f26c9b2d18de8f7c74789a309394c86b5 (patch) | |
| tree | 05d7ea129a55810fb041d3d2bad9adfb2c8610d2 | |
| parent | b786416467012ec7b7f356b140bf58a45432580a (diff) | |
| parent | c487afdca1fd4c8a13bbad7daab6142a03e50761 (diff) | |
Merge "msm: mdss: re-configure DP mainlink clocks during link training"
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_dp.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/video/fbdev/msm/mdss_dp.c b/drivers/video/fbdev/msm/mdss_dp.c index 619fab4cdb93..2d499ef903d3 100644 --- a/drivers/video/fbdev/msm/mdss_dp.c +++ b/drivers/video/fbdev/msm/mdss_dp.c @@ -1577,8 +1577,14 @@ int mdss_dp_on_hpd(struct mdss_dp_drv_pdata *dp_drv) link_training: dp_drv->power_on = true; - while (-EAGAIN == mdss_dp_setup_main_link(dp_drv, true)) + while (-EAGAIN == mdss_dp_setup_main_link(dp_drv, true)) { pr_debug("MAIN LINK TRAINING RETRY\n"); + mdss_dp_mainlink_ctrl(&dp_drv->ctrl_io, false); + /* Disable DP mainlink clocks */ + mdss_dp_disable_mainlink_clocks(dp_drv); + /* Enable DP mainlink clocks with reduced link rate */ + mdss_dp_enable_mainlink_clocks(dp_drv); + } dp_drv->cont_splash = 0; |
