Check for whether the display hint has been sent at the start
of the set_interactive() function in the common powerHAL.
This gets rid of the need to replicate the same variable in
every target-specific powerHAL that implements the
set_interactive_override() function.
Change-Id: If7dd11fcb578211f4f83847f9257232c4138ce53
Currently, get_soc_id() is queried on every SOC ID check in the
SDM660, MSM8916, MSM8952, MSM8953 and MSM8974-family HALs.
This results in extraneous file operations on every SOC ID check.
Cache the result of get_soc_id() during the first query to
reduce the number of file operations being made.
This also brings back the behaviour in LineageOS 15.1 when the
HALs were still stored in device/qcom/common.
Change-Id: Ic17dbf12e7f9ecdb47b73a580f467df9ad630aa0
- Get soc_id in a common util function
- Return boolean values for the target-specific soc_id checks
Change-Id: I038c435d28855859f36566de7acf881037d070f2
Bug: 30432975
Test: compile power hal for walleye without warnings
Change-Id: I0d90c26462c662690f8a179250000b9a449a109f
Signed-off-by: Arian <arian.kulmer@web.de>
* Using AOSP interface .clang-format
* Clean Android.mk while we are at it
Change-Id: I630f72e3dffb676ca1930e72945e897f62103ada
Signed-off-by: Arian <arian.kulmer@web.de>
* These were part of the commit that added mutex locks
for camera hints. We have now removed the locks so
this is no longer necessary
Change-Id: I38b91ce4e8fc811b8d9a04e6ec20521adde1b264
* The usage of this code was removed in commit
0c226b7921b421dd24363f15aefef1236aa25287
* powerhint.xml is now read by libqti-perfd
Change-Id: I498ad19d0bb43124e4518c5a4f20191a2c122997
* Latest power-8952.c is used for msm8937 with mpctl V3.
Rename the file to reflect msm8952 is no longer supported.
Change-Id: Iccd2a3c0abed2ef10d5f6c2182c0509a2fbe611d
Using this hook, any device should be able to reuse the majority of the
powerhal and fork only power-<platform>.c if they feel that they need
the ability to provide more specific tuning of the hints/etc. for
their device.
Change-Id: I013a3ec3ddccbe6f74f3dacf456cc6e8b3ab3430
"LA.UM.9.12.r1-16200-SMxx50.QSSI12.0"
* tag 'LA.UM.9.12.r1-16200-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/power:
power: Modify powerhint for encode case
power: Enable powerhint for khaje
Power: Specify stable AIDL version number
Power:Changes made for Bengal powerhint.xml
Power: Correcting target name in powerhint.xml
Power : Clean up of opcodes in powerhints
power: add check for shared pointer
Kona Powerhint: Change the VR hints
qvr powerhints
Power: update powerhint for Single rank DDR
Power : Modified make file to include Trinket
Power : AIDL support for Trinket
power: update power hint data for lagoon
Power: Tuned scheduler for 480FPS use-case
Power : Modified make file to include Bengal
power: update power hint data for lagoon
Power: Updating camera settings
Power: Updating camera settings
power : Modified make file to include Talos
power: Add supported modes
power: Add supported modes
power: Added copyrights info in xml.
power: conversion from hidl to aidl.
power: Added copyrights info in xml
Power: Up/down scheduler Tuning for 480FPS use-case
power : opcode for sample_ms
Conflicts:
Android.mk
Power.cpp
power-vendor-product.mk
power.xml
Change-Id: Ic5b9e4380c940cacf06183b3613a60e2b3404d6f
"LA.UM.9.14.r1-22900.01-LAHAINA.QSSI14.0"
* tag 'LA.UM.9.14.r1-22900.01-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/power:
power: Modify powerhint for Camera cases
Holi: Powerhint changes to meet camera FPS
Blair: Powerhint changes to meet camera FPS
Power : Adding blair target hints in powerhint.xml
Power : Add power tuning for sHDR encode use case
Power : Adding powerhint.xml for blair target
Power : Add power tuning for sHDR encode use case
power: update powerhint for yupik
power: Update powerhint for yupik
Power: Modify powerhint for cedros
power: add check for shared pointer
Revert "power: Add supported modes"
power: Add supported modes
Revert "power : Modified make file to include Lahaina"
power : Modified make file to include Lahaina Addition of powerhint.xml for the product Lahaina
Change-Id: I2fabc727559f68765986e5480a6f075ed67d81bd
"LA.VENDOR.1.0.r1-23800-WAIPIO.QSSI14.0"
* tag 'LA.VENDOR.1.0.r1-23800-WAIPIO.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/power:
power: Replace library name with ndk from ndk_platform for upgrade sdk version
Power: Modifying powerhint.xml for Halliday target
power: adjust powerhint for halliday
power: added power hint for sHDR case to support parrot and ravelin
power: modify tunings for camera close hint
Power : Add power tuning for sHDR encode use case
Power: Modifying powerhint.xml for Halliday Target
Powerhint file for Ravelin
Power: tuning of 30fps use case
power: modified powerhint file for ravelin
Power : Set minCpu freq for preview to meet FPS
Power: Adding powerhint.xml for Halliday target
power: updated power for ravelin
power: improve silver capped freq for taro
Power: tuning of snapshot, 30fps and ZSL use cases
power : revised tunings for parrot
power: update power hint for ukee.
power: add powerhint for video decode 30 fps secure/non-secure tunning
power: Add support for EXPENSIVE_RENDERING
Power : Modify powerhint file for tofino target
power: tuning of camera open and close
Power : Modify powerhint file for parrot target
power : Modify powerhint file for parrot target
power : Modify powerhint file for parrot target
power: added powerhint.xml for neo target
Revert "Power:Replace library name from ndk_platform to ndk"
power : add powerhint file for parrot target
Revert "Power : Add tunings for 240FPS decode cases."
Power : Add tunings for 240FPS decode cases.
Revert "Power: Update powerhint with CPU,Bus DCVS settings"
Revert "[Waipio] Update CPU and DDR settimgs for camera cases"
[Waipio] Update CPU and DDR settimgs for camera cases
Power: Update powerhint with CPU,Bus DCVS settings
Power: Add powerhint.xml for waipio
Specify stable AIDL version number.
Conflicts:
Android.mk
Power.cpp
power-common.c
power-common.h
power-vendor-product.mk
Change-Id: Ide4d0b357670adaec4ce47b13dee0e393b8c08b4
Using only v3 powerhal version for this branch
Change-Id: Iab9bc8c83bb2f052309791aa9f76a8676bddbfd1
Signed-off-by: Vinay Rijhwani <quic_vrijhwan@quicinc.com>
Replace library name with suffix ndk from ndk_platform for upgrade sdk version
Change-Id: If9f07dd855bf5b13806a8c80036c49c2c2df8f51
Signed-off-by: Vinay Rijhwani <quic_vrijhwan@quicinc.com>