Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eb973791 authored by Vishnuvardhan Prodduturi's avatar Vishnuvardhan Prodduturi
Browse files

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: default avatarSandeep Panda <spanda@codeaurora.org>
Signed-off-by: default avatarVishnuvardhan Prodduturi <vproddut@codeaurora.org>
parent 4072ee77
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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;
		}
	}