diff options
| author | Vishnuvardhan Prodduturi <vproddut@codeaurora.org> | 2017-01-20 17:40:40 +0530 |
|---|---|---|
| committer | Vishnuvardhan Prodduturi <vproddut@codeaurora.org> | 2017-03-07 10:41:01 +0530 |
| commit | eb973791c027c4e94df4730afef73196d880d879 (patch) | |
| tree | 5ba5c73f9c5cf754a6aee6faebaa45ad9ed5b8bb | |
| parent | 4072ee7757944a8fe36067bb9f7cd3d3fd0f794d (diff) | |
msm: mdss: enable tearcheck while entering LP1 state
In current implementation we disable tear check block when
transitioning into ultra low power or power off state for
doze mode. But it is not enabled back when moving from
ultra low power state(LP2) to low power state(LP1), after
which updates are expected. This change enables back tearcheck
block when transitioning to LP1 from LP2 state.
Change-Id: Ic0d8f97752ccf88470da2423f3f8d56a32de227f
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
Signed-off-by: Vishnuvardhan Prodduturi <vproddut@codeaurora.org>
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c b/drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c index 3c7d8fe99343..714e1c06db78 100644 --- a/drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c +++ b/drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c @@ -3317,7 +3317,11 @@ int mdss_mdp_cmd_stop(struct mdss_mdp_ctl *ctl, int panel_power_state) ctx->intf_stopped = 0; if (sctx) sctx->intf_stopped = 0; - + /* + * Tearcheck was disabled while entering LP2 state. + * Enable it back to allow updates in LP1 state. + */ + mdss_mdp_tearcheck_enable(ctl, true); goto end; } } |
