diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2017-04-14 07:28:59 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-04-14 07:28:58 -0700 |
| commit | 65b6b46b80515e60c1405babb404abbdc55a73eb (patch) | |
| tree | d2f87c77f7c5c973a2206434499876aa1f4ca492 /drivers/video/fbdev | |
| parent | 40bf3261bd2b6558fd486114f60c9911f7180f8d (diff) | |
| parent | 48e69387e5fd40785e28ef8fc20264ce084fcb64 (diff) | |
Merge "msm: mdss: dp: skip transfer unit setup on link training requests"
Diffstat (limited to 'drivers/video/fbdev')
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_dp.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/video/fbdev/msm/mdss_dp.c b/drivers/video/fbdev/msm/mdss_dp.c index 226198efbeec..7a1b563fbb6c 100644 --- a/drivers/video/fbdev/msm/mdss_dp.c +++ b/drivers/video/fbdev/msm/mdss_dp.c @@ -1434,6 +1434,13 @@ static int mdss_dp_setup_main_link(struct mdss_dp_drv_pdata *dp, bool train) if (ret) goto end; + /* + * Skip the transfer unit setup and the routine to wait for the + * video ready interrupt as link training tests do not require + * video frames to be sent. + */ + if (mdss_dp_is_link_training_requested(dp)) + goto end; send_video: /* * Set up transfer unit values and set controller state to send |
