summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorPing Li <pingli@codeaurora.org>2015-12-16 18:46:12 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:14:45 -0700
commitda613e9e0b3e1098a9748013fddb37d87db474f4 (patch)
tree18b7ea994ff706ada62a0099cc4bdc832345196b /include/linux/stackprotector.h
parentbc6c912958babe08a1dfa5e87461feea0921b982 (diff)
msm: mdss: maintain AD state through idle power collapse
When device enters the idle power collapse mode, the entire AD HW block is powered down, which will cause the previous AD settings get lost. So when device exits the idle power collapse mode, we need to store AD to previous state. In order to achieve this, we need to switch AD mode to 0x85 first and manually write the last AD strength value to AD register. Keep this setting for couple of frames, in the meantime, kick off AD calculator with t_filter_control value of 0 to ramp up the AD strength from 0 to current target strength. Then switch the mode back to auto strength (0x81). Change-Id: Iddc12dbb0da06675141fa9fe049cfe90110defb9 Signed-off-by: Ping Li <pingli@codeaurora.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions