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: Xiaoming Zhou <zhoux@codeaurora.org>
This commit is contained in:
Xiaoming Zhou 2015-02-11 16:35:58 -05:00 committed by David Keitel
parent ef6e987759
commit ec30c547ec

View file

@ -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,