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: Dhaval Patel <pdhaval@codeaurora.org>
This commit is contained in:
parent
c6db092d26
commit
87b75ecc2c
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue