summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/msm
diff options
context:
space:
mode:
authorKrishna Manikandan <mkrishn@codeaurora.org>2016-12-28 16:57:31 +0530
committerKrishna Manikandan <mkrishn@codeaurora.org>2017-01-02 10:29:22 +0530
commit7d62d1df160233389f7d7240c75c4cfccae5ce2e (patch)
tree10df0d29f845543bab04a3bc853a447b677a8e53 /drivers/video/fbdev/msm
parent46332069e9aa572ac7a69255cb38861a74e3c9c4 (diff)
msm: mdss: configure the dynamic fps correctly
Dynamic fps should be set to max fps supported if it is out of range. Configure the clocks based on the max fps set. Change-Id: Ied2d4803c0840be00929b7093601aab39930b3e9 Signed-off-by: Ashish Garg <ashigarg@codeaurora.org> Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org>
Diffstat (limited to 'drivers/video/fbdev/msm')
-rw-r--r--drivers/video/fbdev/msm/mdss_mdp_overlay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp_overlay.c b/drivers/video/fbdev/msm/mdss_mdp_overlay.c
index 4ae91cf8e81d..64a8d0833362 100644
--- a/drivers/video/fbdev/msm/mdss_mdp_overlay.c
+++ b/drivers/video/fbdev/msm/mdss_mdp_overlay.c
@@ -3228,6 +3228,7 @@ int mdss_mdp_dfps_update_params(struct msm_fb_data_type *mfd,
pr_warn("Unsupported FPS. Configuring to max_fps = %d\n",
pdata->panel_info.max_fps);
dfps = pdata->panel_info.max_fps;
+ dfps_data->fps = dfps;
}
dfps_update_panel_params(pdata, dfps_data);