diff options
| author | Jeevan Shriram <jshriram@codeaurora.org> | 2014-09-04 00:58:19 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:33:43 -0700 |
| commit | 261f51d15f708c8bea2edbd1bf9c7280e3248e81 (patch) | |
| tree | a8c70b21bcf867fef2710c06ede8bcc2d0d7a920 /drivers/video/fbdev | |
| parent | 7d8519628fd65576b7ea1705f3275a03d1ccc800 (diff) | |
msm: mdss: update mipi frame rate after new fps is set
With dynamic refresh feature enabled in immediate clock
update mode, update the mipi frame rate as well to the
new rate.
This is required for calculating sleep time for retire
fence count to be accurate.
Change-Id: I9fa9b420df8f1496d0bb4dab3d3ee50d35630394
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
Diffstat (limited to 'drivers/video/fbdev')
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_dsi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fbdev/msm/mdss_dsi.c b/drivers/video/fbdev/msm/mdss_dsi.c index 02642fa6e971..80cbbb8b870e 100644 --- a/drivers/video/fbdev/msm/mdss_dsi.c +++ b/drivers/video/fbdev/msm/mdss_dsi.c @@ -1005,6 +1005,7 @@ static int __mdss_dsi_dfps_update_clks(struct mdss_panel_data *pdata, ctrl_pdata->pll_pixel_clk); clk_disable_unprepare(ctrl_pdata->pll_byte_clk); clk_disable_unprepare(ctrl_pdata->pll_pixel_clk); + ctrl_pdata->panel_data.panel_info.mipi.frame_rate = new_fps; } else { ctrl_pdata->pclk_rate = pdata->panel_info.mipi.dsi_pclk_rate; |
