diff options
| author | Linux Build Service Account <lnxbuild@quicinc.com> | 2017-10-12 05:07:48 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-10-12 05:07:48 -0700 |
| commit | f70b7ebdece2e7d4923d78950e31b7d8a77d0b43 (patch) | |
| tree | 2c3b2349198765bcc21ced2f221a59fd9d330bb8 /drivers/video | |
| parent | ec03d773188d524204c8f439e0c7d6965da08ca4 (diff) | |
| parent | 72cdcba92660ef04b2bcee5b449d6a245b19b33d (diff) | |
Merge "mdss: dp: fix the NVID parameter calculation for Display Port"
Diffstat (limited to 'drivers/video')
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_dp_util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/fbdev/msm/mdss_dp_util.c b/drivers/video/fbdev/msm/mdss_dp_util.c index f7b3d4664e86..037741df4382 100644 --- a/drivers/video/fbdev/msm/mdss_dp_util.c +++ b/drivers/video/fbdev/msm/mdss_dp_util.c @@ -835,6 +835,8 @@ void mdss_dp_sw_config_msa(struct mdss_dp_drv_pdata *dp) pr_debug("pixel_m=0x%x, pixel_n=0x%x\n", pixel_m, pixel_n); mvid = (pixel_m & 0xFFFF) * 5; nvid = (0xFFFF & (~pixel_n)) + (pixel_m & 0xFFFF); + if (dp->link_rate == DP_LINK_RATE_540) + nvid *= 2; } pr_debug("mvid=0x%x, nvid=0x%x\n", mvid, nvid); |
