diff options
author | Padmanabhan Komanduru <pkomandu@codeaurora.org> | 2015-05-19 12:27:03 +0530 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:45:07 -0700 |
commit | 5760ffaa492d5110e03612346a04a9b5bfc029aa (patch) | |
tree | ccaf25eb99aecba4566fc2970b0c6f67d2f5b411 /drivers | |
parent | 3fdd8450ea0b7bf902d2024734a8c5e04a1c93f0 (diff) |
msm: mdss: avoid check for MDP line count during fps update
On latest MDP revisions where there is support for double
buffering of timing generator registers, it is not needed to
check for MDP line count while updating the fps. Add check for
this.
Change-Id: I4b722fb53f856f289e145d0369f1823ff215ab06
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/fbdev/msm/mdss_mdp_intf_video.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp_intf_video.c b/drivers/video/fbdev/msm/mdss_mdp_intf_video.c index 5c464c29f8a0..4bad0c382f58 100644 --- a/drivers/video/fbdev/msm/mdss_mdp_intf_video.c +++ b/drivers/video/fbdev/msm/mdss_mdp_intf_video.c @@ -967,9 +967,11 @@ static int mdss_mdp_video_config_fps(struct mdss_mdp_ctl *ctl, mdss_mdp_clk_ctrl(MDP_BLOCK_POWER_ON); spin_lock_irqsave(&ctx->dfps_lock, flags); - rc = mdss_mdp_video_dfps_check_line_cnt(ctl); - if (rc < 0) - goto exit_dfps; + if (mdata->mdp_rev < MDSS_MDP_HW_REV_105) { + rc = mdss_mdp_video_dfps_check_line_cnt(ctl); + if (rc < 0) + goto exit_dfps; + } rc = mdss_mdp_video_fps_update(ctx, pdata, new_fps); if (rc < 0) { |