HW FDE keys would be tied to keymaster so that if someone changes
Root of Trust (ROT), encrypted data can't be used. Cryptfs_hw module
is exposing a new API so that caller can determine whether to create
dependency between HW FDE keys and keymaster.
Change-Id: I85c85ffd9086f6c060032e4ae701b10363d88529
ICE (Inline Crypto Engine) encrypts/decrypts storage IO requests to
minimize degradation in storage IO throughput. ICE has been added to
eMMC based storage hardware as well. Adding required support for eMMC
based ICE.
Change-Id: I7986d95ccabca9d6d029653c804608e7d78ad9ef
ICE requires keys to be set in key LUT. Changing APIs so that it
return the key index in key LUT. It also needs to take care if
ICE is available on the chip.
Change-Id: I22be18738ba33e5b5c61639c24b320484d0ad7f2
64 bit platform generates library at a different path compared to
32 bit platform.Added macros to take care of both kind of platforms.
Change-Id: Ie32b8edaeb9f8f34095c7f18c4add83fe957d82a
qseecom_create_key which is a function pointer is used after
dereferencing it. Also fixed the issue where userdata may not be
wiped after certain number of attemps.
Change-Id: I4d14366e33c09da64f89000a16b7eef7d981cfda
All vendors developed libraries must be in vendor folder on
device. Using appropriate directive to accomplish the objective.
Change-Id: I4ed413b799c0b66a86321f799713068776fa538a
SW based device encryption uses SW crypto engine. This module
provides the support for VOLD to utilize HW crypto engine. HW
based crypto engine is more efficient both in terms of power
and throughput.
Change-Id: I34107a0ce50d9fc5c80c15ace0678a0bba7adee5
* Revert this when fixed
Change-Id: I97ecb0448ae7bd5859454be290c5dde6248b2859
build: Default to dtbTool
* The default dtbTool isn't the correct module name for the module that
actually lives in device/qcom/common/dtbtool
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