Commit graph

356 commits

Author SHA1 Message Date
chungkai
600b309a91 powerhal: update new boost uclamp value
update new boost uclamp value since we update
cpu capacity

Test: PTS UIBench has no obvious difference
Bug: 224649226
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: Ie2fd9950a98f9786b03ef4e364fd9d584dcc438d
2022-04-21 18:44:23 +00:00
chungkai
b3a98db247 powerhal: update new boost uclamp value
update new boost uclamp value since we update
cpu capacity

Test: PTS UIBench has no obvious difference
Bug: 224649226
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: Ie2fd9950a98f9786b03ef4e364fd9d584dcc438d
2022-04-21 16:49:00 +00:00
Taeju Park
c5ac37d36d Disable PMU freq limit in default am: 403f13f60a am: 199a240182 am: 502162aa39
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17495233

Change-Id: Ib56d05ceeff7431285369eeb6783696eb255ece8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 06:41:53 +00:00
Taeju Park
403f13f60a Disable PMU freq limit in default
Bug: 223688700
Signed-off-by: Taeju Park <taeju@google.com>
Change-Id: Ic96dad155f04d4abd180ed6e399b0eb0b61dabdd
2022-04-08 05:54:48 +00:00
chungkai
e238121c40 init: modify path of i2c peripherals am: deca07793f am: cb46161362
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17607092

Change-Id: If83f65bece4da0cc5d1bb8ece5c558f46056c72b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 10:51:48 +00:00
chungkai
deca07793f init: modify path of i2c peripherals
add potential paths when enable parpllel module loading

Test: build pass
Bug: 228181404
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I929669a2ddc9155ad4dac1f40f808ffcb4c914f2
2022-04-07 09:33:25 +00:00
chungkai
5187868607 init: add uclamp threshold setting am: c99aafcbc9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17178849

Change-Id: I03ba8333a0298c6844640169127ed73724487616
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-30 04:04:22 +00:00
chungkai
c99aafcbc9 init: add uclamp threshold setting
To filter tiny task, add uclamp threshold setting

Test: build and boot pass
Bug: 214098855
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I20c7d5228b81b9ef27660f5b4d120b3c4c584276
2022-03-30 03:50:02 +00:00
chungkai
23b9ea959a sched: move sysfs to procfs am: abf92a16d6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17469423

Change-Id: I58bd20844288125459045b174f91ece3db23d7f0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-29 10:38:20 +00:00
chungkai
abf92a16d6 sched: move sysfs to procfs
Modify the path of vendor_sched nodes

Test: work normally
Bug: 216207007
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: Id9d85bb742dbfe96cc7e9fe8572a6a610a9f592e
2022-03-29 10:02:47 +00:00
Jenny Ho
06b132acfc init.gs101.rc: set dev_sn for battery pairing am: 31d519c4b4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17365287

Change-Id: Ib5203570dbdc57ac9187ebf8c0b17b0e8279b887
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-28 02:05:12 +00:00
Jenny Ho
31d519c4b4 init.gs101.rc: set dev_sn for battery pairing
Bug: 216583288
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I58a243b711025d0dd6f3980c84462d8f392841cc
2022-03-28 01:45:03 +00:00
Super Liu
6b505a8520 dumpstate: update the nvt touch path. am: 40429a7aef
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17341925

Change-Id: I3ffc21f1f394d1cf75e445ef85fec70a248b940c
2022-03-24 10:21:12 +00:00
Super Liu
40429a7aef dumpstate: update the nvt touch path.
Bug: 219602920
Test: TH build pass.
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I9f97cef742e16ee357bc5b872180682520602c76
2022-03-24 09:48:55 +00:00
Eric Biggers
3113cfcc87 Stop setting vold.post_fs_data_done
The "vold.post_fs_data_done" system property was only used by FDE, which
is no longer supported and was never used by this device in the first
place, so there's no need to set this system property.

Bug: 208476087
Change-Id: I26d7fc3a79fbf42df6bd224699c6807f2abcea48
2022-03-22 17:39:01 +00:00
Jaegeuk Kim
2d71d68766 Remove discard command tuning am: aeeeb8bf63
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17227648

Change-Id: If6fc7832f1cf682685f6644cf53419f40a4d1791
2022-03-17 03:50:36 +00:00
Jaegeuk Kim
aeeeb8bf63 Remove discard command tuning
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I56a35351a27bfff4ad8177061a86885907c0303b
2022-03-17 03:22:07 +00:00
Midas Chien
e5e34205b1 display: make early wakeup node is readable am: 4945c1e530
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17138544

Change-Id: I61555b23b9f44617f49b860f1cd00bbd57d9fad2
2022-03-14 18:57:14 +00:00
Midas Chien
4945c1e530 display: make early wakeup node is readable
Bug: 221384860
Test: cat node
Change-Id: I917502071f1d308dd08874f44993389d6d2ecd09
2022-03-14 18:36:35 +00:00
Ramji Jiyani
2976638941 gs101: Enable system_dlkm dynamic partition am: 58893b442f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17141709

Change-Id: Ief057075cd441da52b599496d0242511d6b79264
2022-03-10 21:36:04 +00:00
Ramji Jiyani
58893b442f gs101: Enable system_dlkm dynamic partition
Set flags to enable system_dlkm dynamic partition
for GKI Modules for gs101 devices.

Partition will be empty as of now but this adds
enough support to pass the vts for the feature.

Bug: 222334390
Test: TH, manual build, flash and verification on 6Pro
      Full OTA Update test from S to T as below:
      1. go/flash: git_sc-v2-release - SP2A.220405.004 (8233519)
      2. Full ota build from tm-dev
      3. Manual push full ota update and verify boot
      4. Verify system_dlkm partition is present & mounted
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
Change-Id: I0b4038b100add965737527b72a8d5f905907e23e
2022-03-10 21:03:31 +00:00
Minchan Kim
5f95392103 gs101: remove chown for page_pinner am: bdef8f522a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17106469

Change-Id: I1052610954e74ea9f32a9fb39b4b6ef0f0949ae3
2022-03-08 09:43:15 +00:00
Minchan Kim
bdef8f522a gs101: remove chown for page_pinner
Since page_pinner provides enough permission frmo aosp/1742590,
it doesn't need to call chown.

Bug: 190337297
Test: adb bugreport and confirmed page_pinner dump working
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: I0593e61cb4fc439c52dc884ecb52b982e1db4704
2022-03-08 05:43:46 +00:00
Midas Chien
380776401d display: allow composer to access panel idle handle exit node am: bd1dfae7be
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17005650

Change-Id: Ib54bf57fe8ec93cef1b49caf64986a3da96047c7
2022-03-04 07:22:59 +00:00
Midas Chien
bd1dfae7be display: allow composer to access panel idle handle exit node
Bug: 202182467
Test: composer can access panel idle handle exit node
Change-Id: Ic0269cb7cb6e2597519fdd8f032de0c536dc91eb
2022-03-04 06:55:04 +00:00
George Lee
7ecc7507b1 [automerge] bcl: Increase hardware clock divider count 2p: 2f0d3bcc06 am: ce27c0d216 am: 812b753546
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16995825

Change-Id: Icb0be9634b508f50b903e6c7b540f5e935c15399
2022-03-02 03:19:34 +00:00
George Lee
812b753546 [automerge] bcl: Increase hardware clock divider count 2p: 2f0d3bcc06 am: ce27c0d216
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16995825

Change-Id: I2c8655ff6c9515a71611dda9f69ff31a51aeca40
2022-03-02 02:57:25 +00:00
Rick Yiu
4f3baf3b80 Support SetProcessProfiles for vendor groups
Add ProcFilePath for vendor group change of a process.

Bug: 218684257
Test: function works
Change-Id: I2d87a1a5d27dee699b37de6fac8d8b52334ba54e
(cherry picked from commit 72b0f768ee)
2022-03-01 04:23:36 +00:00
Rick Yiu
72b0f768ee Support SetProcessProfiles for vendor groups
Add ProcFilePath for vendor group change of a process.

Bug: 218684257
Test: function works
Change-Id: I2d87a1a5d27dee699b37de6fac8d8b52334ba54e
2022-03-01 04:16:27 +00:00
George Lee
ce27c0d216 [automerge] bcl: Increase hardware clock divider count 2p: 2f0d3bcc06
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16995825

Bug: 221077697
Change-Id: I8d1101481bf4a6dc2655d378d31ca6e1579345e4
2022-02-26 21:33:43 +00:00
George Lee
2f0d3bcc06 bcl: Increase hardware clock divider count
By increasing hardware clock divider count, we do not need to throttle
as hard to mitigate for brownout.

Bug: 221077697
Test: Local stress test to ensure no brownout.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I950fab2e3d70acd76b29f05acff8eec783a0546d
2022-02-26 13:33:23 -08:00
Minchan Kim
e09098ee34 init: gs101: improve first cma allocation latency for faceauth
When the system boot, migrate big mapped movable pages created by
Android boot sequence(e.g., zygote) out of cma to improve first cma
allocation. The test with cma trace shows cma allocation reduction
from 136ms to 25ms.

Test: atest com.google.android.camera.pts.SecurePreviewTest with cma
trace
Bug: 218731671
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: Iaa2a2f8c0c3256face3ce9cd21fa4acd6fb531ea
2022-02-24 21:54:57 +00:00
Xin Li
6ea7e8b035 Merge sc-v2-dev-plus-aosp-without-vendor@8084891
Bug: 214455710
Merged-In: Ife2ff971eaeda2b132658ca2704bf1edde6fd80a
Change-Id: Ic1617d8e3b1aac8c2acc2c483b1347431e911a1e
2022-02-11 07:10:27 +00:00
Kai Shi
b0599c3b02 Merge "Increase TCP wmem max size" am: 98ee53e52a am: e9e29ca22e am: dd409ec914 am: bd80f61fec
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1960054

