disp: msm: dsi: enable dfps trigger at mdp intf flush

This change allows dynamic refresh trigger to sw trigger
and mdp intf flush. With this we can make sure that DSI
timing/clock update and mdp intf timings are updated in
one vsync.

Change-Id: Ic807f498e2e47be6dd0f1e11ff1fc0896a8ec758
Signed-off-by: Vara Reddy <varar@codeaurora.org>
This commit is contained in:
Vara Reddy
2020-08-18 08:45:42 -07:00
parent c75b0eb0a0
commit c9cb9f51f3
8 changed files with 117 additions and 2 deletions

View File

@@ -184,6 +184,14 @@ struct phy_dyn_refresh_ops {
*/
void (*dyn_refresh_helper)(struct dsi_phy_hw *phy, u32 offset);
/**
* dyn_refresh_trigger_sel - configure trigger_sel to frame flush
* @phy: Pointer to DSI PHY hardware instance.
* @is_master: Boolean to indicate whether master or slave.
*/
void (*dyn_refresh_trigger_sel)(struct dsi_phy_hw *phy,
bool is_master);
/**
* dyn_refresh_config - configure dynamic refresh ctrl registers
* @phy: Pointer to DSI PHY hardware instance.