commit | 2c9bf6392e2bd0ebfdeb1fb44cdde2164e257812 | [log] [tgz] |
---|---|---|
author | Sushil Chauhan <sushilchauhan@codeaurora.org> | Fri Jul 12 14:54:29 2019 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Wed Apr 08 10:27:35 2020 -0700 |
tree | e2cf8bf0f4f22bf5e56f0a569565f300893a1c69 | |
parent | 0962d0db74b2528f5af3f7ef9eeb5d7b3acc9b39 [diff] |
sdm: Don't block draw-cycle thread during SetDisplayBrightness Driver makes sure that Panel commands are serialized to any frame update on Panel. SetDisplayBrightness API doesn't need to acquire locker_ lock which blocks draw-cycle thread and causes frame drops. Define brightness_lock_ to serialize Set and Get Panel brightness CRs-Fixed: 2446089 Change-Id: I963f1b3ddcd4765ddff805a373f70cdd550fa993