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

Commit 199713c1 authored by Dhaval Patel's avatar Dhaval Patel
Browse files

msm: mdss: register for recovery handler in doze mode



The doze_suspend and stop state resets the
recovery handler. It is required to register it
again in doze mode because there can be frame
update in this power state.

Change-Id: I1bef7cdd63f21698aca18d326074ac3a0e4e5de4
Signed-off-by: default avatarDhaval Patel <pdhaval@codeaurora.org>
parent bfbfa771
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2125,6 +2125,10 @@ int mdss_mdp_cmd_stop(struct mdss_mdp_ctl *ctl, int panel_power_state)
			 * get turned on when the first update comes.
			 */
			pr_debug("%s: reset intf_stopped flag.\n", __func__);
			mdss_mdp_ctl_intf_event(ctl,
				MDSS_EVENT_REGISTER_RECOVERY_HANDLER,
				(void *)&ctx->intf_recovery,
				CTL_INTF_EVENT_FLAG_DEFAULT);
			ctx->intf_stopped = 0;
			goto end;
		}