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

Commit b7a8ba41 authored by Naseer Ahmed's avatar Naseer Ahmed Committed by Gerrit - the friendly Code Review server
Browse files

msm: mdss: Do not release all fences when going to doze mode



UI may update in doze mode and there may be tearing when going
from doze to unblank - with respect to synchronization, doze mode
must be treated as on.

Change-Id: I8635b0722bc6294f6850ab28ce43046f81ed49a5
Signed-off-by: default avatarNaseer Ahmed <naseer@codeaurora.org>
parent 3311f658
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1288,7 +1288,7 @@ static int mdss_fb_blank_sub(int blank_mode, struct fb_info *info,
			ret = mfd->mdp.off_fnc(mfd);
			if (ret)
				mfd->panel_power_state = cur_power_state;
			else
			else if (mdss_panel_is_power_off(req_power_state))
				mdss_fb_release_fences(mfd);
			mfd->op_enable = true;
			complete(&mfd->power_off_comp);