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

Skip to content
Commit 77927d8d authored by Jayant Shekhar's avatar Jayant Shekhar
Browse files

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: default avatarJayant Shekhar <jshekhar@codeaurora.org>
parent 1fb925c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment