Commit graph

1817 commits

Author SHA1 Message Date
Wei Wang
ac81e67b89 Relax background restriction to 16.67% am: fbb2777b1b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15957488

Change-Id: Iba6960aea57dca062a4e77d3d1517292e634aba1
2021-10-05 17:08:33 +00:00
Wei Wang
ab3747f65e Relax background restriction to 16.67%
To avoid background starvation and PI, especially for those low prio 130
threads within system_server, allocate more cpu shares for background
sched group.

Test: boot and torture a loaded device.
Bug: 201428466
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ia85814294f9534fd83388a72c574c04f631a185f
2021-10-05 16:53:00 +00:00
Max Kogan
a440024834 dumpstate: dump AoC memory votes stats am: 03c1d9311b am: 7ded257eae
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15901108

Change-Id: Ie5191c23ff91bd2bf1ace03e7cc741fa2a134691
2021-10-04 18:25:18 +00:00
Wei Wang
a35abc12cf Boost SF higher for app launch am: 143edae395 am: 0b14af2d5f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15953897

Change-Id: I29c3ea46e48fff8a908d2391f524211f4a1fce48
2021-10-04 18:25:12 +00:00
Wei Wang
98b16ca641 powerhint: use DISPLAY_IDLE signal to control TA boost am: b88f1debbd am: 5ef58aad70
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15933523

Change-Id: I9e06eabf2feabd3bf50144141c2aa4cef076713a
2021-10-04 18:25:00 +00:00
Max Kogan
e39ae2f261 dumpstate: dump AoC memory votes stats am: 03c1d9311b am: 3f76fa5e24
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15901108

Change-Id: I4dcc012073e403823f6a772caf790b5068fce71a
2021-10-04 18:24:27 +00:00
Wei Wang
1257481036 Boost SF higher for app launch am: 143edae395 am: c88f97f7c3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15953897

Change-Id: Id7a4cd76c48586633562c914e272fc133787a280
2021-10-04 18:24:21 +00:00
Wei Wang
cb2268f437 powerhint: use DISPLAY_IDLE signal to control TA boost am: b88f1debbd am: 39a1ff2324
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15933523

Change-Id: I4b4a47a97f09497476ba062ca353b18e19e65e38
2021-10-04 18:24:14 +00:00
Max Kogan
12186695b5 dumpstate: dump AoC memory votes stats am: 03c1d9311b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15901108

Change-Id: I14f2fe73e01ec2544ab7e83b384ed4f4cb0da90a
2021-10-04 18:15:20 +00:00
Max Kogan
5f8e718f64 dumpstate: dump AoC memory votes stats am: 03c1d9311b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15901108

Change-Id: I5f36d46b3ed673de807281d541af560cc22b46a5
2021-10-04 18:15:19 +00:00
Wei Wang
906b1d27d5 Boost SF higher for app launch am: 143edae395
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15953897

Change-Id: I0c8b59d2c582a0b6c197420bc6ffe3e91c4904ea
2021-10-04 18:15:14 +00:00
Wei Wang
b67a2d4b42 Boost SF higher for app launch am: 143edae395
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15953897

Change-Id: Id9f6d31f44de11b7c3f7b279068c4d9a3ecec191
2021-10-04 18:15:13 +00:00
Wei Wang
d639903b33 powerhint: use DISPLAY_IDLE signal to control TA boost am: b88f1debbd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15933523

Change-Id: I3dc6d622a05bb51f857208080c721c9f62c8f5fb
2021-10-04 18:15:10 +00:00
Wei Wang
b97333ab61 powerhint: use DISPLAY_IDLE signal to control TA boost am: b88f1debbd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15933523

Change-Id: Ibaee4bcb1ae1714f2da86774611a9f2b3770b777
2021-10-04 18:15:09 +00:00
Max Kogan
6896836e0e dumpstate: dump AoC memory votes stats
Bug: 198203507
Test: adb bugreport, open Bug Sections "dumpstate_board.txt"
Test: search for "AoC memory votes"
Change-Id: I24d80a6e3493ccc961b8eed3b9da4b9dfbbf457f
2021-10-04 18:04:01 +00:00
Wei Wang
902e84ee68 Boost SF higher for app launch
Test: Build
Bug: 199779453
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ide9ae93932c09fc1e5090981094d7d3935231e21
2021-10-04 17:57:16 +00:00
Wei Wang
093068d0dc powerhint: use DISPLAY_IDLE signal to control TA boost
Add additional 200ms boost from DISPLAY_UPDATE_IMMINENT and INTERACTION.

Bug: 199292504
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I95d4d4f6f4763714d450eacdd63d0c5f724ac05a
2021-10-04 17:51:05 +00:00
chened
8b37ee997f camera: disable saliency and segmentation for factory build am: 9457e7f5d8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15937381

Change-Id: I0326517a55059009f0e22ed93120ac37a99c5ecf
2021-10-04 03:54:10 +00:00
chened
0372678fe3 camera: disable saliency and segmentation for factory build
Test: build pass, aosp camera
Bug: 192660033
Change-Id: Ia5170e956b97dcab745231f0d5441a3511e7edf7
2021-10-04 03:39:22 +00:00
Sayanna Chandula
d53e080140 init.rc: Enable SOFT_OCP for TPU/CPU/GPU am: cfcb0b9160 am: 3c264fc0ba
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15952233

Change-Id: Id5248700059f62d57971f0015b8cb01ec19b7dd8
2021-10-01 23:34:05 +00:00
Sayanna Chandula
cb7787497d init.rc: Enable SOFT_OCP for TPU/CPU/GPU am: cfcb0b9160 am: d1dfbfd9be
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15952233

Change-Id: I00c6a7b9912ab2469e98301f64616cf3a07b3c60
2021-10-01 23:32:08 +00:00
Sayanna Chandula
30a2540fcf init.rc: Enable SOFT_OCP for TPU/CPU/GPU am: cfcb0b9160
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15952233

Change-Id: I21d44400c63720d210398234b4f4e1dbe113fcd3
2021-10-01 23:21:42 +00:00
Sayanna Chandula
3bbe6a1b7f init.rc: Enable SOFT_OCP for TPU/CPU/GPU am: cfcb0b9160
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15952233

Change-Id: Ia996256175e79391f0dc7766599e821ffc3b107f
2021-10-01 23:21:38 +00:00
Sayanna Chandula
be546e6364 init.rc: Enable SOFT_OCP for TPU/CPU/GPU
SOFT_OCR_WARN was disabled as part of b/199787970. This
change reenables it

Bug: 201551128
Test: build and boot on the device. Verify the sysfs entries
cat /sys/devices/virtual/pmic/mitigation/clock_div/tpu_clk_div
0x1
cat /sys/devices/virtual/pmic/mitigation/clock_div/gpu_clk_div
0x1
cat /sys/devices/virtual/pmic/mitigation/clock_div/cpu2_clk_div
0x1

Change-Id: I366ddd43474d1a690aae5edb70b881c95e7b62d7
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2021-10-01 23:11:00 +00:00
Martin Liu
25e1d8a2d1 gs101: move zram to pixel common mm folder am: fe1ebc6e6f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15940609

Change-Id: I0efa4ec1f6c42182416a390d9fcb9e85448f2da0
2021-10-01 17:13:15 +00:00
Martin Liu
950d14c455 gs101: move zram to pixel common mm folder
Move zram settings to pixel common mm folder

Bug: 200899926
Test: check swap size
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: Ic81e26d706459e14029f611c03df4a14d4184277
2021-10-01 17:12:46 +00:00
Edwin Tung
65fca858a0 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516384 am: f8d329ebdc -s ours am: 72f1a7f703 -s ours am: f6626ab8d1 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic75a077d58ec43dbcc6dd4c8b2db946ca47a1a55
2021-10-01 06:50:36 +00:00
Edwin Tung
e9e995d73f [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516384 am: f8d329ebdc -s ours am: 72f1a7f703 -s ours am: 9abebca53b -s ours
am skip reason: subject contains skip directive

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

Change-Id: I52f5f8bd28bd985ecea089fa93f902c8bb7c562c
2021-10-01 06:44:54 +00:00
Edwin Tung
529a5cec3e [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516384 am: f8d329ebdc -s ours am: 72f1a7f703 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ibfd120014da67307fad06c0ce877c278a4debe71
2021-10-01 06:39:13 +00:00
Edwin Tung
31ed7c90af [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516384 am: f8d329ebdc -s ours am: 72f1a7f703 -s ours
am skip reason: skipped by user edwintung

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

Change-Id: Ied193a97350f8c903c85adc5e66ded8cb846656d
2021-10-01 06:39:12 +00:00
Edwin Tung
8cf5069a9e [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516384 am: f8d329ebdc am: 4eeed3e88c -s ours am: fb66975431 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia9fd25d372048a60606edba14f9301c2369d7fe4
2021-10-01 06:37:08 +00:00
Edwin Tung
7c59e634e4 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516384 am: f8d329ebdc -s ours
am skip reason: skipped by user edwintung

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

Change-Id: Idaed67f52b0baca9f2d0aea4e33ac549a9df0f00
2021-10-01 06:23:22 +00:00
Edwin Tung
f3da11929b [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516384 am: f8d329ebdc am: 4eeed3e88c -s ours
am skip reason: skipped by user edwintung

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

Change-Id: I718a28a1d0a2f6143a0d6afaccd50118adb47a18
2021-10-01 06:23:05 +00:00
Petri Gynther
7f64bf00c4 Revert^2 "gs101: re-enable prebuilt boot.img/boot-user.img usage" am: 0f9dfceecf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15955989

Change-Id: I7c8b9f308b778c0a02bf1fc126a33f73c035faac
2021-10-01 06:18:12 +00:00
Petri Gynther
96a90bd47a Revert^2 "gs101: re-enable prebuilt boot.img/boot-user.img usage"
This reverts commit 48a5fe4304e3c5720f468d6b9147ca36bbe9eb4e.

Reason for revert:
Re-enable gs101 prebuilt boot image usage.
All necessary prerequisites have been merged:
cl/399995993, ag/15953678, ag/15953343, ag/15953037, ag/15953719

Bug: 201469630
Bug: 201476061
Change-Id: Idb46a74e7830a274c45fee1f43a52dbcd7e96ca4
2021-10-01 06:00:08 +00:00
Edwin Tung
3221acba2a [DO NOT MERGE] gps: update gps driver 129.20.23.516384
Rescale accuracy confident to 67% for AGPS NI request
Set LPPe DBH altitude value to maxima if no FLP altitude

Bug: 199581865
Bug: 199719571
Bug: 201238299

Sanity Test: 201497808
Test: build pass

Change-Id: I151340dbed8b4ee4aa972c09d284e39f9702223c
2021-10-01 04:14:07 +00:00
Jason Chiu
60c495aeed Revert "gs101: re-enable prebuilt boot.img/boot-user.img usage" am: 48a5fe4304
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15939093

Change-Id: Ieaf2cec21f71f0a80736d3024318d0f10a581e96
2021-09-29 11:12:56 +00:00
Jason Chiu
d037bee915 Revert "gs101: re-enable prebuilt boot.img/boot-user.img usage"
This reverts commit 7badc4b5f1c7b6adff8cd9142f5c97bd4a5a0d49.

Reason for revert: it introduce b/201469630 and b/201476061

Bug: 201469630
Bug: 201476061
Change-Id: Id48ea931410a55bfd382feb7a0da02994fdf8928
2021-09-29 07:30:10 +00:00
Jason Chang
3b5e59ea99 Add support One-handed mode in B3 am: d326059d56
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15919524

Change-Id: I07757f3f5e4b58996f0b2927b0c2054609864a50
2021-09-29 07:12:08 +00:00
Jason Chang
6a1ecb3ed2 Add support One-handed mode in B3
Add support One-handed mode system properties flag to enable B3
project.

Bug: 200899897

Test: Build a new ROM build to manually test
Change-Id: Ia511f9a298f76589780f258daf657d36c666e206
2021-09-29 06:59:55 +00:00
Automerger Merge Worker
1d572bcc8a Merge "gs101: re-enable prebuilt boot.img/boot-user.img usage am: 7badc4b5f1 am: bb39315ec6" into sc-v2-dev-plus-aosp 2021-09-28 21:02:23 +00:00
Petri Gynther
b78a63bc0d gs101: re-enable prebuilt boot.img/boot-user.img usage am: 7badc4b5f1 am: 6fcfb9953f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15934983

Change-Id: Id7d66b956affce2f66bd03e44c61d683d9c5434f
2021-09-28 21:02:11 +00:00
Petri Gynther
002e5714c6 gs101: re-enable prebuilt boot.img/boot-user.img usage am: 7badc4b5f1 am: bb39315ec6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15934983

Change-Id: Ic24be11314b8dba7c2c4aaaacf7e24a3e4cea0ec
2021-09-28 21:01:31 +00:00
Petri Gynther
d60cbacc12 gs101: re-enable prebuilt boot.img/boot-user.img usage am: 7badc4b5f1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15934983

Change-Id: Ib6489b4b5797eea2b8ecc32ee10e3c4d1998f4d8
2021-09-28 20:45:42 +00:00
Petri Gynther
803a80d58f gs101: re-enable prebuilt boot.img/boot-user.img usage am: 7badc4b5f1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15934983

Change-Id: I50058d9dad53e55707d46452f465464fa5946f30
2021-09-28 20:45:39 +00:00
Petri Gynther
50f56ac8c9 gs101: re-enable prebuilt boot.img/boot-user.img usage
When $(TARGET_KERNEL_DIR) contains:
* boot.img
* boot-user.img

then use those as prebuilt boot images for the target build.

Note that debug kernels (e.g. $(TARGET_KERNEL_DIR)/kasan) only have
Image.lz4, so the debug build ends up building boot.img from source.

Bug: 199997188
Change-Id: I6bb70644d8ab7356986f6ca6a77f3098d1ee0f83
2021-09-28 10:56:06 -07:00
Edwin Tung
4b50d7a681 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.515167 am: 0962bd6444 -s ours am: ed342b50fd -s ours
am skip reason: subject contains skip directive

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

Change-Id: If72742c8d1ea0332214dd72817d272ec7bb3a3ca
2021-09-28 01:56:17 +00:00
Shinru Han
d2531f782f gps: Update SecondaryConfigPath am: 80b57c3d63 am: b0306a50f1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15919522

Change-Id: Id35c846cd81da2f02231d2ca508e4719909ad0f3
2021-09-28 01:56:14 +00:00
Edwin Tung
094733330e [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.515167 am: 0962bd6444 am: b49231a97e -s ours
am skip reason: subject contains skip directive

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

Change-Id: I35cf084103972c1f67b020317b7f7ef37dfa5818
2021-09-28 01:55:21 +00:00
Shinru Han
f50b8ee88a gps: Update SecondaryConfigPath am: 80b57c3d63 am: 296288785f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15919522

Change-Id: Ied53bf97a0b220fc76005033cf5a13936698444b
2021-09-28 01:55:17 +00:00