disp: msm: dsi: defer clk setting when doing const_fps RFI
When doing const fps RFI, dynamic refresh clock was done in the next frame kick off, so as the orginal RFI work flow, the clock setting also should be done here. Change-Id: Ic3e6a35dc7264df028f5d848ac6f1eea04a95126 Signed-off-by: Yuan Zhao <yzhao@codeaurora.org> Signed-off-by: Amine Najahi <anajahi@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

orang tua
e4f4455a5f
melakukan
484387e860
@@ -4529,7 +4529,7 @@ static int _dsi_display_dyn_update_clks(struct dsi_display *display,
|
||||
*/
|
||||
if ((ctrl_version >= DSI_CTRL_VERSION_2_5) &&
|
||||
(dyn_clk_caps->maintain_const_fps))
|
||||
goto defer_dfps_wait;
|
||||
return 0;
|
||||
|
||||
/* wait for dynamic refresh done */
|
||||
display_for_each_ctrl(i, display) {
|
||||
@@ -4549,7 +4549,6 @@ static int _dsi_display_dyn_update_clks(struct dsi_display *display,
|
||||
dsi_phy_dynamic_refresh_clear(ctrl->phy);
|
||||
}
|
||||
|
||||
defer_dfps_wait:
|
||||
if (rc)
|
||||
DSI_ERR("could not switch back to src clks %d\n", rc);
|
||||
|
||||
|
Reference in New Issue
Block a user