Commit graph

299 commits

Author SHA1 Message Date
Android Build Coastguard Worker
1478c41e0c Snap for 11892579 from 3ac2dc0002 to 25D4-release
Change-Id: Ief948d9ec777aad2990c44b369c5aeae0a40eb1e
2024-05-27 23:03:28 +00:00
Treehugger Robot
3ac2dc0002 Merge "display: tegu: don't apply overlay in low light" into main 2024-05-27 02:30:10 +00:00
Android Build Coastguard Worker
0f26cec09d Snap for 11889377 from a780b504b1 to 25D4-release
Change-Id: I13a9e47bb540f021a1e1d0a5c7da19115430a517
2024-05-25 03:03:28 +00:00
Sam Ou
a780b504b1 Merge "thermal: tegu: Remove BCL related thermal zone" into main 2024-05-24 09:16:02 +00:00
Treehugger Robot
1531f4df80 Merge changes from topic "sync_camera_powerhint" into main
* changes:
  [Camera] Change PMU max frequency for CL2 to 1164MHz
  Enable PMU during photo capture
  Disable CDPreferIdle, set DSUMin to 610MHz for 60fps
  Increase SPC thresholds for 60fps
  Increase SPC threshold for little and mid cores for CAMERA_STREAMING_STANDARD
  Increase TAUClampBoost during capture to reduce latency
  Thermal Boost for severe thermal state
  Powerhint: Enable big core reduction feature and CDPreferIdle, limit CPUset to 0-6, optimize MIF clock frequency
2024-05-24 09:06:45 +00:00
Cathy Hsu
727623e519 Merge "display: update ssc_en permission" into main 2024-05-24 08:51:56 +00:00
samou
bd9bbb5288 thermal: tegu: Remove BCL related thermal zone
Bug: 342504477
Change-Id: I8da3a8b1ae6fee59b8e03fddc5f2bdca2c080a8b
Signed-off-by: samou <samou@google.com>
2024-05-24 08:03:35 +00:00
Pointer Kung
79263305ab [Camera] Change PMU max frequency for CL2 to 1164MHz
sync from ag/27327800 and ag/27350615

Bug: 342502377
Test: GCA
Change-Id: I21162cd593db199a25fa527d4a1879b3f4ea694b
2024-05-24 04:11:03 +00:00
Pointer Kung
1f3c427641 Enable PMU during photo capture
This CL enables PMU feature during photo capture. With the new settings, we can achieve up to 120ms saving in capture latency, while paying a penalty of 60mW. However, even with the added power, we are still below the F10 numbers (go/f10-camera-power-gtw).

Refer to ag/27238472 and ag/27255676

Bug: 342502377
Test: GCA photo capture
Change-Id: Iefe755e64e2e5bd6858f13adb4be7533c6b3e611
2024-05-24 04:00:08 +00:00
Pointer Kung
0efca5ac37 Disable CDPreferIdle, set DSUMin to 610MHz for 60fps
With MulticamRoutingNode on RT, the performance is no longer impacted by
having CDPreferIdle disabled. Additionally, this CL reduces DSUMin to
610MHz, saving overall up to 50mW in CPU power.

Refer to ag/27091363 and ag/27105186

Bug: 342502377
Test: Build pass
Change-Id: I49c8a5aad237c76582388545ff83d44d440d84a0
2024-05-24 03:52:17 +00:00
Pointer Kung
efae9635e1 Increase SPC thresholds for 60fps
This CL increase SPC threshold for little core to 55, and for mid core
to 32. Tests show that in a loaded scenario, framedrop rate can reduce
to almost zero, while not impacting the power in the unloaded (baseline)
scenario.

Refer to ag/27032799 and ag/27078536

Bug: 342502377
Test: Build pass
Change-Id: I9c50b58483cb5262c3550cb45907cbe522eb4e5a
2024-05-24 03:46:57 +00:00
Pointer Kung
f5e293b0e4 Increase SPC threshold for little and mid cores for CAMERA_STREAMING_STANDARD
SPC threshold is too low for both Little and Mid cores. This CL increases this
threshold to 55 for Little Core and to 30 for Mid core.
Test results show lower framedrop rate in presence of background load,
without having a negative impact on the power.

Refer to ag/26943567 and ag/27018139

Bug: 342502377
Test: Build pass
Change-Id: I593b9ca4f85e844ebacdb8606147d51c9d8926da
2024-05-24 03:42:13 +00:00
Pointer Kung
0b68622936 Increase TAUClampBoost during capture to reduce latency
Refer to ag/26943660 and ag/27007128

Bug: 342502377
Test: Build pass
Change-Id: I16bfd29cad1829ed74b6946e02b2bbb573037b51
2024-05-24 03:35:24 +00:00
Pointer Kung
cc8c9de464 Thermal Boost for severe thermal state
Refer to ag/26566748 and ag/26898080

Bug: 342502377
Test: Build pass
Change-Id: Icc5c6eb7963e7e9a26140738e068d556ca008bb9
2024-05-24 03:31:05 +00:00
Pointer Kung
7b1c1b2326 Powerhint: Enable big core reduction feature and CDPreferIdle, limit CPUset to 0-6, optimize MIF clock frequency
CAMERA_STREAMING_HIGH:
CPUSkipMask to 0x80
MemFreq to 1539000
Enable CDPreferIdle
CDCpuset to 0-6

CAMERA_STREAMING_STANDARD:
CPUSkipMask to 0x80
TAPreferIdle to 0
Enable CDPreferIdle
CDCpuset to 0-6

Refer to ag/26718992, ag/26787527 and ag/26710529

Bug: 342502377
Test: Build pass
Change-Id: Id1ba596588bf51c3847c0c5a9f9d72adc8888f19
2024-05-24 03:22:23 +00:00
Android Build Coastguard Worker
ad8de595d2 Snap for 11881322 from 0d6bb5c71d to 25D4-release
Change-Id: Ic3605bdf0c5faa007c526399e9be72190356837a
2024-05-23 23:03:46 +00:00
Xin Li
0d6bb5c71d [automerger skipped] Merge Android 24Q2 Release (ab/11526283) to aosp-main-future am: 864a02b998 -s ours
am skip reason: Merged-In Ifbd01aeaa18ce32fc5613c78170a6d39ae9024b4 with SHA-1 83c4993aa5 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/tegu/+/27273663

Change-Id: Ie4cf8ebd5666b50e4ca19036ee29d8bb2981090e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-22 23:40:57 +00:00
Cathy Hsu
25ce5a9c08 display: update ssc_en permission
Bug: 316357878
Test: Dump ddic commands of "echo 1 > /sys/class/backlight/panel0-backlight/ssc_en"
Change-Id: Iedbcc92562e06bc7a833a9a2884a13800f7a0d37
Signed-off-by: Cathy Hsu <cathsu@google.com>
2024-05-22 07:08:16 +00:00
Android Build Coastguard Worker
ed5b83ceb0 Snap for 11869550 from 193441806e to 25D4-release
Change-Id: I8592c77b26138c963c681f415c8e1c7c3f1d67ee
2024-05-21 23:04:37 +00:00
Peter (YM)
193441806e Merge "thermal: init WLC themral throttle" into main 2024-05-21 02:36:50 +00:00
Android Build Coastguard Worker
8eccda0674 Snap for 11865903 from 5cd0d7934f to 25D4-release
Change-Id: Ife17c8e2b3acb00307092eeb10337e0179805aaf
2024-05-21 01:03:59 +00:00
Peter (YM)
1ef4072ac6 thermal: init WLC themral throttle
- Init vskin-wlc v1
- init wlc thermal throttle with last generation algorithm

Bug: 341236825
Test: Build and boot to home
Change-Id: Iac66f0a13d94bf1e94744f7954775f0a91cbde0b
Signed-off-by: Peter (YM) <peterym@google.com>
2024-05-20 23:28:42 +00:00
Ravi Jain
5cd0d7934f Merge "Vibrator: Set Soong Config variable - kernel_ver" into main 2024-05-20 11:00:39 +00:00
Ravi Jain
9501f4c2b9 Vibrator: Set Soong Config variable - kernel_ver
Bug: 340148508
Test: Build and check fw files in all devices.
Change-Id: I9282369332140d7ffdea42be2fcceabe3000acc0
2024-05-20 06:52:23 +00:00
Android Build Coastguard Worker
20dd5c126e Snap for 11853759 from 0725c98f6e to 25D4-release
Change-Id: I46eca9de8c1137a0cf254d68ecf61ebb5ac5b5a1
2024-05-17 01:03:49 +00:00
Kah Xuan Lim
0725c98f6e Merge "Disable Dex preoptimization" into main 2024-05-16 08:23:28 +00:00
Kah Xuan Lim
6c52094291 Disable Dex preoptimization
When building with dexpreopt, the odex complains about not being able to find certain system server jars.

```
FAILED: ninja: 'out/soong/system_server_dexjars/modemml-tflite-service.jar', needed by 'out/soong/.intermediates/packages/modules/AdServices/adservices/service/service-adservices/android_common_apex33/e18b8e8d84cb9f664aa09a397b08c165/dexpreopt/service-adservices/oat/arm64/javalib.odex', missing and no known rule to make it
03:32:32 ninja failed with: exit status 1
```

Flag: build.WITH_DEXPREOPT
Bug: 339345077
Change-Id: Ic2900b4077e2311b6cbcd4a56365b36ba60c455f
2024-05-16 07:37:00 +00:00
Treehugger Robot
ae076a64bf Merge "wifi: Update wifi overlay config" into main 2024-05-16 05:28:36 +00:00
Treehugger Robot
629a1d9b66 Merge "audio: update mixer table" into main 2024-05-16 04:14:42 +00:00
Rios Kao
543dc88e0d Merge "audio: Phase in audio_policy_volume.xml in TG4" into main 2024-05-16 02:19:44 +00:00
Android Build Coastguard Worker
db83c1ae11 Snap for 11847460 from 5ba098bee4 to 25D4-release
Change-Id: I854d3ae1a82e5f7035c6a1b8b054ef75e503381f
2024-05-16 01:05:05 +00:00
Hsiu-Chang Chen
67784ac19c wifi: Update wifi overlay config
Bug: 340864926
Test: Build pass
Change-Id: I4dc98649d9374d1715ee5f8aadf4b86e5ba37344
2024-05-15 23:37:25 +08:00
David Li
ea61fc0c9b audio: Phase in audio_policy_volume.xml in TG4
I put TG4  audio_policy_volume.xml in the attached file.

