GoogleGit

commitb0eacf300cee0bb8bc9345d7c6e24b35700956ab[log][tgz]
authorJordan Crouse <jcrouse@codeaurora.org>Tue Oct 15 09:05:53 2013 -0600
committerJeff Boody <jboody@codeaurora.org>Wed Oct 23 17:05:10 2013 -0600
tree1222c3fc94c00f62601fd9205d1be910df08b13c
parent19dc4f121f6e0ad8e409fd79ba52c7ce5e816254[diff]
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
any stragglers.

Conflicts:

	drivers/gpu/msm/adreno_dispatch.c

CRs-fixed: 551825
Change-Id: Ic0dedbad9d02fca89724bf791d9c7212712a8014
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Jeff Boody <jboody@codeaurora.org>
2 files changed
tree: 1222c3fc94c00f62601fd9205d1be910df08b13c
  1. .gitignore
  2. .mailmap
  3. AndroidKernel.mk
  4. COPYING
  5. CREDITS
  6. Documentation/
  7. Kbuild
  8. Kconfig
  9. MAINTAINERS
  10. Makefile
  11. README
  12. REPORTING-BUGS
  13. arch/
  14. block/
  15. crypto/
  16. drivers/
  17. firmware/
  18. fs/
  19. include/
  20. init/
  21. ipc/
  22. kernel/
  23. lib/
  24. make_defconfig.sh
  25. mm/
  26. net/
  27. samples/
  28. scripts/
  29. security/
  30. sound/
  31. tools/
  32. usr/
  33. virt/