Ruslan Tkhakokhov
0947a2b506
[gs101] Swap Pixelmigrate for Restore APK in default-permissions
...
Bug: 186731327
Test: atest DefaultPermissionGrantPolicyTest
Change-Id: I5d63d1cf918dead3c6fa6db6c131404e37f91232
2021-06-14 11:14:57 +00:00
Martin Liu
3fb75fea8b
device-common: include Pixel common MM mk file am: e23cd74283 am: 41fa855429 am: f8bd625987
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14941512
Change-Id: I0e7d73cef560f71dbd2d5f02b2cb91c97117276f
2021-06-14 08:32:22 +00:00
Minchan Kim
54ad09ee59
enable zram writeback job scheduling am: 17fc9a8912 am: 55fc1dd52d am: dc9b2d659e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914712
Change-Id: I4f28a3ceea2d1b52f96a114c4cc210c4749d0d7a
2021-06-14 08:32:21 +00:00
Martin Liu
0dd235229f
device-common: include Pixel common MM mk file am: e23cd74283 am: 41fa855429
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14941512
Change-Id: I44e413290d292dff209aa74a6c880ba64ae19644
2021-06-14 08:19:13 +00:00
Minchan Kim
984c7f79a0
enable zram writeback job scheduling am: 17fc9a8912 am: 55fc1dd52d
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914712
Change-Id: Iac4540562e3b2b342d1710d0117e53f336f1b91e
2021-06-14 08:19:12 +00:00
Martin Liu
76a3bd4518
device-common: include Pixel common MM mk file am: e23cd74283
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14941512
Change-Id: Ibdc5eea8aee49d3560cc32f957e0071c0d2a7a30
2021-06-14 07:58:02 +00:00
Minchan Kim
bb1a3b6a8f
enable zram writeback job scheduling am: 17fc9a8912
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914712
Change-Id: I7fd921ac9f58e8b566f708bfcabdddce14b37a8a
2021-06-14 07:58:01 +00:00
Martin Liu
c739bbe115
device-common: include Pixel common MM mk file
...
This will enable zram and Pixel common config
Test: confirmed first writeback work via dumpsys jobscheduler | grep Zram
check watermark_boost_factor
Bug: 190571517
Bug: 189938926
Bug: 190732106
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I1a475ea5481d21c7f9fa14eb5f01c6d6802def72
2021-06-14 07:43:37 +00:00
Minchan Kim
c255722fe9
enable zram writeback job scheduling
...
Test: Confirmed the initial write working with console log
Bug: 190571517
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: Idb9f800455c62251bad333a015385cb5bd5029cc
2021-06-14 03:14:53 +00:00
Sung-fang Tsai
17bd4bb4e7
Add GCA_CAMERA_SHOT power hint. am: 9591cc3322 am: 0367a03d28 am: 3d18c1ba2b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14689771
Change-Id: Ib947ddc14d6f46eb04e3fa1218873b4f9d17b60e
2021-06-13 12:18:38 +00:00
Sung-fang Tsai
8b4b6acb0d
Add GCA_CAMERA_SHOT power hint. am: 9591cc3322 am: 0367a03d28
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14689771
Change-Id: I1460bece7310269f9806f34c51e2a57c111d4444
2021-06-13 11:55:29 +00:00
Sung-fang Tsai
249402cd55
Add GCA_CAMERA_SHOT power hint. am: 9591cc3322
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14689771
Change-Id: I96e1d64cb86ae49441902081281bb72b0eb197c2
2021-06-13 11:45:04 +00:00
Sung-fang Tsai
27528a54d8
Add GCA_CAMERA_SHOT power hint.
...
GCA need intensive processing for camera shot and need to tune the
system performance to speed up the processing time. Adds
GCA_CAMERA_SHOT_{BIGCPU/BIGMIDCPU/ALLCPU} power hints to enable GCA to do
adequate power hint for this situation.
Bug: 187373665
Test: On device with GCA: b/187373665#comment8 with forrest.
Change-Id: Ife75e52a60de4d67369280998b193fe3ca7f8173
2021-06-13 09:30:22 +00:00
Kelly Rossmoyer
103f721941
Adaptive Suspend: configure first param set am: 3f428fafe4 am: 6a50ca3ab3 am: 91a6cecba5
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914609
Change-Id: Ib4c1fe0a9640be099aea6b0df67b51c7cd061540
2021-06-13 01:17:48 +00:00
Kelly Rossmoyer
a4fdba4ad5
Adaptive Suspend: configure first param set am: 3f428fafe4 am: 6a50ca3ab3
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914609
Change-Id: Ib5c81618db34a0bb93e1fca9d15eacbb28236813
2021-06-13 01:04:26 +00:00
Kelly Rossmoyer
432bd7173d
Adaptive Suspend: configure first param set am: 3f428fafe4
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914609
Change-Id: I129c2612cebde4e10d44d224d84ab32ea6182864
2021-06-13 00:51:24 +00:00
Kelly Rossmoyer
eba0f4ff66
Adaptive Suspend: configure first param set
...
This CL configures the first set of experimental parameters for Adaptive
Suspend on targeted devices, including:
* dropping the max backoff from default 60 seconds down to 40
* changing the break-even threshold from 5 seconds (which was just for
collecting data) to 2
* enabling backoff on short suspends
BUG: 171433995
Test: ran on test device and observed suspend behavior
Change-Id: Icebf50aeade713591f1641664df11570d184d352
2021-06-13 00:34:09 +00:00
Kris Chen
8de9ffcfee
Add power hint for fingerprint am: 68928345aa am: 169ed7c55e am: 476dfccd63
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14661997
Change-Id: I29318adde11f2e07636df60845386529868a61d4
2021-06-12 10:52:48 +00:00
Kris Chen
70d989f79f
Add power hint for fingerprint am: 68928345aa am: 169ed7c55e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14661997
Change-Id: I473e9c609b70ed899bebc5557d93cbdc67fffdd8
2021-06-12 10:41:00 +00:00
Kris Chen
793d8c77c0
Add power hint for fingerprint am: 68928345aa
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14661997
Change-Id: I7a7f622131e54d8ab078b77a5ba6f94b2276ab4a
2021-06-12 10:27:56 +00:00
Kris Chen
71391a0cec
Add power hint for fingerprint
...
Boost frequency of CPUBigCluster when running fingerprint algorithm.
Bug: 185893477
Test: Observe from systrace that the CPU frequency is boosted when
running fingerprint algorithm.
Change-Id: I9e8e727a61f9a2679fc2a00d6e2a1dd4a6c9de99
2021-06-12 10:08:33 +00:00
Jimmy Shiu
9eed5dbf3b
Remove little core hard freq boost for the INTERACTION am: bfe7388900 am: 2ad6bc679c am: ca31c5ef61
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14844571
Change-Id: I4d25d42f5293ed160eba9368894df2c12b73dded
2021-06-12 06:48:57 +00:00
Jimmy Shiu
8a4a6592dd
Enable SF main thread boost with uclamp.min=30 am: 8e9f11f563 am: fcb45d98d2 am: 166aec4aa3
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914955
Change-Id: Ibb1437a802a9448d3e238fe2daf4578bae23fed7
2021-06-12 06:48:56 +00:00
Jimmy Shiu
9d9ecc0238
Remove little core hard freq boost for the INTERACTION am: bfe7388900 am: 5645711e11 am: d428ab22af
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14844571
Change-Id: I4c25e6ce1626d57629ecefd99592026960579d17
2021-06-12 06:48:48 +00:00
Jimmy Shiu
1ddc03705a
Enable SF main thread boost with uclamp.min=30 am: 8e9f11f563 am: bee8e3f68c am: 62d5e78b44
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914955
Change-Id: I4dfcb1e5bdae1297b4eabae4cc8cc337d3a3ac40
2021-06-12 06:48:46 +00:00
Jimmy Shiu
48b0adf4db
Remove little core hard freq boost for the INTERACTION am: bfe7388900 am: 2ad6bc679c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14844571
Change-Id: I1f7c960e5f2aedb7e24d2de634a088e42c88217e
2021-06-12 06:36:40 +00:00
Jimmy Shiu
dcb3981a1f
Enable SF main thread boost with uclamp.min=30 am: 8e9f11f563 am: fcb45d98d2
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914955
Change-Id: I46c59053ffef93c8b2d95981fc260dcddf47db50
2021-06-12 06:36:39 +00:00
Jimmy Shiu
37f2edf8cb
Remove little core hard freq boost for the INTERACTION am: bfe7388900 am: 5645711e11
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14844571
Change-Id: I4d9051937599cb45a1a4a934b7e6d49e842c9145
2021-06-12 06:36:18 +00:00
Jimmy Shiu
08e74ac243
Enable SF main thread boost with uclamp.min=30 am: 8e9f11f563 am: bee8e3f68c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914955
Change-Id: I967fc779cb0e39819668d7e3d70a0bcdd9a5c7df
2021-06-12 06:36:17 +00:00
Jimmy Shiu
329a3823d4
Remove little core hard freq boost for the INTERACTION am: bfe7388900
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14844571
Change-Id: I04ccf1fa5afd618ba3645bfcbcc1e0d6bd88f3b9
2021-06-12 06:19:09 +00:00
Jimmy Shiu
75cd4fc660
Enable SF main thread boost with uclamp.min=30 am: 8e9f11f563
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914955
Change-Id: I4c1220974d09c175cd9d18d3fc5d7598336a0c4f
2021-06-12 06:19:08 +00:00
Jimmy Shiu
c87b3df93e
Remove little core hard freq boost for the INTERACTION
...
Set SF uclamp.min instead of a min floor
Bug: 190145608
Test: Manual Test
Change-Id: Ie54be008739ea2555fcf8eb7878593d4bdddb89b
2021-06-12 06:05:29 +00:00
Jimmy Shiu
e209e8fbe9
Enable SF main thread boost with uclamp.min=30
...
Bug: 190137562
Test: boot and check uclamp.min of SF
Change-Id: Ifd6ad8d67fb0a3ecd2464540b670839cea1e867b
2021-06-12 06:05:29 +00:00
David Anderson
04f47d6e24
Enable compressed snapshots/VABc.
...
Bug: 185400304
Test: treehugger
Test: apply OTA
Change-Id: I1a2242b219f11212431a5a9207ec5a832e944c46
2021-06-11 03:17:18 +00:00
Kyle Lin
d500b09560
init.gs101.rc: adjust memlat settings am: b70354c760 am: 26e1d08dd0 am: 9cc537a66d
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14762971
Change-Id: Ief555ad22c09f6988394a9975aa55c3ee4b2813e
2021-06-11 00:48:09 +00:00
Kyle Lin
e9b6c472f5
init.gs101.rc: adjust memlat settings am: b70354c760 am: 26e1d08dd0
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14762971
Change-Id: I8318c910ad7bf80c683a5d4644aaf0730bede057
2021-06-11 00:33:42 +00:00
Kyle Lin
2b58ea89da
init.gs101.rc: adjust memlat settings am: b70354c760
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14762971
Change-Id: I6291fccfc7ab5af1f222d95f6279745b73e00b5d
2021-06-11 00:19:42 +00:00
Kyle Lin
dc29ed3477
init.gs101.rc: adjust memlat settings
...
Bug: 170479348
Test: build, boot and check the values
Change-Id: I4d2463dbb377074916ac1d5fe2f4b8880fa58da0
2021-06-11 00:06:23 +00:00
Kelvin Zhang
814a6688e2
Add a build time constant to disable VABC
...
Test: m
Bug: 185400304
Change-Id: I4ed5676f4a1195f084ed447196ee9e3ce71ec84a
2021-06-10 23:24:37 +00:00
Peter Liu
e7cd588ac8
camera power hint: add prefer high cap and prefer idle = 0 to top app am: cf876e0113 am: aee6949c53 am: 7c098e4299
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14929975
Change-Id: I769925590705cbb951e880d64182f957377ba1b5
2021-06-10 20:42:19 +00:00
Peter Liu
862d726c92
camera power hint: add prefer high cap and prefer idle = 0 to top app am: cf876e0113 am: 254d9ef26b am: 56d9953c95
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14929975
Change-Id: I10f51e66dea676186304b574d55d1404f4680fcc
2021-06-10 20:42:03 +00:00
Peter Liu
b28e52f309
camera power hint: add prefer high cap and prefer idle = 0 to top app am: cf876e0113 am: aee6949c53
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14929975
Change-Id: I0d6829f76575cfd01c5ddf093406ca3ca5d64758
2021-06-10 20:31:24 +00:00
Peter Liu
6e946de0a7
camera power hint: add prefer high cap and prefer idle = 0 to top app am: cf876e0113 am: 254d9ef26b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14929975
Change-Id: I1d304a55eeae6d5497a7f59e2dec49a136d1119d
2021-06-10 20:26:34 +00:00
Peter Liu
265ee180f7
camera power hint: add prefer high cap and prefer idle = 0 to top app am: cf876e0113
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14929975
Change-Id: I8f04a19b412a72c08ebe5e6be4da357d0e981912
2021-06-10 20:05:11 +00:00
Peter Liu
2abc122f88
camera power hint: add prefer high cap and prefer idle = 0 to top app
...
Prefer high cap and prefer idle is to optimize power and
trade off with scheduling latency.
Applying to app side does has no regression on frame drops.
And we can not apply prefer idle to hal process as it impact performance.
Bug: 190127212
Test:
1080p60: 20mW power saving, 59fps no regression
slow-mo 240fps: 239+fps
Change-Id: I548becbd2d6ccac8b576cfe54f9021bbf30b4801
2021-06-10 19:40:32 +00:00
Taehwan Kim
a9791b8f85
firmware: update MFC F/W(21/05/31) am: 8c8bf850f2 am: 5a82849303 am: 282766d061
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14868629
Change-Id: Iefbf09e911e74734267a7d96f0f8ee0d0f38ec89
2021-06-10 11:05:38 +00:00
Yu(Swim) Chih Ren
42f73dc65e
Remove clock boost configuration for MIF,TNR,CAMINT when CAMERA_LAUNCH in powerhint.json am: 51883e751e am: 5e5c326208 am: 6099616600
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14930014
Change-Id: I60ffe2ae62b454ecae4983416a3d6d8e7143722e
2021-06-10 11:05:28 +00:00
Taehwan Kim
902d8d5c80
firmware: update MFC F/W(21/05/31) am: 8c8bf850f2 am: 5a82849303
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14868629
Change-Id: I65b4c606d588f5999f09ac0a8dfa120f9264c893
2021-06-10 10:47:24 +00:00
Yu(Swim) Chih Ren
d89b255536
Remove clock boost configuration for MIF,TNR,CAMINT when CAMERA_LAUNCH in powerhint.json am: 51883e751e am: 5e5c326208
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14930014
Change-Id: Ie3183652db70746075deabb663b618ec5781ac01
2021-06-10 10:47:19 +00:00
Taehwan Kim
4519625770
firmware: update MFC F/W(21/05/31) am: 8c8bf850f2
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14868629
Change-Id: I7052fd27c562c480fb7eef11d66be25078e953f4
2021-06-10 10:33:02 +00:00