msm: kgsl: Re-run the events handler when inflight goes to zero
The event code is sensitive to race conditions with the GPU. We just
can't spend all day the event loops waiting for timestamp to expire.
The dispatcher loop on the other hand is far less sensitive to the
race with the GPU so we have a very good idea when the GPU is idle.
When inflight goes to zero re-run re-queue the event handler to catch
Signed-off-by: Jordan Crouse <firstname.lastname@example.org>
Signed-off-by: Jeff Boody <email@example.com>
2 files changed