summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPing Li <pingli@codeaurora.org>2017-04-20 18:35:58 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-05-09 11:16:37 -0700
commit98d457b3d7ad9f015bb7ceb3a4f0fa2f0144acae (patch)
tree2ecce75642bfac0595be9298efc35dc15f192681 /tools/perf/scripts/python
parent3d82d66409abb91539bcb9d1f343fcb9d583f2b4 (diff)
msm: mdss: Update AD last strength during AD mode switch
Currently AD last_str is updated only inside pp_ad_calc_worker thread which is trigged by backlight or ambient light changes. If the number of screen refreshes is too small or user suspends the device before it finishes the scheduled screen refreshes, last_str will be different from the target strength for the current inputs. And when device goes into idle power collapse mode and exits, AD will switch to manual strength mode with last_str for two frames. After that, AD will go back to auto strength mode with the target strength. Since last_str and target strength may be different, flickers will be seen every time AD mode switch happens. This change fixes this above issue by reading the AD strength register and updating the value to last_str when AD mode switches from manual mode to auto strength mode. Change-Id: If68f84a4781230afe21b58c73ff88e59e7e9d416 Signed-off-by: Ping Li <pingli@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions