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

Commit 211eff0a authored by Adrian Salido-Moreno's avatar Adrian Salido-Moreno
Browse files

msm: mdss: send frame events on polling mode



Due to potential heavy load in the system, in some cases the system may
fall into polling mode for vsyncs if interrupts are not happening fast
enough. In such cases frame events should still be sent so that sync
fences are properly released.

Change-Id: I41903540921e9b4e9c79de3ad0b6c11c20b30520
CRs-Fixed: 569334
Signed-off-by: default avatarAdrian Salido-Moreno <adrianm@codeaurora.org>
parent f6b73a87
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -429,10 +429,9 @@ static int mdss_mdp_video_wait4comp(struct mdss_mdp_ctl *ctl, void *arg)
		} else {
			rc = 0;
		}

	}
	mdss_mdp_ctl_notify(ctl,
			rc ? MDP_NOTIFY_FRAME_TIMEOUT : MDP_NOTIFY_FRAME_DONE);
	}

	if (ctx->wait_pending) {
		ctx->wait_pending = 0;