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

Commit 9bfdb355 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: mdss: modify MDSS idle power collapse exit sequence"

parents d6171217 770ce6d7
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -198,12 +198,17 @@ static inline void mdss_mdp_cmd_clk_on(struct mdss_mdp_cmd_ctx *ctx)
		if (cancel_delayed_work_sync(&ctx->pc_work))
			pr_debug("deleted pending power collapse work\n");

		if (ctx->idle_pc) {
			mdss_mdp_footswitch_ctrl_idle_pc(1,
				&ctx->ctl->mfd->pdev->dev);
			mdss_mdp_ctl_restore(ctx->ctl);
			mdss_mdp_clk_ctrl(MDP_BLOCK_POWER_ON, false);

		if (ctx->idle_pc) {
			if (mdss_mdp_cmd_tearcheck_setup(ctx->ctl))
				pr_warn("tearcheck setup failed\n");
			ctx->idle_pc = false;
		} else {
			mdss_mdp_clk_ctrl(MDP_BLOCK_POWER_ON, false);
		}

		mdss_mdp_ctl_intf_event