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>
这个提交包含在:
Vara Reddy
2020-08-18 08:45:42 -07:00
父节点 c75b0eb0a0
当前提交 c9cb9f51f3
修改 8 个文件,包含 117 行新增2 行删除

查看文件

@@ -75,6 +75,7 @@ enum phy_ulps_return_type {
* @allow_phy_power_off: True if PHY is allowed to power off when idle
* @regulator_min_datarate_bps: Minimum per lane data rate to turn on regulator
* @regulator_required: True if phy regulator is required
* @dfps_trigger_mdpintf_flush: mdp intf flush controls dfps trigger.
*/
struct msm_dsi_phy {
struct platform_device *pdev;
@@ -102,6 +103,7 @@ struct msm_dsi_phy {
bool allow_phy_power_off;
u32 regulator_min_datarate_bps;
bool regulator_required;
bool dfps_trigger_mdpintf_flush;
};
/**
@@ -323,6 +325,14 @@ int dsi_phy_update_phy_timings(struct msm_dsi_phy *phy,
void dsi_phy_config_dynamic_refresh(struct msm_dsi_phy *phy,
struct dsi_dyn_clk_delay *delay,
bool is_master);
/**
* dsi_phy_dynamic_refresh_trigger_sel() - dynamic refresh trigger select.
* @phy: DSI PHY handle
* @is_master: Boolean to indicate if for master or slave.
*/
void dsi_phy_dynamic_refresh_trigger_sel(struct msm_dsi_phy *phy,
bool is_master);
/**
* dsi_phy_dynamic_refresh_trigger() - trigger dynamic refresh
* @phy: DSI PHY handle