diff options
author | Arto Merilainen <[email protected]> | 2016-11-08 19:51:33 +0200 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2016-11-11 15:33:13 +0100 |
commit | d4b5781890b9329b9e7720f14d3eeb5661348535 (patch) | |
tree | a1ce286f7e473f0bd9103f0d59321d1af6d46faf /lib/string_helpers.c | |
parent | f08ef2d1a1a9aaa756823e847f9eb74f3658393a (diff) |
gpu: host1x: Add locking to syncpt
Currently syncpoints are not locked by mutex and this causes races
if we are aggressively freeing and allocating syncpoints.
This patch adds missing mutex protection to syncpoint structures.
Signed-off-by: Arto Merilainen <[email protected]>
Reviewed-by: Shridhar Rasal <[email protected]>
Signed-off-by: Mikko Perttunen <[email protected]>
[[email protected]: use better label names, don't reset local variable]
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions