From 7d62d1df160233389f7d7240c75c4cfccae5ce2e Mon Sep 17 00:00:00 2001 From: Krishna Manikandan Date: Wed, 28 Dec 2016 16:57:31 +0530 Subject: 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 Signed-off-by: Krishna Manikandan --- drivers/video/fbdev/msm/mdss_mdp_overlay.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3