commit | 04f932b1ce2e540ae2c6087161ace2edf9a2bf09 | [log] [tgz] |
---|---|---|
author | Saurabh Shah <saurshah@codeaurora.org> | Thu Oct 12 18:47:45 2017 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Dec 18 12:00:36 2017 -0800 |
tree | 7b99238a1963aa18cea69220a5b64420eda1d2d7 | |
parent | 2796e8c3e06e75939bd7636814c54cec2913a728 [diff] |
hwc2: Add missing locks, relax some locks Currently calls forwarded to CallDisplayFunction and CallLayerFunction are not protected via a lock, causing races. Add scope lock. Relax sequence locks in SetPowerMode, Dumpsys and Create/Destroy layer to scope locks to avoid locks ups in cases where these get called from the same binder thread that called Validate. Change-Id: I22bfc13b61dc308208cb20e8b2f3c2f76dbcafd4 CRs-fixed: 2156131