Power hints tuned for our devices by Albert I.
Thanks-to: Albert I <kras@raphielgang.org>
Signed-off-by: Ivan Vecera <ivan@cera.cz>
Change-Id: I580a527b8621252b44e5a8bfcb906b8a98d2156b
(nuke whole vendor configs here)
* Without CodeAurora's modifications in frameworks/av, the vendor suffixed
media codecs configs are not parsed at all. Move select vendor additions
into the main files in order to enumerate support for hardware-backed
HEVC encoder.
/dev/cpu_dma_latency accepts values in either s32 or hex format,
so convert 67 (dec) to 43 (hex).
sdm845-common comment:
I assume Google meant to set cpu dma latency to 44 in decimal
rather than hex because 44 is the lowest valid latency value for
C3 LPM state, according to qcom,latency-us in sdm845-pm.dtsi.
The pm qos request is only active when the fd is kept open, so
the dummy value of 100 does not really matter. Keep it as is.
Test: hexdump -C /dev/cpu_dma_latency
00000000 2c 00 00 00 |,...|
00000004
Test: kernel pr_err() in pm_qos_power_write() before
pm_qos_update_request()
Inspired by Artem's commit "qos: Workaround for faulty libperfmgr
config".
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
These are critical for display performance and should not be balanced
in order to improve latency and responsiveness.
Change-Id: I811699d0181427de21830c4ccbaf520ecea9e91a
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Our blobs are compiled against libprotobuf-full-cpp.so, but
starting in R, Android is using a versioned naming approach,
e.g. libprotobuf-cpp-full-3.9.1.so.
See https://r.android.com/1109518
The entry in public.libraries.txt is needed to allow the
linker to find and use the lib outside the VNDK.
See https://source.android.com/devices/tech/config/namespaces_libraries
[wight554: added libprotobuf-cpp-lite as well]
GiaSen: some alphabetical order
Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
Change-Id: I28222c89e1e07017867088492a726ee9d45d8e6f
Signed-off-by: DennySPb <dennyspb@gmail.com>
* 5s is just too much long plus battery drainer
Signed-off-by: DennySPB <dennyspb@gmail.com>
Change-Id: I7e037c45cd2296a8bbd67d6bd63c212c0ef2a805
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
* also revert 56f6504f61, eb7a690439, d5cb550169
* in the favour of power-libperfmgr
* also nuke all sepolicies for now
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
* Improves memory performance and decreases power consumption
in our test cases.
Change-Id: Iee64596a61cf1dfb0698417b61b658f9cc7aaa52
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Matches stock Qualcomm configuration and improves performance.
OnePlus disables this because of their framework features, which
we do not have.
Change-Id: I2b6e8c9ed59415bc7841bf244bd3dd9b5633088c
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
* Sadly, out-of-the-box Miracast support was killed in P, so
we need this to keep Wi-Fi display feature working.
Change-Id: Ieff24313d55a60ca1898430113f0a8b00acfc6a0