Commit Graph

11 Commits

Author SHA1 Message Date
Zhao Wei Liew
7ff6620596 power: Simplify soc_id checks
- Get soc_id in a common util function
 - Return boolean values for the target-specific soc_id checks

Change-Id: I038c435d28855859f36566de7acf881037d070f2
2023-10-29 22:13:01 +00:00
Michael Bestas
b3a670611c power: Introduce is_schedutil_governor
Change-Id: Ie3cfd0cb11b368cd9399a6dcea6b6cfa1f4d7916
2023-10-29 22:13:01 +00:00
Ethan Chen
48bfafcf39 power: Use log/log.h instead of utils/Log.h
Change-Id: I827c7f5ab27548eec8d6e4ee27a72fa883025002
2023-10-29 22:13:01 +00:00
Michael Bestas
0b6459f08e power: clang-format
* Using AOSP interface .clang-format
* Clean Android.mk while we are at it

Change-Id: I630f72e3dffb676ca1930e72945e897f62103ada
Signed-off-by: Arian <arian.kulmer@web.de>
2023-10-29 22:13:01 +00:00
Paul Keith
0c54d07956 power: Fix a few compiler warnings
* And unify styling a little bit

Change-Id: I7f9bb43a534e352fdd7693ff975749864f8addb3
2023-10-29 22:13:01 +00:00
Jun Wang
a76131a3c1 power: Add property check for EXPENSIVE_RENDERING
Detect the support status of EXPENSIVE_RENDERING mode based on the
vendor property, which can be configured per target.

Change-Id: I39ed53f5df506bb8b7a714138d35e5b29bcfa4a5
CRs-Fixed: 3364809
2022-12-15 17:18:48 +08:00
Divya Verma
fe6e6b5169 [Power] : Changes to resolve compiler warnings
Resolving compiler warnings

Change-Id: If4bde7e7b17d7ec3bd2fd57945662163e4171d82
2021-11-01 00:04:55 -07:00
Ananth Raghavan Subramanian
2731f95e03 power: Modify definitions of Perf client calls
Now conforms to the exact definition in the shared perf library

Change-Id: I6f92140b42800072283c2f3a52e6814fc0f1d5d2
2019-05-28 11:47:11 -07:00
Ananth Raghavan Subramanian
561cffcbfa Clean up code and add generic hint handling
Removed unused code and added generic hint handling to power.c file,
does not need to be device specific anymore.

Change-Id: I0d4e2a73de0ce4d3735314d2e49ba58c23eb313c
2018-12-18 17:04:32 -08:00
Vinay Verma
2fd9c12756 power: Fix VNDK Compilation Errors
VNDK restrictions doesn't includes standard headers by
default, add them explicitly.

Change-Id: I4c72a28ffa141ecadcfe47cc7c1f62f2a0c8576e
2018-06-04 15:11:47 -07:00
David Ng
ee7c4c5831 Relocate power HAL from device/qcom/common
Split module from combined device/qcom/common project into its
own project.

Relocation of some files from device/qcom/common at
b5ce80cb1f60759a142a9338104d3adf3303ec0c.

Change-Id: I6c13729a822f6fb9b5574b759ae9ec12154be464
2018-05-24 00:32:16 -07:00