commit | ab3c5c53d99c2637f87e37a029018850286bad3d | [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> | Fri Jul 19 14:04:11 2019 -0700 |
tree | 26b504fa468261638aca97a1bd9a6b99d639c05c | |
parent | 5b39caac3971ec4a245fa32ebf40d45df71e0e33 [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