summaryrefslogtreecommitdiffstats
path: root/power-common.h
diff options
context:
space:
mode:
authordianlujitao <dianlujitao@lineageos.org>2018-11-30 13:39:22 +0800
committerMichael Bestas <mkbestas@lineageos.org>2019-10-23 01:12:56 +0300
commitf906ae2e7abb86978c77f8e449146343eba7cbb9 (patch)
tree15d7908614d0bb420d05d4d58117696d9f274e3a /power-common.h
parent9bb7f33948807f7c1c6b3131b22a15e21b2a8e61 (diff)
downloadvendor_qcom_opensource_power-f906ae2e7abb86978c77f8e449146343eba7cbb9.tar.gz
vendor_qcom_opensource_power-f906ae2e7abb86978c77f8e449146343eba7cbb9.tar.bz2
vendor_qcom_opensource_power-f906ae2e7abb86978c77f8e449146343eba7cbb9.zip
power: Drop default POWER_HINT_INTERACTION routine
* These boost resources were introduced years ago and are no longer suitable for modern SoCs. Each SoC should implement its own boost resource in either platform specific power HAL source file or perf HAL. * Starting from LineageOS 15.1, recent SoCs no longer handle POWER_HINT_INTERACTION in the power HAL, so power_hint_override returns HINT_NONE and the default routine is always executed. E.g, on msm8996 little cluster is always boosted to max frequency on touch, which causes a huge battery drain. * As a bonus, the "Failed to apply optimization" errors are gone. Change-Id: I322f23f40fc5da7485f2c7a6cf8ee952d0fb94c6
Diffstat (limited to 'power-common.h')
0 files changed, 0 insertions, 0 deletions