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

Commit 77fd875d 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: trigger event timer on vsync boundary"

parents e0fc0446 db4826ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2682,7 +2682,7 @@ int mdss_mdp_display_wakeup_time(struct mdss_mdp_ctl *ctl,
		pinfo->lcdc.v_pulse_width +
		pinfo->yres;

	if (current_line > total_line)
	if (current_line >= total_line)
		time_to_vsync = time_of_line * total_line;
	else
		time_to_vsync = time_of_line * (total_line - current_line);