Sayanna Chandula
8ee1d91ea4
Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346 am: 7829c88d25
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633
Change-Id: Ifc58cbba65ad635fa4c9dd33886d737d4c53d3b4
2021-10-08 05:25:01 +00:00
Sayanna Chandula
b4d3792d59
Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633
Change-Id: I89c042150bc17229097cfae4a88b122f7f0b395d
2021-10-08 05:13:03 +00:00
Sayanna Chandula
e2da019e13
Revert "powerhint: thermal: Support powerhint to change tmu control-temp"
...
This reverts commit 7769380db2427d19bbcfad12af08818e75988068.
During debugging of b/192030129, it was observed that setting trip temp
followed by a suspend results in temperature getting struck at 10
degrees. Reverting powerhint change will disable dynamic setting of
trip temp and thus avoiding the 10 degree issue.
Bug: 192030129
Test: build and boot on device
Change-Id: I42ca12be23abf9c48fb2985f1506557d0fb93c1c
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2021-10-07 21:58:17 +00:00
Wei Wang
ca8e0700fe
Remove DISABLE_TA_BOOST completely am: 0f0f4f6d8a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16007650
Change-Id: I0165f047141bc44b419b7c30feebf4ef641d3862
2021-10-07 19:29:46 +00:00
Wei Wang
a89970daa6
Remove DISABLE_TA_BOOST completely
...
Bug: 199292504
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ibcdb9b5968268be9765654c691910dfe7ba549ac
2021-10-07 10:30:20 -07:00
Sunil Ravi
994197d0fb
Configure channel 149 & 36 as p2p preferred channels. am: 166f4da68c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15978153
Change-Id: I34047578bcacfcba742242a664c94b60298616c6
2021-10-05 17:54:40 +00:00
Sunil Ravi
f8a26c3286
Configure channel 149 & 36 as p2p preferred channels.
...
Bug: 194132777
Test: connect STA to 2.4GHz and verified that p2p is able to come up in
5GHz DBS mode.
Change-Id: I07fb6b586b89f66fd105673d47b2d2367c30e487
Merged-In: I07fb6b586b89f66fd105673d47b2d2367c30e487
(cherry picked from commit 20c24cfd61926f128ca88f1ccf637663fa6575df)
2021-10-05 17:40:09 +00:00
Wei Wang
bddf380970
Relax background restriction to 16.67% am: fbb2777b1b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15957488
Change-Id: I48200e51790ce122d2a06c7c9dee3f894ad6325a
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
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
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
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
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
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
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
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
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
d592961c43
[DO NOT MERGE] gps: update gps driver 129.20.23.515167 am: 0962bd6444
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15880050
Change-Id: I7fdbc76194b25e0d8982ee7df741a8683230f047
2021-09-28 01:43:02 +00:00
Shinru Han
13d5a945dc
gps: Update SecondaryConfigPath am: 80b57c3d63
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15919522
Change-Id: Ifb8fa0902299bbfd1dd479bdd6dbea67c9d96629
2021-09-28 01:42:57 +00:00
Edwin Tung
668587bc3d
[DO NOT MERGE] gps: update gps driver 129.20.23.515167
...
Fix LPP GNSS ID misplaced with QZSS
Disable hardware Geofence
Improve log for onChipStopNotification
Improve PMM mode
Restore carrier config after gps crashing
Fix incorrect altitude encoding of LPPe DBH
Set LPPe CP enable by default
Set LPPe DBH altitude value to maxima if no FLP altitude
Bug: 193380649
Bug: 196702082
Bug: 197196725
Bug: 197563181
Bug: 198261454
Bug: 199677624
Bug: 198727829
Bug: 199719571
Sanity Test: 200797783
Test: build pass
Change-Id: I65813ae49d631f9fe73f2f35ed088978d0ee8f95
2021-09-28 01:37:39 +00:00
Shinru Han
41e8d749db
gps: Update SecondaryConfigPath
...
The seconday config under data/vendor/gps/logs/ could be removed by tester.
Update the SecondaryConfigPath to data/vendor/gps/overlay/.
Test: log config can be updated by pixellogger
Bug: 194493365
Change-Id: I4045908d33abb6c17197ee5c596b945025c5a775
2021-09-28 01:26:49 +00:00
Minghui Tan
4257f1f4bf
Update CPU throttle frequencies. am: d1fea0f049
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15854896
Change-Id: I358ef83969d93ea341c103a4ac4ee6fea9092a86
2021-09-27 22:05:02 +00:00
Minghui Tan
50be6f6070
Update CPU throttle frequencies.
...
Bug: 199761265
Test: CTS
Change-Id: Ie1c907cd96367374f0b51086f54b4d18ab9907da
2021-09-27 21:48:23 +00:00
Jenny Ho
e38d68d324
dumpstate: dump battery maxfg monitor log am: 71f70f3f39
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15773286
Change-Id: Ic2bed98e499a6b85b87acb85fee365835fc8ce7d
2021-09-27 15:57:26 +00:00
Jenny Ho
bec20a58c0
dumpstate: dump battery maxfg monitor log
...
Bug: 196755019
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Merged-In: I04e2be21680c2cc673af1205cdb772fa3b845bd
Change-Id: I04e2be21680c2cc673af1205cdb772fa3b845bd4
2021-09-27 15:39:49 +00:00
Santos Cordon
b867acbbea
Adjust Doze default value to accomodate HBM. am: bfb3168639 am: d7fcbd91db
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15897167
Change-Id: Ic79076982c1bc09825764bd738d0ef2b31f93fb2
2021-09-27 13:45:27 +00:00
Santos Cordon
aa7a4a075f
Adjust Doze default value to accomodate HBM. am: bfb3168639 am: ec6cd69f85
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15897167
Change-Id: Ia56fbc3fd401647adfeee1564a5cf7e5c1c59748
2021-09-27 13:45:08 +00:00
Santos Cordon
60f0f582c5
Adjust Doze default value to accomodate HBM. am: bfb3168639
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15897167
Change-Id: Ie5a0ed3d863794a9eeb12c36131c090d105a54a9
2021-09-27 13:30:33 +00:00
Jimmy Shiu
4505384dc4
powerhint: fine tune non-ADPF boost am: 85ed2f1b95
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15841941
Change-Id: I1d0f70186598bdda8d90e615972761f0a1ca91af
2021-09-25 01:15:55 +00:00
Jimmy Shiu
131cf4b76b
powerhint: fine tune non-ADPF boost
...
For 120FPS, lower the uclmap.min from 185 to 157
For 90FPS, lower the uclmap.min from 123 to 107
For 60FPS, lower the uclmap.min from 62 to 42
Bug: 198723106
Test: Running PtsUiBench with disabling ADPF.
http://sheets/1UbUVo0pxg1Bz0MKPIkv5d1XO1iVppU0P3YVQjivoP8Q#gid=1963167952
Change-Id: I311acbcf352ed0f5bb8fe2d176c48edd003eaf31
2021-09-25 01:01:36 +00:00
Santos Cordon
18bb9722da
Adjust Doze default value to accomodate HBM.
...
HBM changes moved the normal max, so we should adjust the doze
default value by same scale.
Bug: 194972547
Test: Manual, verify behavior is similar to Android R.
Change-Id: I953b8f68f3ad0d9369d6fb0466e178ce366fdbc4
2021-09-23 14:05:29 +00:00
Badhri Jagan Sridharan
73af4e6947
dumpstate: Dump TCPC registers and attributes am: 7372d2275b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15856534
Change-Id: I7873f46f2da320de743928f5de9ed58802f42a4d
2021-09-23 05:53:41 +00:00
Badhri Jagan Sridharan
aa0a8e1b7d
dumpstate: Dump TCPC registers and attributes
...
debugfs not accessible in user builds. Hence dumping through
sysfs.
Bug: 200313640
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Change-Id: I5e42d1cd9b53c0989dbbb35bf580271d15cd8db3
2021-09-23 05:38:36 +00:00
Shinru Han
f90c4cb91f
gps: Rename secondary config am: ddcd06372a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15880048
Change-Id: I6872374e89229584bf3766d54ed4ec1d94acd845
2021-09-23 02:29:53 +00:00
Shinru Han
8108f9d080
gps: Rename secondary config
...
Bug: 200255075
Test: on device
Change-Id: If151b8c215e775de24d3c74d3e46b10ab24f6f4e
2021-09-22 14:51:33 +08:00
Edwin Tung
e535ee6617
[DO NOT MERGE] gps: update gps driver 129.20.23.514871 am: 06041ffe05 am: 054b896a76
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15824553
Change-Id: Ic3c52e58071f728ccd2d58e9b86f9552d9d6dcce
2021-09-17 03:33:22 +00:00
Edwin Tung
9c6e5d97ed
[DO NOT MERGE] gps: update gps driver 129.20.23.514871 am: 06041ffe05 am: 3455d7295b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15824553
Change-Id: I40f2926c2f04c81eb34000575d40ba6f56b40792
2021-09-17 03:33:00 +00:00
Edwin Tung
207478ee2b
[DO NOT MERGE] gps: update gps driver 129.20.23.514871 am: 06041ffe05
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15824553
Change-Id: I01e526453e584d992b9734a9f6c8da0486bdea52
2021-09-17 03:17:52 +00:00
Edwin Tung
fb0dd13ec3
[DO NOT MERGE] gps: update gps driver 129.20.23.514871
...
Restore carrier config after gps crashing
Fix incorrect altitude encoding of LPPe DBH
Bug: 198261454
Bug: 199677624
Sanity Test: 199977515
Test: build pass
Change-Id: I2b75b35a256cbbbd1c94ada0d46974d9c9838976
2021-09-16 09:34:38 +00:00
Edwin Tung
8456495d6c
gps: Enable power save mode am: 73fd0b54c2
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15811307
Change-Id: I74d82e24c897b89d7b7b60dc2c21bdcf4e0547c1
2021-09-15 15:03:31 +00:00
Edwin Tung
96332941f9
gps: Enable power save mode
...
Bug: 192866284
Test: Enter power duty-cycle
Change-Id: I245e52023c5484e6d9fd4dcba75b5523600598b0
2021-09-15 14:51:02 +00:00
Shinru Han
5d0542613d
gps: Configuration split am: 358a032dcb
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15786019
Change-Id: I9a2a152e3ffb5a3ea3944b6c0f2e86e5a83e74bd
2021-09-15 13:38:26 +00:00
Shinru Han
a575391d96
gps: Configuration split
...
Split configuration for different build variants.
user:
gps_user.xml*, lhd_user.conf, scd_user.conf
userdebug & eng:
gps.xml.*, lhd.conf, scd.conf
Bug: 197586294
Test: on devices
Change-Id: Icddd6be30dfe2c1eb2dca5f9a61c1b9f43867cc6
2021-09-15 13:20:14 +00:00
Ocean Chen
92b7ddb5e1
Pixelstats: add more UFS error count paths am: 8d1e58c978
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15811325
Change-Id: I4fa9971206818d92b21a03a7786e78991d07ee75
2021-09-14 18:10:18 +00:00