Jimmy Shiu
887dd1a50d
ADPF: add ADPF_DISABLE_TA_BOOST for powerhint am: 7d974ac001
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14665957
Change-Id: Ic59efc3c8379739260287bcc162ec61b4e6cb3b7
2021-06-14 17:25:05 +00:00
Wei Wang
21ac6dbc39
Enable ADPF hint am: 65e9cc03ff
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14687079
Change-Id: I2de22322f2ae0cd57aa340b25452e335dba59b10
2021-06-14 17:25:04 +00:00
Jimmy Shiu
16934c353f
ADPF: add ADPF_DISABLE_TA_BOOST for powerhint
...
Add ADPF_DISABLE_TA_BOOST hint for masking TA boost when ADPF is active
Test: build, boot to home
Test: adb shell cat /sys/kernel/vendor_sched/ta_uclamp_min
Bug: 177493042
Change-Id: I6bbeebf80fe4ba7b1e957cde5ed0d4202a2da818
2021-06-14 17:09:07 +00:00
Wei Wang
4b696faee6
Enable ADPF hint
...
Test: build, boot and trace
Bug: 177493042
Change-Id: I05bc6b879506934ad35521ae21e2b3a33740f268
2021-06-14 17:09:07 +00:00
Ruslan Tkhakokhov
ad8e134b9f
[gs101] Swap Pixelmigrate for Restore APK in default-permissions am: aaa3326d7f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14921932
Change-Id: I09ca86e55d9068412b97b1b01f5b396a696490fa
2021-06-14 14:23:54 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
e60df59a2e
powerhint: thermal: Support powerhint to change tmu control-temp am: 7769380db2
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14702506
Change-Id: I797f3f9bf01abac35807437263721b310a6632c3
2021-06-09 08:08:15 +00:00
David Chao
851357462f
powerhint: thermal: Support powerhint to change tmu control-temp
...
Bug: 188579571
Test: powerhint changed control-temp properly.
Change-Id: I7d57ab3b3895d2f358d0bd1911224325ede9dd51
Signed-off-by: David Chao <davidchao@google.com>
2021-06-09 14:31:39 +08:00
chened
d9fba5c69c
camera: disable partial result by default for factory build am: ffcefc5e07
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14877091
Change-Id: Icca62c406ea3d3913db21e93d610a64860d4f2cc
2021-06-09 05:44:08 +00:00
chened
a5afec518c
camera: disable partial result by default for factory build
...
Test: build pass
Bug: 190228974
Bug: 190250102
Change-Id: I92c6d3f9e85a3b9d04a48b5c6d8cd5bdde7a63c0
2021-06-09 05:22:44 +00:00
Yu(Swim) Chih Ren
be3aa1785f
Use powerhint to increase mem, intcam, tnr clock when camera lunch to am: 2e92edf1be
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14807273
Change-Id: I183ec3b71ff24eeade0198e542bd97fe6bb51353
2021-06-09 04:37:08 +00:00
Yu(Swim) Chih Ren
09706755b6
Use powerhint to increase mem, intcam, tnr clock when camera lunch to
...
improve camera start performace
Bug: 168654554
Test: 1. check clock freq related file when camera start
2. P21 camera checklist
Change-Id: I3447a6028846cc873e9c7195826c470bceaf03c8
2021-06-09 04:18:05 +00:00
Adam Shih
3ab2148f5c
modulize hal_neuralnetwork_armnn am: 556df03c4c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14881194
Change-Id: Id4b86796a82cc7637fb468d7bb5d02a493624a46
2021-06-09 03:37:23 +00:00
Daniel Mentz
94c8fe6cd5
gs101: migrate to bootimg header v4 (second attempt) am: fbe5ace1a8
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14315232
Change-Id: I472a2aa6cbd6240fa0fe942e78f5aeb0bdefdc11
2021-06-09 03:37:18 +00:00
Adam Shih
e89080c7a6
modulize hal_neuralnetwork_armnn
...
Bug: 189895314
Bug: 171160755
Bug: 171670122
Bug: 180858476
Test: make sure all affected devices' armnn module has the right label
Change-Id: Ie618a5477b4e447774b20a58c9f091ae9fe529d6
2021-06-08 23:03:04 +00:00
Daniel Mentz
c37a73b74f
gs101: migrate to bootimg header v4 (second attempt)
...
We migrate to bootimg header v4 and build the following two vendor
ramdisk fragments.
Type: Platform, Name: "", Contents: Everything but kernel modules
Type: DLKM, Name: "dlkm", Contents: Kernel modules (incl. modules.load etc.)
Bug: 183237066
Change-Id: I626cb87ba8111d0615b80cf981ebc288893a0624
2021-06-08 22:29:48 +00:00
Lucas Dupin
0dfc2535ba
Enable blurs am: 4f86cdd63f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14829939
Change-Id: I4a560047f3225503c41184362dd2cbe4aa53db39
2021-06-08 16:56:38 +00:00
Lucas Dupin
d8f101ad4c
Enable blurs
...
Bug: 181092919
Test: manual; performance scripts
Change-Id: I5875a99167e80ddd5b79fc245f988d8a6ac167be
2021-06-08 16:38:30 +00:00
Cyan Hsieh
63420a9717
Revert "Set audio.camerasound.force for JP devices" am: e561684b39
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14881198
Change-Id: I4fc2757d1dfa86eaea0d02ab002dab9c5722fb21
2021-06-08 11:28:32 +00:00
Cyan Hsieh
88218211cc
Revert "Set audio.camerasound.force for JP devices"
...
This reverts commit b6c4f766b748af81d502cf031c75b2c6c4c7cf09.
Reason for revert: switch to use ro.boot.hardware.sku for judgement
Bug: 188396079
Change-Id: I012b2d32d9b7245fd1d1be5a00c5e922a1f52d19
2021-06-08 16:50:31 +08:00
David Li
fb3c8d9a4e
audio: upgrade audio.usb.default from v1 to v2 am: 174e0f9a18
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14513739
Change-Id: Iba6eb8f85d3ae9fdd21ac047fa535aee5b3f6a3b
2021-06-08 06:35:45 +00:00