Change-Id: I860326b1e8a5a41bc57115a218d5f10b5e109b76
2022-01-27 22:13:41 +00:00
Kai Shi
bd80f61fec Merge "Increase TCP wmem max size" am: 98ee53e52a am: e9e29ca22e am: dd409ec914
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1960054

Change-Id: Ifdb9837d63d8c384f8675c452b4bbbb04b290b13
2022-01-27 21:10:32 +00:00
Kai Shi
dd409ec914 Merge "Increase TCP wmem max size" am: 98ee53e52a am: e9e29ca22e
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1960054

Change-Id: Iac6032830054a99c5cb52c80332769b824b29f4a
2022-01-27 20:53:45 +00:00
Kai Shi
b877da7c69 Increase TCP wmem max size
Increase TCP wmem max size to allow high Tx throughput over wifi.

Bug: 213596972
Test: manual test to confirm TCP memory size is increased and wifi TCP throughput with default TCP window size can reach 700Mbps in HE80 mode.
Change-Id: I6058af03da756aaa63e89eddb674f5b054cecf33
2022-01-25 11:58:30 -08:00
Bowgo Tsai
b276a09717 Removing 'verity_update_state' am: e77021b4c4 am: be59761ace am: 6b7e6787e1
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1878153

Change-Id: I7a2f4f36b1831a4f4a7c11fac6fffd9ff6468e90
2022-01-21 22:43:14 +00:00
Will McVicker
bbc4e64596 gs101: recovery: add wait for dwc3 device to probe am: 04c94df116 am: b62568becb
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1881538

Change-Id: I2754aedadff2ba7d024e46a01ea86a86e9ad7830
2022-01-21 22:28:46 +00:00
Bowgo Tsai
6b7e6787e1 Removing 'verity_update_state' am: e77021b4c4 am: be59761ace
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1878153

Change-Id: I32016a579f9ee62257c0676f0aba5c300f2a6924
2022-01-21 22:27:29 +00:00
SalmaxChang
d8657cb475 init: gs101: restorecon persist modem file am: 2dfaabef7a am: e4f0fe01b4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16660077

Change-Id: Ia72dc277c41f000d8f04be2a1617faa2bdb86124
2022-01-20 06:14:50 +00:00
SalmaxChang
2dfaabef7a init: gs101: restorecon persist modem file
Bug: 215311024
Change-Id: I8292a5066c3658a8acde622014881338ea24379a
2022-01-19 14:45:10 +00:00
linpeter
752038e9fb display: atc sysfs node change
Give atc nodes are changed to dqe0 form.

Bug: 213133646
test: check file node permission
Change-Id: I12b83482d421c763692d4c64f0ad1666e2abe1d9
2022-01-12 08:06:39 +00:00
Rick Yiu
219111e484 Appy vendor setting for OtaProfiles
Use a new vendor group, ota, for OtaProfiles, and set its uclamp.max
and group_throttle to 40%, which benefits both performance and power
of OTA process.

Bug: 199006579
Test: value set as expected
Change-Id: I63375f3a286f27ab6c54413d6488b175305e6607
2022-01-11 08:58:11 +00:00
Jack Wu
f0fa8db7c9 remove retaildemo settings from gs101 and set in the individual file
Bug: 204926279
Test: check demo mode functionality
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: I5205510746132b0edfd3db2a6c44deaf133b3b05
2022-01-10 11:06:23 +00:00
Yifan Hong
a636457b5a Implement health AIDL HAL.
Test: VTS
Test: manual charger mode
Test: recovery
Bug: 213273090

Change-Id: Ie02d7bc1e1c6e39bbab22f008b7767c5de620a73
2022-01-06 23:01:30 +00:00
Gabriel Biren
f08fb02814 Update gs101 rc file to use Supplicant AIDL interface.
Bug: 196235436
Test: Connect to wifi on an Oriole device.
Change-Id: Id01c7f6630ea4946f8667d5e60ad798121250b74
2022-01-05 04:07:25 +00:00
Martin Liu
3406cfb76e gs101: set readahead_size_kb=128 to vendor, product and system_ext am: 2b741a51c5 am: a880d188d2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16549415

Change-Id: I28dea8e69ed3a66d1ac9575e2967e706e398f18d
2021-12-30 02:37:37 +00:00
Martin Liu
2b741a51c5 gs101: set readahead_size_kb=128 to vendor, product and system_ext
To avoid memory pressure

Bug: 181567573
Test: check readahead size
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I0ef6456a96ef923fe681112560d2f49c514ff529
2021-12-30 02:05:39 +00:00
Ocean Chen
c90627420b gs101: new Android.bp for non-modem projects
Separating fstab to avoid boottime regression

Bug: 210551190
Test: reboot and compare TotalBootTime

Change-Id: I2ad92d8640b2cc25383c5cf5755001f73a5f8861
2021-12-28 10:12:44 +00:00