diff options
author | Alex Waterman <alexw@nvidia.com> | 2016-01-21 17:44:43 -0500 |
---|---|---|
committer | Alex Waterman <alexw@nvidia.com> | 2016-01-27 13:58:57 -0500 |
commit | aa74098f29b3027111baf17c21d6e30a3656e2d0 (patch) | |
tree | 298db5833fafb013c05fdc29781a39ec7b89b493 /include | |
parent | 04092f74bb473fadfede8955b33807124e642b6c (diff) |
gpu: nvgpu: Fix gk20a_sync_pt_has_signaled()
Fix a reentrancy problem in gk20a_sync_pt_has_signaled()
where one thread could clear a pointer before another
thread tried to access it. A spinlock was added to the
gk20a_sync_pt struct which is used to ensure that the
underyling gk20a_sync_pt data is accessed in a sane
manner.
Bug 1604892
Change-Id: I270d89def7b986405a3167285d51ceda950c7b82
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/935909
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions