Skip to content
Snippets Groups Projects
Commit 4c203520 authored by Zhao Xuewen's avatar Zhao Xuewen Committed by Chenjie Luo
Browse files

msm: mdss: fix ambient mode screen freeze issue


When enter ambient mode,mipi will change from normal to stop.
panel will switch to video mode due to the floating signal
sometimes,then screen will freeze.

Enable ULPS,when enter ambient mode,mipi will change to ULPS and
then to stop,this will indicate the panel to enter idle mode safely.

When enable ULPS,the screen image will shift due to mipi footswitch
off.Keep MIPI footswitch on to avoid this issue.

BUG:25089287
Change-Id: Iee25ebabd2eee22d0c7edd686ccaada24e3633ec
Signed-off-by: default avatarl00212897 <gang.li@huawei.com>
parent ff92fa1f
No related branches found
No related tags found
No related merge requests found
......@@ -42,6 +42,7 @@
qcom,mdss-dsi-underflow-color = <0xff>;
qcom,mdss-dsi-border-color = <0>;
qcom,mdss-dsi-panel-orientation = "vflip";
qcom,ulps-enabled;
qcom,mdss-dsi-on-command = [15 01 00 00 01 00 02 00 00
15 01 00 00 00 00 02 FE 07
15 01 00 00 00 00 02 07 4F
......
......@@ -42,6 +42,7 @@
qcom,mdss-dsi-underflow-color = <0xff>;
qcom,mdss-dsi-border-color = <0>;
qcom,mdss-dsi-panel-orientation = "vflip";
qcom,ulps-enabled;
qcom,mdss-dsi-on-command = [15 01 00 00 01 00 02 00 00
15 01 00 00 00 00 02 FE 04
15 01 00 00 00 00 02 00 DC
......
......@@ -1147,6 +1147,11 @@ static int mdss_dsi_core_power_ctrl(struct mdss_dsi_ctrl_pdata *ctrl,
pr_debug("%s: leaving mdss gdsc on\n", __func__);
} else {
pr_debug("%s: Disable MDP FS\n", __func__);
/*
* temp workaround to keep MDP FS enable to avoid image
* shift after exit idle mode
*/
#if 0
rc = msm_dss_enable_vreg(
ctrl->power_data[DSI_CORE_PM].vreg_config,
ctrl->power_data[DSI_CORE_PM].num_vreg, 0);
......@@ -1158,6 +1163,9 @@ static int mdss_dsi_core_power_ctrl(struct mdss_dsi_ctrl_pdata *ctrl,
} else {
ctrl->core_power = false;
}
#else
ctrl->core_power = false;
#endif
}
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment