Commit graph

1522 commits

Author SHA1 Message Date
Zorah Chen
0495e5cffe Merge "Powerhint tuning for photo capture" into main 2024-07-12 05:54:56 +00:00
zorahchen
d68bded2d6 Powerhint tuning for photo capture
UClamp.min of all threads in top app is set to mid core max capacity during photo capture, which will dispatch them to big core.
Critical threads of photo capture will be interrupted due to their lower priority, while other cores idle.

To deal with this situation,
prefer_idle mask to big/mid cores can reduce the idle in mid cores.
UClamp.min on nice can set UClamp.min of photo capture critical threads to mid core max capacity, while others as zero,
this can make critical threads run on big core without frequently interrupted.
By applying this, photo capture latency can be reduced with slight change of power consumption.

Bug:345601796
Performance Test:https://g3doc.corp.google.com/wireless/android/camera/camera_performance_analyzer/power_tuning/results/g3doc/pmu_retune_capture_enhanced/index.md?cl=alikz/1010
Kibble Power Test:https://g3doc.corp.google.com/wireless/android/camera/camera_performance_analyzer/power_tuning/results/g3doc/pmu_kibble_capture_rt_enhanced/index.md?cl=alikz/1044
Flag: NONE powerhint change does not support flags
Change-Id: I8683b50b212d50b85b22b5cb48d712fc8eb43444
2024-07-12 02:03:49 +00:00
Yuchen Sun
82f05a5baa Changed png to final version.
Bug: 351392115
Test: visual
Change-Id: I1307429ea089422b6a417bd19f617f191fd4756b
2024-07-11 05:50:14 +00:00
Yuchen Sun
fc56102b50 Merge "Fixxed the picture size." into main 2024-07-11 04:41:47 +00:00
Yuchen Sun
a925c9b973 Fixxed the picture size.
Bug: 351392115
Flag: stanza
Change-Id: Ie72681585011910146b1c5ffdef4b5e43f3896df
2024-07-11 03:02:24 +00:00
David Lin
703643b34b [automerger skipped] Merge "Display: disable NS mode and allow BTS follow operation rate" into 24D1-dev am: 0eb5aa3696 -s ours
am skip reason: Merged-In I992914b7e0c0911d44a9d263dbb4839814f15b12 with SHA-1 58a1edecf2 is already in history

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

Change-Id: Ic54a0a2230373d8d5f8a89e114188ede249da336
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-11 01:26:23 +00:00
Chris Lu
04afcb9256 [automerger skipped] Display: disable NS mode and allow BTS follow operation rate am: 4ff1f70084 -s ours
am skip reason: Merged-In I992914b7e0c0911d44a9d263dbb4839814f15b12 with SHA-1 58a1edecf2 is already in history

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

Change-Id: I68b62e5786f638705cc9a3da6b0eb5190593e1ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-11 01:26:19 +00:00
David Lin
ee163fa1fa Merge "Increase SPC thresholds based on the field data" into 24D1-dev am: 44ff7d958a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/28174403

Change-Id: Ie37e3d25d463f91e2bb03914adba4cc87e47a851
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-11 01:25:49 +00:00
David Lin
0eb5aa3696 Merge "Display: disable NS mode and allow BTS follow operation rate" into 24D1-dev 2024-07-11 01:07:57 +00:00
David Lin
44ff7d958a Merge "Increase SPC thresholds based on the field data" into 24D1-dev 2024-07-11 01:05:55 +00:00
Ali K. Zadeh
7c81eff0a1 Increase SPC thresholds based on the field data
Bug: 350111391
Test: Kibbles/Framedrops https://docs.google.com/document/d/1QvryQvAj_hjSjouG7P6MD1HwVB0n46GZNvmZgz6uQ9M/edit?resourcekey=0-rexjumgYT6SqyTbb0OvOEg&tab=t.0
Test: https://docs.google.com/spreadsheets/d/1e1pm7N1GBfYHU9tvG3gx9Z84tVYCokDlpSnHF2wlbbA/edit?gid=0#gid=0
Flag: EXEMPT bugfix

Change-Id: Iad09beafc595e89d86131b00a3a221af0688eb7a
2024-07-10 16:19:27 +00:00
Robin Peng
9295ecf95a Merge "Update SVN to 3" into 24D1-dev am: b5df65a094
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/28189571

Change-Id: I9ac8c54ec450f3537bd4b7d8c638508d7e4a2a83
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-10 09:23:30 +00:00
Robin Peng
b5df65a094 Merge "Update SVN to 3" into 24D1-dev 2024-07-10 09:08:37 +00:00
James Eidson
8e23eb48d4 Merge "[uwb] Support multicast list update ntf v2 on komodo and caiman" into main 2024-07-09 16:19:33 +00:00
Koli Lin
c7581269cf add device id
Test: manual
Bug: 316248308
Flag: EXEMPT prop value only update

Change-Id: I9016a8c44fceabd992d01b0ef322763a5137f902
2024-07-09 08:00:39 +00:00
Ali K. Zadeh
94a371ae50 Increase SPC thresholds based on the field data
Bug: 350111391
Test: Kibbles/Framedrops https://docs.google.com/document/d/1QvryQvAj_hjSjouG7P6MD1HwVB0n46GZNvmZgz6uQ9M/edit?resourcekey=0-rexjumgYT6SqyTbb0OvOEg&tab=t.0
Test: https://docs.google.com/spreadsheets/d/1e1pm7N1GBfYHU9tvG3gx9Z84tVYCokDlpSnHF2wlbbA/edit?gid=0#gid=0

Change-Id: Iad09beafc595e89d86131b00a3a221af0688eb7a
2024-07-08 23:47:22 +00:00
James Eidson
d807e78731 [uwb] Support multicast list update ntf v2 on komodo and caiman
Bug: 350781526
Test: atest CtsUwbTestCases:android.uwb.cts.UwbManagerTest#testFiraRangingSessionAddRemoveControlee
Flag: EXEMPT resource only update
Change-Id: I5c19c9fad87926473042349e2a6dc8930c23948f
2024-07-08 17:36:55 +00:00
Robin Peng
b6a966e0ae Update SVN to 3
Bug: 350826665
Change-Id: I89a9733fdacfc6eef3f6bcb19cc4c0cb1bcc186c
2024-07-05 01:02:54 +00:00
Binyi Wu
bcf41e85e2 Regulation e-label for TK4 GUR25 VN am: a2651611be
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/28186524

Change-Id: I351657216556ab8d70e0d4161ab03e9b1d261c26
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-05 01:01:34 +00:00
Binyi Wu
a2651611be Regulation e-label for TK4 GUR25 VN
Bug: 318613060
Flag: EXAMPT image only
Test: Visual
Change-Id: Ifd2eb0c519f9d5e384922d18118976321b84263e
2024-07-04 14:37:36 +00:00
Lynn Yeh
c4d4d1f376 Merge "Update SVN to 2" into 24D1-dev am: 7b18a3fa84
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/28157898

Change-Id: Ieb4714dd23cba11c1cd3778120704262891114ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-03 08:01:54 +00:00
Lynn Yeh
7b18a3fa84 Merge "Update SVN to 2" into 24D1-dev 2024-07-03 07:37:05 +00:00
Scott Chen
54b8ec4ff5 Merge "powerhint: set valid PMU_BIG_SPC_THRESHOLD for CAMERA_PROJECT11" into main 2024-07-03 04:09:22 +00:00
David Lin
e08a757811 Merge "caimito: config serial no for vendor audio" into 24D1-dev am: 13badff4d8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/28027780

Change-Id: Ia5bab56444d38291670ec0f390ea8df3d3529d13
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-03 02:32:28 +00:00
David Lin
e38aa78fd4 Merge "caimito: add default mic compensation" into 24D1-dev am: 11035dbd44
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/28027779

Change-Id: Iffa477e55a27e9682da56f8249f6ae12416ba9e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-03 02:32:24 +00:00
David Lin
c68b95f4ef [automerger skipped] Merge "display: update reduceBrightColorsStrength setting" into 24D1-dev am: 8c7fdc2f31 -s ours
am skip reason: Merged-In Iba176ea5a0b5b6e0ae90a560fc1d2853b6a3633c with SHA-1 6d89d32526 is already in history

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

Change-Id: I7141ed6ab895ff53ec4a204d67e894223e2db356
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-03 02:32:00 +00:00
Peter Lin
72b61376c6 [automerger skipped] display: update reduceBrightColorsStrength setting am: ca69c178ae -s ours
am skip reason: Merged-In Iba176ea5a0b5b6e0ae90a560fc1d2853b6a3633c with SHA-1 6d89d32526 is already in history

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

Change-Id: I83f10299202ec6a64c545e52c88c66a240707645
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-03 02:31:56 +00:00
David Lin
13badff4d8 Merge "caimito: config serial no for vendor audio" into 24D1-dev 2024-07-03 02:19:47 +00:00
David Lin
11035dbd44 Merge "caimito: add default mic compensation" into 24D1-dev 2024-07-03 02:19:47 +00:00
Robin Peng
7c8f65bf43 Update SVN to 2
Bug: 350826665
Change-Id: I2fb755d247f2efffa2f1c84322b52d33367d5cdb
2024-07-03 02:11:39 +00:00
David Lin
8c7fdc2f31 Merge "display: update reduceBrightColorsStrength setting" into 24D1-dev 2024-07-03 02:09:50 +00:00
David Lin
996a1e7515 Merge "[KM4] Add config.xml to OMA-DM package with DevInfo Model name." into 24D1-dev am: 6596b38578
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/28016802

Change-Id: Ifae27a619159351e9e4a8fc9cf74a14ab8833249
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-03 01:01:37 +00:00
David Lin
6596b38578 Merge "[KM4] Add config.xml to OMA-DM package with DevInfo Model name." into 24D1-dev 2024-07-03 00:48:04 +00:00
Greg Piecyk
6cba5792ad Merge "[CM4] Add config.xml to OMA-DM package with DevInfo Model name." into 24D1-dev am: 4d2211d119
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/28016799

Change-Id: Ifefb61d1152c5e294f83e42c675a4eb69e44ca50
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-02 23:11:32 +00:00
Greg Piecyk
4d2211d119 Merge "[CM4] Add config.xml to OMA-DM package with DevInfo Model name." into 24D1-dev 2024-07-02 22:34:26 +00:00
Lynn Yeh
ed73655265 Merge "[TK4] Add config.xml to OMA-DM package with DevInfo Model name." into 24D1-dev am: b760c80f5c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/28018576

Change-Id: Ica3bd1f77d2e66050490474d47bb88f50f0a2726
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-02 09:37:19 +00:00
Lynn Yeh
b760c80f5c Merge "[TK4] Add config.xml to OMA-DM package with DevInfo Model name." into 24D1-dev 2024-07-02 09:12:43 +00:00
Kurt Huang
0f93229c19 powerhint: set valid PMU_BIG_SPC_THRESHOLD for CAMERA_PROJECT11
http://ag/27702721 removed value 50 from PMU_BIG_SPC_THRESHOLD. Set the
value to 20 for CAMERA_PROJECT11.

Bug: 347647774
Test: Flash on ripcurrentpro board and boot
Change-Id: I20aa20119ab8317d3ba92b8118d34f3b9e884b66
2024-07-02 07:21:57 +00:00
Chris Lu
4ff1f70084 Display: disable NS mode and allow BTS follow operation rate
Bug: 349703305
Test: Smooth display on/off
Test: Performance test
Change-Id: I992914b7e0c0911d44a9d263dbb4839814f15b12
Merged-In: I992914b7e0c0911d44a9d263dbb4839814f15b12
(cherry picked from commit 58a1edecf2)
2024-07-02 05:23:56 +00:00
Rios Kao
b07be951cc caimito: add default mic compensation
Test: end-to-end validation
Bug: 349276230
Flag: EXEMPT bugfix

Change-Id: I5775c77a215733e170676eb50a8d49ae4fd5ec93
2024-07-01 13:05:24 +00:00
Chris Lu
58a1edecf2 Display: allow BTS follow operation rate
Set the OP HZ Config to allow BTS follow operation rate. This will
not trigger NS mode switch.

Bug: 340999835
Test: Smooth display on/off
Change-Id: I992914b7e0c0911d44a9d263dbb4839814f15b12
2024-06-28 10:34:06 +00:00
Treehugger Robot
6f94744a89 Merge "Revert "[Thread] remove thread hal"" into main 2024-06-28 04:14:18 +00:00
Patrick Chang
23a9e64f20 Revert "[Thread] remove thread hal"
This reverts commit c5abced669.

Reason for revert: add Thread HAL back to main branch
Bug: 349759405
Change-Id: I9db216aa18e2561e7e72cb45ca437e0f25be6e76
2024-06-27 09:41:49 +00:00
Richard Chang
62e495a0dd Merge "Reapply "powerhint: add proactive kill hint for camera launch"" into main 2024-06-27 07:19:51 +00:00
Peter Lin
ca69c178ae display: update reduceBrightColorsStrength setting
Bug: 343327517
test: dumpsys color_display
Change-Id: Iba176ea5a0b5b6e0ae90a560fc1d2853b6a3633c
Merged-In: Iba176ea5a0b5b6e0ae90a560fc1d2853b6a3633c
2024-06-26 01:55:20 +00:00
Rios Kao
d7efc013d3 caimito: config serial no for vendor audio
note:
    - To workaround microphone compensation issue, serial
      number is necessary information.
      Config the value for vendor audio service.

Test: end-to-end test
Bug: 349276230
Flag: EXEMPT bugfix

Change-Id: Ia989fe39cf89055bb056e07875cc868edb808bdc
2024-06-25 09:37:03 +00:00
Chaohui Wang
350ec020d4 Regulation e-label for TK4 GUR25 IN am: add4ec37a9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/27962445

Change-Id: I047328f4d502a576c220833a9095f0021625ce8f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-25 00:57:37 +00:00
Yvonne Yip
61b2a59da1 Merge changes from topic "auto-margins-main-p24" into main
* changes:
  powerhint: Enable auto migration margins/dvfs headroom for game mode
  powerhint: Add nodes to control per-task iowait boost
  powerhint: Add nodes required to enable auto migration margins/dvfs headroom
  powerhint: Explicitly set DownRateLimitUs for camera
2024-06-24 23:09:01 +00:00
Qais Yousef
176560b44a powerhint: Enable auto migration margins/dvfs headroom for game mode
Since the system is more reactive now when tasks are getting busier, set
DownRateLimitUs to 500us to avoid increasing power.

Also enable pertask iowait boost as util_avg will always start from
0 for forked tasks and this could impact io tasks that need additional
help to ensure to migrate to bigger core if they need more perf.

Bug: 339664411
Test: PTE A/B test
Flag: NONE powerhint change does not support flags
Signed-off-by: Qais Yousef <qyousef@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c09bc9d8b58cc4f9bba136a1dc97b5c0b7751dce)
Merged-In: Iecbbaccc81297ee0f66f8c45299846f2415ee29c
Change-Id: Iecbbaccc81297ee0f66f8c45299846f2415ee29c
2024-06-24 23:08:44 +00:00
Qais Yousef
0de9ecec3a powerhint: Add nodes to control per-task iowait boost
It's disabled by default.

Ensure camera and game mode explicitly disable it too as it is only
required when auto margins are enabled for now.

Ensure it is disabled when screen is off too as We don't want io
activities to cause wake up on bigger cores while screen is off.

Bug: 339664411
Test: PTE A/B test
Flag: NONE no behavior change
Signed-off-by: Qais Yousef <qyousef@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6e7e510a8eeace8d37836d6e428e13a61d66f0c1)
Merged-In: Icbbfb2d332b412fa51d6d434d44d1ada8545338c
Change-Id: Icbbfb2d332b412fa51d6d434d44d1ada8545338c
2024-06-24 23:08:28 +00:00