* Something inside the HAL keeps choosing to use inaccurate locations
even when more accurate GNP/GNSS location is available. Since we don't
have any visibility into this component, disable it.
Change-Id: I84f5cf142ec9d5c4ea95b54b0bd16c54de2b1743
This reduces the time from off to pin-input on encrypted devices
considerably, while leaving enough space on /system for third party
app packages the user may desire to install. Tested on peregrine.
Change-Id: Iaa5974275476f5580f7e38cf8a502d5c3d28ac90
Our libadreno_utils returns an incorrect value for the pixel alignment
(32 instead of 16) and therefore the 480p preview is corrupted.
Force the right alignment to fix it.
d96e6bdebe
We only use DisplayColorCalibration from there and AdaptiveDisplay is duplicated ( one exist in samsung/cmhw ) and causes build error
This reverts commit bd5ba43a61.
PowerHAL highlights:
* The CPU governor is always interactive. Governor changes are not
expected and permissions are set once on boot.
* Powersave profile: the CPU frequency is limited 787MHz and the CPU
is never boosted on user interaction. This will save power without
making the phone unbearably slow.
* Performance profile: the CPU is constantly boosted.
* Balanced profile: the CPU is boosted on user interaction.
When the screen is turned off, the governor is tuned to lower the
power consumption to save power in case of long lasting screen off
activities such as music playback.
* Currently there are no restrictions on the number of active cores.
With this PowerHAL cpu-boost is not needed, so keep it disabled.
In addition to that, drop all the properties based profiles and set
config_perf_profile_prop to "powerhal" to make the framework send
hints to PowerHAL when the power profile is changed.
msm8226-common: PowerHAL: Initialize mutex
Since the mutex is declared as static, this went unnoticed, but mutexes
should always be initialized, so do it.
msm8226-common: PowerHAL: Don't override user selected profiles
Save and restore the last selected profile so that the user preference
is not lost when transitioning out the low power mode. Also, don't
actually change the profile if in low power mode, but don't discard
the user preference.
msm8226-common: Refactor PowerHAL
Make the HAL generic by keeping the device dependent configuration
separate. This allows to easily add or edit the profiles.
The HAL should behave exactly as before, except for the fact that now
there might be some useless writes when the screen is turned off.
Change-Id: I6bb01a14f0058c59986989568e7766f4203150cc
No reason to disable this, stick to default. Also disable thermal
driver before setting low power modes for sanity's sake.
Change-Id: I54457176494b295ca2e78c8ce306fa1838350962