* We are using this one in build now too
* But it isn't supported by QCLD either
-> filter it out
Change-Id: I148d82f94dad67fdca286d03b8b71fd3846c87a3
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
This commit adds the needed bits for SDCLANG support.
SDCLANG is initialised as false currently,
however the implementation allows to override it from device.
The Path is currenly hardcoded to "prebuilts/clang/host/linux-x86/sdclang-3.8/bin"
since we cannot provide support for darwin currently.
The LTO definitions are added and the variable which
gets picked up by build system automatically is set.
Also a new configuration is introduced: SDCLANG_COMMON_FLAGS
These flags will be picked up for arm and arm64 targets.
We are using -O3 currently since SDCLANG defines the levels
of optimisation differently and O3 is a very safe level to use here.
The new configuration SDCLANG_FORCED is initialised
at false and can be overriden. It can be set
to true in order to force SDCLANG to be used
under the condition that it is requested.
Currently we don't want to do this globally,
however it might be useful for OEM builds.
Change-Id: I4f42be82a8a113fdf6406d9879d5586968030517
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
There was a race where the power hint could be left enabled accidentally
if the camera was quit too quickly.
bug 24314633
Change-Id: Ie0428901c17f6ddf6f7c8d05545a81a70f4fe6d7
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
* This is coming from AOSP Power HAL and was adapted
for our Power HAL
Original commit (the relevant part is marked with "[]":
From 8be2968248ec43ad57c3c0f3ab9611924321167d Mon Sep 17 00:00:00 2001
From: Tim Murray <timmurray@google.com>
Date: Fri, 18 Sep 2015 11:42:54 -0700
Subject: 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.
bug 24113279
bug 24064601
Change-Id: Ib81e478f17191a1a27e64774e4132fe97e18f124
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
* We want to get inline with CAF power HAL
and import just the changes we want from AOSP.
Revert "power:8992/8994: modify screen off config"
This reverts commit 91100af93a.
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
Revert "power: fix 8992 build"
This reverts commit fa8bfc83ff.
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
Revert "power: apply angler/bullhead changes for 8994 and 8992"
This reverts commit c89b5f2310.
Change-Id: I6887bd85c485c43366a5355f6c4645a04ab6af27
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
This is getting moved here from vendor/pa
since it is specific to Qualcomm devices.
Change-Id: I3195ad5572da92e6d7984f89f4b619b25e514da1
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
This is actually needed for non-qcom devices as well, otherwise
the bootclasspath breaks because numerous components
depend on the tcm extensions right now.
Change-Id: I7ca017c3b573c7b2c9760a71513b149df085f6b8
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
* reenable jack, since it is much deeper integrated into the new build system and caf won't disable it this time, most likely
Change-Id: I39876445a8a4774f9b335d4bfc1e578a9b4a0bca
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
Sometime it is possible that KMS APIs are invoked and QSEECom
listeners are not up. This would cause failure from secure side
and KMS API will fail eventually. This change waits for QSEECom
listeners to be up before calling KMS APIs. If QSEECom listeners
are not up even after wait period, API would fail without going
to secure side.
Change-Id: I211248645f92fc0fcfe6f250cb1f26661f5fb06c
While verifying or updating passwords, those are copied into temp
variables which are freed after use. These variables should be
cleaned up before freeing so that passwords are not left in memory
if someone dumps the memory.
Change-Id: I94f76f679bac18a682c796fe98236549e8f5e1aa
* tcmiface should be present on all devices
* that allows us to remove the global hacks from the http repos and tcmiface itself
Change-Id: I58b8ae79bea12e01fe3dee0769bf3a48847a1c13
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
* adds qcmediaplayer to boot jars if dash is unblocked
* This assumes that qcmediaplayer is being used if Dash is unblocked
* Also move Dash blocker from vendor/pa here
Change-Id: Id23ee450b68e1a1c5526cc7c0db9e9f0b23378d6
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
* add common.mk which gets included from product makefiles
* move things which don't belong to Boardconfig there
Change-Id: Ie6d3ceccf55578f89f7f18673fa1a78af64abbd0
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
* Keep all Big Cores offlined
* The previous behaviour didn't match any of our devices power configs
Change-Id: Ib46575028d191bac7fbf186592d3aab54425d468
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
* add needed modules to bootclasspath
* Target must provide these as packages!
Change-Id: I09c69158269feecc2873848d05158fdce49be6e5
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
This change is specific to 8084 and has been
modeled based on 8974 pro changes. Use PerfLock
to keep two cores online when the display is on.
Change-Id: Iffea0f9afbb3743cec2804da5884ec6d977b662a
Revert "power: only build first lib"
* we want to use both, according to the multilib idea
This reverts commit 36be6c8da6
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
See merge request !1
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