1. This table all number follow AK3 parameters.
Just use TG4 format.
It will be a good start for TG4 to align AK3.
2. This  audio_policy_volume.xml internal name: audio_policy_volumes(TG4_EVT_1).xml

Files from the latest attachment on b/340373394

Bug: 340373394
Test: verified by supery@
Change-Id: Ifd788a00964117b6eee3289cf136c319efd0eaad
2024-05-15 19:51:43 +08:00
Robin Peng
5ba098bee4 Amend the KERNEL_DIR to the prefered name
Bug: 337163126
Change-Id: If9f3445c871eb9965ab58fb245b313cb32003e4a
2024-05-15 07:35:57 +00:00
Android Build Coastguard Worker
4a00105ef3 Snap for 11840282 from 76ddc30e96 to 25D4-release
Change-Id: Iee37495e702f71b68b0e4da19228e9830c40c20c
2024-05-14 23:04:03 +00:00
Cindy Chung
76ddc30e96 Merge "display: Set ro.surface_flinger.ignore_hdr_camera_layers" into main 2024-05-14 06:25:09 +00:00
Android Build Coastguard Worker
be42095e91 Snap for 11830124 from ea642c51c7 to 25D4-release
Change-Id: Id74ef1543f4aa6dc8fb42843b593d26c3a01acc0
2024-05-11 03:04:05 +00:00
Taeju Park
ea642c51c7 powerhint: add PMU_FORCE_LIMIT control knob am: 6d0a2a2851
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tegu/+/27240564

Change-Id: I22ce6f7431a6243c1309e56ac66d7d5ee6ed27f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-10 19:21:08 +00:00
Treehugger Robot
ee1e2de6d7 Merge "tegu: align buildin microphone value for master" into main 2024-05-10 02:22:46 +00:00
Android Build Coastguard Worker
e568716ba8 Snap for 11821542 from 36ca057ab7 to 25D4-release
Change-Id: I755d5bbebac2ae112124bb045e0b5a5d783d3ca3
2024-05-09 23:04:00 +00:00
Peter (YM)
36ca057ab7 thermal: Align PARTIAL_SYSTEM_POWER rails
Test: Build and verify offmode charge no thermalhal crash
Bug: 332417716
Change-Id: I7735336ed5282457af8f134c065c01f8022813c8
Signed-off-by: Peter (YM) <peterym@google.com>
2024-05-09 03:40:48 +00:00
Peter (YM)
d8e30d91db Merge "thermal: update thermal config" into main 2024-05-09 03:39:48 +00:00
Peter (YM)
605307f729 thermal: update thermal config
Algin with latest device setting

1. Update cdevceiling and hardlimit with frequency
2. Update TPU thermal throttle policy
3. Release thermal throttle in camera and game mode

Bug: 317750833
Test: Build and flash on device
Change-Id: If51183f72822febb3b3cf0cac33d03b33a4fb270
Signed-off-by: Peter (YM) <peterym@google.com>
2024-05-09 03:38:32 +00:00
Android Build Coastguard Worker
1f30502713 Snap for 11816224 from 8e91379258 to 25D4-release
Change-Id: Ib4bf03e0064dbbe046c6be20bc0e9da884c2db22
2024-05-08 23:03:57 +00:00
Robin Peng
8e91379258 Switch bootloader and radio directory to control by build flag
Bug: 337163126
Change-Id: I6f5ac5657b4b61b0cdef171181b26183b6b68633
2024-05-08 07:23:13 +00:00
Robin Peng
0c44a3a4f2 Switch kernel directory to control by build flag
Bug: 337161745
Change-Id: I7ea8421a2322f55861b920208df288e80e42c31c
2024-05-08 07:22:59 +00:00
Rios Kao
6f5bea436a tegu: align buildin microphone value for master
note: AOC changes the pdm list to align the value
     to different platform.
Test: build pass
Bug: 330632172
Change-Id: Ifc259aa6d2c82476fee9c1dcfbfb1fd291505fd0
2024-05-08 05:47:04 +00:00
Shin-Yu Wang
bda4605c5b Merge "display: tg4b: use default adaptive brightness table" into main 2024-05-08 02:04:11 +00:00
Taeju Park
6d0a2a2851 powerhint: add PMU_FORCE_LIMIT control knob
Bug: 335331630
Change-Id: I779d912c34d44b0afdc5e0ab9107dd6acfc268eb
Signed-off-by: Taeju Park <taeju@google.com>
2024-05-07 00:52:18 +00:00
Xin Li
864a02b998 Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: Ifbd01aeaa18ce32fc5613c78170a6d39ae9024b4
Change-Id: Ib7e68ff9eace48b9278005a762136076458ac5ec
2024-05-06 12:09:17 -07:00