power-hal: Fix make file to use correct power hal library
Fix make file to use correct power hal library
Change-Id: Iffc6d61d48cba02860f92073ca31c945d970f3be
power: Update hint action for camera hint
Update the hint action of the camera hint to
switch the little/big configuration to 4+0
with the little cores running at 1.2GHz Fmax.
Change-Id: I7398412821b1420321d13e830a46e87241dccce4
Delay video encode power hint for 2s.
Improves camera startup significantly.
bug 24180717
Change-Id: I700684816e28805904e787cc3e0278ee5d5b60a6
Fix power hint.
There was a race where the power hint could be left enabled accidentally
if the camera was quit too quickly.
bug 24314633
Change-Id: I6e78534ab29c58f8d87ae55eedc9ff8fb0a8f7c8
Modify screen-off behavior.
Set sched_upmigrate to 99 and sched_downmigrate to 95 when the screen is
off. This will make it harder to use the big cores when the screen is
off (saving power), but will still allow them to be used in case there
is actually a heavyweight task running.
bug 24130678
Change-Id: I8a8638f62e18cc8fac819d95c17e97ed4ff7e193
power: modify touch boost to impact sched migration
Change-Id: I0ae372bf66b89393157f26adbcd81e394c8479ff
power: support duration hint to improve fling behavior
Change-Id: I3352ab9d55d0f978bdb09f5fe930fcde466e1e8a
power: extend little core freq boost during fling
Change-Id: I5c824ca6bc6a5a1fe51523ae9d1ece17546932bb
power: Change touch boost behavior: extent and handles.
This patch does three things:
1. Changes the upmigrate/downmigrate values based on the last boost.
Any touch within 750ms will result in higher upmigrate/downmigrate
values. This is used to approximate detection of constant
input (typing).
2. Moves to multiple handles for handling touch boost rather than
reusing the same handle for each successive component of the boost.
3. Rate limits the boost such that we don't boost more than every 250ms.
Change-Id: Iebc65c46d934ec518975a7452663ec872d0dee18
power: fix rate limiting for flings.
We were incorrectly limiting sched_upmigrate on a fling. Instead, allow
a fling to use the lowest sched_upmigrate.
Change-Id: I047a3f69748fb56f98caac902ed25d45e6289f01
power: Enable touch boost during camera on 8994
Previously, the video encode hint would hotplug the big cores off while
the camera was running in order to improve thermals and power
consumption. Instead, have the camera run the big cores at 384MHz so we
can still apply POWER_HINT_INTERACTION.
Change-Id: I5ee2559132a52ddba0ecba07bfb7238cc0d5770e
Add TARGET_POWER_SET_FEATURE_LIB, since other devices
are not simply writing a 0/1 to a device node.
TARGET_TAP_TO_WAKE_NODE still valid and both
TARGET_TAP_TO_WAKE_NODE and TARGET_POWER_SET_FEATURE_LIB are
allowed to be coexist. (Currently set_feature only got double tap wake,
but may be extended in future)
Change-Id: I5c6204fd38a6fbe48e8aac49843bfa047c4b6436
These changes add the powerhal support to detect
camera preview hint and perform power optimization
in cpu, scheduler.
Change-Id: Ibd7bd1c341a86004dc736aba6a634d6206da8564
Change adds an enum for bus DCVS V1 configuration for
camera encode power optimization.
Change updates existing resource opcodes to use refactored
perflock API.
Change-Id: Ib773d3789d9d3ab87de366bc8776c7501429bf6c
Overwrite the ro.opengles.version property with 0x2000.
This change is specific to 8960 Classic, which can only
support upto Open GLES vesion 2.0
This change fixes the CTS test failure
android.opengl.cts.OpenGlEsVersionTest
CRs-Fixed: 575502
Change-Id: I7e90ddde44fef596d1446e6f1acfe7070ef9337b
* This is necessary in order to match f3cf438714
* Based on the following commit to CyanogenMod eda5f3cca0
Change-Id: Ib3f2e4c533129aba8fba9eda8509762c7fc5d7c7
8929 is using 8939 system property to select hw hevc
decoder solution but this may lead to other CTS issues
as 8929 have different specification. Use separate
system property for 8929.
Change-Id: I8687279c7fa2957ddf16dfeeba4f0c859c3bf01b
8929 target is using software hevc decoder. Set a system
property so as to use hw hevc decoder, for all variants of
8929.
Change-Id: I156a26e905859a23f96a32ca4b98cdee688833df
Set system property to differentiate 8916 and 8939 hw based
on soc-id to select appropriate media_codecs.xml
Change-Id: I043e00c9c580994b511f8fcec4a0890da90645a6
CRs-Fixed: 770327
For 8916 narrow search range should be disable.
Disable set property vidc.enc.narrow.searchrange,
if target is 8916.
Change-Id: I501eaf1de72334a0a86baa222d29387b4da66860
Implement MSM-specific initialization during boot
up at "init" stage. Set DPI property based on panel
resolutions by reading virtual_size sysfs entry.
Change-Id: Ie0e1b5e68c72abe4aa11edbd4700bef3208dd461
Set the property ro.sf.lcd_density value to comply the
SBC APQ8084 display size.
qemu.hw.mainkeys is set to 0, because SBC is headless device
and doesn't have HW buttons.
Change-Id: I3e4e56245f95a061ea218f16c0af3f10a797ad4b
Update LCD density on Liquid to 320 and MTP to 480
based on UX profiling and Jank analysis
CRs-fixed: 612032
Change-Id: I1d2ee7671b7fd388967087df4f4bf8711f010478
(cherry picked from commit e47e385274)
Allow surfaceflinger process to access fb0/mdp/bw_mode_bitmap,
so that framework can hint the camera usage to limit the bw.
Change-Id: I566010e1b988ab06f6618967f5b9c6d0cfb68890
Add permissions, owners for /sys/class/graphics/fb0/{mode, modes}
These are meant to be read/written to by hwc.
Change-Id: I43f38b8106ac066b37912a3ebd2af2375f3e7b09
HWC will be writing to this sysfs node to set the variable
refresh rate, hence set proper usergroup
Change-Id: If668003463f580050d5843af97bf8f8761eb7f88
The HDMI driver now provides timing information through the res_info
sysfs node. The display HAL will need permissions to read/write this
node as part of HDMI initialization.
Change-Id: I2d767534a877368f55d614118676edb5f4f90b9e
This change enables 4+0 core config for display off
sceanrios and in display off scenario system should
go back to default core config.
Change-Id: I57795988e7e0f1b2c1e160e2e454549a14bbde50