Commit Graph

8 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
Michael Bestas
4a5a366f21 power: Avoid interaction build errors
Change-Id: I77942f23a9c617abac1a8533cfc1fd7bfa7f66e8
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
Michael Bestas
37e4bc88e6 power: Remove leftover support for ondemand governor
Change-Id: Id4c2aa5efa7101535a7311e34529e0b90c7491f1
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
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