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

Commit f0c3ac0d authored by Xiaoming Zhou's avatar Xiaoming Zhou Committed by Matt Wagantall
Browse files

msm: mdss: notify frame done for wifi display kickoff without buffer



The frame done notification is required even for kickoff without
output buffer. This happens for pan-display path, where a kickoff
can be triggered without output buffer queueing first. By notifying
the frame done event, it allows the client to release retire fence
properly.

Change-Id: Ia29acf58819641e84a58061f9c06ee74cf1bec06
Signed-off-by: default avatarXiaoming Zhou <zhoux@codeaurora.org>
parent 784973d3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -318,6 +318,7 @@ int mdss_mdp_wfd_kickoff(struct mdss_mdp_wfd *wfd,
	if (list_empty(&wfd->data_queue)) {
		pr_debug("no output buffer\n");
		mutex_unlock(&wfd->lock);
		mdss_mdp_ctl_notify(ctl, MDP_NOTIFY_FRAME_DONE);
		return 0;
	}
	wfd_data = list_first_entry(&wfd->data_queue,