Commit graph

6664 commits

Author SHA1 Message Date
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
Yu(Swim) Chih Ren
b324693b5a Remove clock boost configuration for MIF,TNR,CAMINT when CAMERA_LAUNCH in powerhint.json am: 51883e751e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14930014

Change-Id: I18e87072d333cbf61dd3c10c42f6e10d8b15dca9
2021-06-10 10:32:58 +00:00
Taehwan Kim
2599bb6d29 firmware: update MFC F/W(21/05/31)
- Modified HEVC decoder error handling which
    copy the nearest reference frame to current frame when error is detected.
- Implemented so that SBWC can be off/on during decoding when SBWC is enabled.
- Fix the max I frame size calculation bug when RC mode is CBR_VT. (RC_MODE = 3)
- Modified so that H.264/HEVC decoder can consumed AUD NAL type stream
    when AUD is added at the end of frame.

Bug: 176415285
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: I6ceb2cdc2544a40dc505772fb50b5bd1ccd720bd
2021-06-10 10:18:18 +00:00
eddielan
e80b38ec06 gs101: Use findstring to filter factory build target am: b70217e433 am: cb2548617b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14930016

Change-Id: I7cd923032f9f4b0cb3fab285e345954f6eeb05c0
2021-06-10 09:50:28 +00:00
eddielan
1d0cc0e477 gs101: Use findstring to filter factory build target am: b70217e433
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14930016

Change-Id: I061455a751475651c544e61aee90d3643bea5d68
2021-06-10 09:30:54 +00:00
Yu(Swim) Chih Ren
acfa6b834f Remove clock boost configuration for MIF,TNR,CAMINT when CAMERA_LAUNCH in powerhint.json
Reason for remove: face enroll fail

Bug: 168654554
Bug: 187759712

Test: check ISP clock freq no change on local device
Change-Id: I7d70c1fdd7e5d067db1941cced69a375b66ebc89
2021-06-10 09:28:08 +00:00
eddielan
0964f14595 gs101: Use findstring to filter factory build target
Bug: 190687357
Test: Build pass
Change-Id: I0f1fdde9ca01f8f06dcf026d47a98785cf35df57
2021-06-10 09:18:39 +00:00
Adam Shih
14b92cbe5b reorganize trusty_metricsd settings am: 187a532e2a am: ed80d1279e am: 2a598d1526
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14909767

Change-Id: I8ed00b26c6894aba7b75951e5f5a353d42678dde
2021-06-10 06:40:51 +00:00
Adam Shih
e38d1c59b4 reorganize trusty_metricsd settings am: 187a532e2a am: ed80d1279e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14909767

Change-Id: Ie6c68827e0372152a15d89e8013bf634f68b514b
2021-06-10 06:24:28 +00:00
Adam Shih
ce0410dcf2 reorganize trusty_metricsd settings am: 187a532e2a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14909767

Change-Id: I8f2d109a257b4764f6ee94f58ba1ddd69a30111f
2021-06-10 06:13:25 +00:00
Adam Shih
cdc350b5e6 reorganize trusty_metricsd settings
Bug: 190331503
Test: build ROM and see the file and sepolicy settings are still there
Change-Id: I212df916799b8acf831158153209bd2a1f7dfc5f
2021-06-10 05:52:40 +00:00
Rick Yiu
2fa258f614 gs101: Refine vendor_sched parameters am: 97bbe9920b am: efbc524152 am: acd0e667a5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14776176

Change-Id: I70df6362e7795556466dee93cd90f2870bf203a7
2021-06-10 05:16:52 +00:00
Rick Yiu
bba42c58aa gs101: Refine vendor_sched parameters am: 97bbe9920b am: efbc524152
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14776176

Change-Id: Iabe47c4a6b1deeb7c42ffe573c0fc25cc0ee7c09
2021-06-10 04:59:16 +00:00
Rick Yiu
60d189734e gs101: Refine vendor_sched parameters am: 97bbe9920b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14776176

Change-Id: I3276379abf39e3e0224bfc82bf0a4f3a78245b7d
2021-06-10 04:36:39 +00:00
Rick Yiu
7e195263bf gs101: Refine vendor_sched parameters
Also set 512 to bg_group_throttle.

Bug: 170508405
Test: value set correctly
Change-Id: I5ff0a9630b459b8783f358106da4ca2a20154636
2021-06-10 04:16:44 +00:00
Adam Shih
e66fb022de organize EdgeTPU modules and sepolicy am: f3966f6bcb am: 73d3a1358b am: 4287dfc98f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14909756

Change-Id: I579405d75917dc8f516049f2c2102c493155c890
2021-06-10 03:46:14 +00:00
Adam Shih
7911e30e09 organize EdgeTPU modules and sepolicy am: f3966f6bcb am: 316f65b034 am: fd439b40e8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14909756

Change-Id: Ifa5c82eef566fe848ee9f165c1811c7ed0e882cb
2021-06-10 03:46:05 +00:00
Adam Shih
1e6f9ad7fa organize EdgeTPU modules and sepolicy am: f3966f6bcb am: 73d3a1358b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14909756

Change-Id: I4fbf3fccd99b0ada4f1d98c217a4ca1582037bd8
2021-06-10 03:29:20 +00:00
Adam Shih
8243cd9a3b organize EdgeTPU modules and sepolicy am: f3966f6bcb am: 316f65b034
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14909756

Change-Id: I29912936a8f5920f14daaec07182f7fa6c7d8e42
2021-06-10 03:24:10 +00:00
Adam Shih
91a2235621 organize EdgeTPU modules and sepolicy am: f3966f6bcb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14909756

Change-Id: Ibdd2be9697a4edd2cf749ff96a180972a6190fc6
2021-06-10 03:12:37 +00:00
Adam Shih
a169c37d9d organize EdgeTPU modules and sepolicy
Bug: 190331327
Bug: 190331548
Bug: 189895600
Bug: 190331108
Bug: 182524105
Bug: 183935302
Test: build ROM and check if the modules and sepolicy are still there
Change-Id: Id28ac2094e14051defe0401055d862c6353194f7
2021-06-10 02:53:28 +00:00
David Chao
1cf44e4937 powerhint: thermal: Support powerhint to change tmu control-temp am: 7769380db2 am: e8609547e6 am: bfb99ccb74
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14702506

Change-Id: I4a87becab9fca5659f706771acd4fbf53b12d942
2021-06-09 08:33:08 +00:00
David Chao
e17df60cf1 powerhint: thermal: Support powerhint to change tmu control-temp am: 7769380db2 am: b684beb56f am: b48466de7b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14702506

Change-Id: I49818247cbc07e70b6d1617e168358a40bc944e4
2021-06-09 08:32:49 +00:00
David Chao
b37cdc9c19 powerhint: thermal: Support powerhint to change tmu control-temp am: 7769380db2 am: e8609547e6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14702506

Change-Id: Ibe2a2e9a43c8ca9e04af9aad21e41f0cd76d7008
2021-06-09 08:27:11 +00:00
David Chao
153e5e4abc powerhint: thermal: Support powerhint to change tmu control-temp am: 7769380db2 am: b684beb56f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14702506

Change-Id: Ie40d0694bb7d7e55eb49630b4acbde7c777920cd
2021-06-09 08:21:15 +00:00