Merge "disp: msm: dsi: commit DSI PHY timings after update"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
ca2fbfd531
@@ -4419,6 +4419,7 @@ static int dsi_display_set_mode_sub(struct dsi_display *display,
|
||||
int i;
|
||||
struct dsi_display_ctrl *ctrl;
|
||||
struct dsi_display_mode_priv_info *priv_info;
|
||||
bool commit_phy_timing = false;
|
||||
|
||||
priv_info = mode->priv_info;
|
||||
if (!priv_info) {
|
||||
@@ -4488,6 +4489,7 @@ static int dsi_display_set_mode_sub(struct dsi_display *display,
|
||||
|
||||
if ((mode->dsi_mode_flags & DSI_MODE_FLAG_DMS) &&
|
||||
(display->panel->panel_mode == DSI_OP_CMD_MODE)) {
|
||||
commit_phy_timing = true;
|
||||
atomic_set(&display->clkrate_change_pending, 1);
|
||||
|
||||
dsi_display_validate_dms_fps(display->panel->cur_mode, mode);
|
||||
@@ -4498,7 +4500,8 @@ static int dsi_display_set_mode_sub(struct dsi_display *display,
|
||||
ctrl = &display->ctrl[i];
|
||||
rc = dsi_phy_set_timing_params(ctrl->phy,
|
||||
priv_info->phy_timing_val,
|
||||
priv_info->phy_timing_len);
|
||||
priv_info->phy_timing_len,
|
||||
commit_phy_timing);
|
||||
if (rc)
|
||||
DSI_ERR("failed to add DSI PHY timing params\n");
|
||||
}
|
||||
|
Reference in New Issue
Block a user