msm: mdss: Schedule pp_done_work only for last frame update
Currently notify frame is done in wait4pingpong, and there
may not be a real need for the pp_done_work workqueue. But
we still keep it because to trigger the notification once
the last frame sent to display is actually transferred.
So, cancel the workqueue if singalling is already done
within the wait4pp but keep the work queue for the idle
cases. This can avoid unnecessary CPU scheduling in a lot
of cases.
Change-Id: I2099f18e48502fe7d0eac337f04d8e3f4711c2f2
Signed-off-by:
Jayant Shekhar <jshekhar@codeaurora.org>
Loading
Please register or sign in to comment