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

Commit b2b38028 authored by Ingrid Gallardo's avatar Ingrid Gallardo Committed by Abhijith Desai
Browse files

msm: mdss: fix tearcheck when enter low power mode



During transition from ultra low power mode to
low power mode, tear check is not reconfigured,
which can cause problems during the doze mode
use case. Fix this problem by making sure
that tearcheck gets reconfigured.

Change-Id: I5dc0dd78d98c768ef70c795ac974bb4574c55a0f
Signed-off-by: default avatarIngrid Gallardo <ingridg@codeaurora.org>
parent ba00d5b5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3230,6 +3230,8 @@ int mdss_mdp_cmd_stop(struct mdss_mdp_ctl *ctl, int panel_power_state)
				(void *)&ctx->intf_mdp_callback,
				CTL_INTF_EVENT_FLAG_DEFAULT);

			mdss_mdp_tearcheck_enable(ctl, true);

			ctx->intf_stopped = 0;
			if (sctx)
				sctx->intf_stopped = 0;