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

Commit 50e48d67 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: avoid vsync_handler update in lp2 power state"

parents ef06c660 b838e5c1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2640,7 +2640,8 @@ int mdss_mdp_overlay_vsync_ctrl(struct msm_fb_data_type *mfd, int en)
	if (!ctl->ops.add_vsync_handler || !ctl->ops.remove_vsync_handler)
		return -EOPNOTSUPP;
	if (!ctl->panel_data->panel_info.cont_splash_enabled
			&& !mdss_mdp_ctl_is_power_on(ctl)) {
		&& (!mdss_mdp_ctl_is_power_on(ctl) ||
		mdss_panel_is_power_on_ulp(ctl->power_state))) {
		pr_debug("fb%d vsync pending first update en=%d\n",
				mfd->index, en);
		return -EPERM;