Commit Graph

17 Commits

Author SHA1 Message Date
f6df761250 Merge sm6250-common into miatoll
Change-Id: I870ee30f1c9b8e612ec4acf1e33654ec2f6eb9fd
2022-11-17 19:14:57 +00:00
3f88f5b3e9 sm6250-common: powerhint: Refine for reduced power consumption
Tune powerhint.json using freqbench results [1]. Instead of increasing
SchedTune boost, just boost big cluster to 825 MHz on interaction as
it's the most efficient frequency. Replace 1248 MHz with a more efficient
1324 Mhz frequency step.

[1] https://github.com/kdrag0n/freqbench/tree/96d72eac/results/sm7125/main

Change-Id: I6655484527feecc3e0c815ddab3be319643cd92c
2022-09-06 17:16:04 +00:00
b14576f34f sm6250-common: powerhint: Remove TASchedtuneHighCap
It hasn't been added to the new kernel for simplicity.

Change-Id: I82b0851345c57372a497ff64d2f81c5579e92662
2022-09-06 16:41:19 +00:00
546dbf87aa Revert "sm6250-common: Drop all component overrides"
This reverts commit af1d6e3d70.

It's still needed for AOSP BT stack, only HidDeviceService is
enabled by default.

Change-Id: Iff7880f8301e0b3d343786607881eec0326b5fcf
2022-08-25 17:32:42 +00:00
af1d6e3d70 sm6250-common: Drop all component overrides
* Qualcomm no longer disables these for targets
   that support RRO, e.g. all QSSI targets.

Change-Id: I0372817623e8d0e58926fbfb519671c3caa07b86
2022-08-17 07:58:10 +00:00
bd6d8f6542 sm6250-common: Import excluded-input-devices.xml
* From curtana-user 11 RKQ1.200826.002 V12.0.5.0.RJWINXM release-keys

Change-Id: Iacecd13232e064e95e6bb3470763d12d10f4a0a3
2021-09-09 18:46:31 +02:00
46df85c08a sm6250-common: Changes for Pixel thermal HAL
Change-Id: Id5e4ec3e15f047a6ffd84af34dd9943fa70f7554
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
2021-09-09 18:46:29 +02:00
b0d272f935 sm6250-common: powerhint: Avoid boosting to max freq
The maximum frequency isn't effective from power consumption terms on
both clusters [1]. Replace maximum frequencies with lower ones to save some power.

[1] https://github.com/kdrag0n/freqbench/tree/96d72eac/results/sm7125/main

Change-Id: I6336bfce0dae8f578704c0bd9644c2829389762f
2021-09-09 18:46:25 +02:00
38ab3fe971 sm6250-common: powerhint: Lower schedtune boost
Current value seems too aggressive. Reduce it by half.

Change-Id: I15104852ae49a4beb6e51d0d72bb61ea1af2c462
2021-09-09 18:46:25 +02:00
1fcfac2e39 sm6250-common: powerhint: Adapt for atoll
Change-Id: If9c6a7a93044ecfd535c1942f24447c019443edd
2021-09-09 18:46:25 +02:00
03c4e952a4 sm6250-common: powerhint: Remove EnergyAware node
* Google removed this node in redbull.

Change-Id: Iaba137fdb02dddfad7815b7cb3a0701962a06832
2021-09-09 18:46:25 +02:00
899c6d2994 sm6250-common: powerhint: Remove unused parts
Change-Id: I1448516636befbb7080067d3a2dbfc12874c3d6a
2021-09-09 18:46:24 +02:00
567b683d8d sm6250-common: powerhint: Remove Google-specific camera hints
Change-Id: I999e9d4f342f2202a87e92a7289c1dae48c565d0
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
2021-09-09 18:46:24 +02:00
0e84b1766f sm6250-common: powerhint: Don't restrict CPU idle levels
The difference in wakeup latencies isn't so significant, let CPU cores enter
deeper idle states to save some power.

Change-Id: I9b24adc356bf35bbdc0bda6e0eee982b4daf1350
2021-09-09 18:46:24 +02:00
a41b14b1bd sm6250-common: Import powerhint.json
* From sunfish-user 11 RQ3A.210705.001 7380771 release-keys

Change-Id: I09399706d007a0e3de89945bd9fe269bd7fa78e3
2021-09-09 18:46:24 +02:00
8b18ceac19 sm6250-common: Use component-override to configure Bluetooth
Runtime Resource Overlays (RROs) can no longer change the value of
resources in manifest when read during PackagerParser.

This change uses component-override to enable the service by default.

Remove usages of profile_supported_* from overlays as they no
longer configure the enable state of Bluetooth components.

Bug: 135048762
Test: adb shell pm query-services \
      com.android.bluetooth/.avrcpcontroller.AvrcpControllerService
      adb shell pm query-services \
      com.android.bluetooth/.hid.HidDeviceService
      adb shell pm query-services \
      com.android.bluetooth/.sap.SapService

Change-Id: I284d254a921b14d1533745611a083f4b5a27d9dc
2021-09-09 18:46:17 +02:00
b5b68cdf68 miatoll: Add thermal configs
Change-Id: I877ce6812ce90e386b88c3b348d4a54681c79101
2021-08-30 06:27:08 +02:00