commit | 0072a34c2ee4b203306f8bb096426c85699c9d00 | [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> | Thu Apr 09 04:29:43 2020 -0700 |
tree | 702ce2c3fb5a763589dc3a1060e187b32b33c3ff | |
parent | e5f55a1288899c0051a597d9b1ac03a87d65f4c9 [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