commit | 46322b3c1c82cb9103e660c5eba1fad6caabd962 | [log] [tgz] |
---|---|---|
author | Erik Gilling <konkers@android.com> | Thu Oct 11 12:35:22 2012 -0700 |
committer | Michael Bohan <mbohan@codeaurora.org> | Fri Jan 11 15:05:53 2013 -0800 |
tree | d50d6ce24769764bb7d1cb13b1fdc7df66596003 | |
parent | a2bc03a327bddec9e0ae87b0b5c5eec4cb68a65d [diff] |
sync: protect unlocked access to fence status Fence status is checked outside of locks in both sync_fence_wait and sync_fence_poll. This patch adds propper barrier protection in these cases to avoid seeing stale status. Change-Id: I9d8b6ce6accb415e797df58068a1ccd54e6be445 Signed-off-by: Erik Gilling <konkers@android.com> Signed-off-by: Michael Bohan <mbohan@codeaurora.org>