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>
This commit is contained in:
parent
7d8519628f
commit
261f51d15f
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue