Commit graph

3062 commits

Author SHA1 Message Date
Android Build Coastguard Worker
799cc1c44c Snap for 8677156 from fc6271573e to tm-release
Change-Id: I3026cd17ab982fde57c3eb53541a0b635108fbfc
2022-06-02 23:02:38 +00:00
Steve Berbary
fc6271573e [automerger skipped] [DO NOT MERGE] Update oriole SVN to 31 am: abfd17b3c1 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/18703426

Change-Id: Ife7bae6aed595b3733b2f8a1e700bc97143e77b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-02 00:45:41 +00:00
Steve Berbary
011c9b5858 [automerger skipped] [DO NOT MERGE] Update raven SVN to 31 am: e381ffc6fe -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/18703046

Change-Id: I09619a0fd687dcfc8225a53b15996fb845abaa64
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-02 00:45:35 +00:00
Steve Berbary
abfd17b3c1 [DO NOT MERGE] Update oriole SVN to 31
Bug: 231380374
Change-Id: I96baab5b6fceefb38f945623e825ef3f0845ed35
2022-06-02 00:40:12 +00:00
Steve Berbary
e381ffc6fe [DO NOT MERGE] Update raven SVN to 31
Bug: 231380374
Change-Id: I5a1072b5366bde0048937941d3f014bdf3c7019f
2022-06-02 00:24:54 +00:00
Android Build Coastguard Worker
d6b6e9e9f9 Snap for 8671863 from e2c205b11b to tm-release
Change-Id: I785ce48aed1d7fd7ab1eb86af680c6ca8358d494
2022-06-01 23:02:36 +00:00
Steve Berbary
ed9ea3d15b [automerger skipped] [DO NOT MERGE] Update oriole SVN to 30 am: c3b1a6ff86 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/18625326

Change-Id: Ifaa8908f84687557d013f8717b909caaddbb0dcf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 22:30:20 +00:00
Steve Berbary
665273cca0 [automerger skipped] [DO NOT MERGE] Update raven SVN to 30 am: 88b2efd74b -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/18622716

Change-Id: I29f806169ef92fd858ac317908a7889618b5ab4b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 22:30:12 +00:00
Steve Berbary
c3b1a6ff86 [DO NOT MERGE] Update oriole SVN to 30
Bug: 231380374
Change-Id: I7e71f4663f8b07367b8f33e99bf28a23a9110259
2022-06-01 22:20:36 +00:00
Steve Berbary
88b2efd74b [DO NOT MERGE] Update raven SVN to 30
Bug: 231380374
Change-Id: I9b819378787f80c6cd254abc968106b3dc57558a
2022-06-01 20:06:03 +00:00
Paul Scovanner
e2c205b11b Update Raviole SVN to 31
Bug: 232157623
Change-Id: I3bd635f4229f0332c8dd5dba0c3d1677535da99d
2022-05-31 19:27:07 +00:00
Android Build Coastguard Worker
c10b77308b Snap for 8656240 from 3e31f88208 to tm-release
Change-Id: I90cc3bc4d73de58baa9bd9050146c784f28ea5fa
2022-05-28 01:03:06 +00:00
Richard Hsu
3e31f88208 [Tuning] Disable CPU Idle in NNAPI workload with PMQoS CPU DMA Latency
To improve the return path latency, we want to keep the CPU at at least WFI state (Idle_1). The PMQos cpu_dma_latency knob prevents the CPU from falling below WFI state. This makes the return path CPU wakeup latency very good. Check with wvw@, the power impact shouldn't be too significant.

The average energy cost per inference dropped from 3.85 to 3.47 mJ. The reason why the power number is lower WITH disable-idle is that, due to better latency, we get to run more inferences given the same amount of time. This makes the average power consumption lower.

Measurement:
MLPerf IC model Latency (ms) Power (mW) Energy/inference (mJ) MLPerf scores
Default 1.35 2837 3.85 560
Disable CPU Idle 0.98 3539 3.47 826

https://docs.google.com/presentation/d/1zx7sLkhOClmuRTCrq8-l3N1mZrrv7f-CtcdMuzV0eaI/edit?pli=1#slide=id.g12dd9e50b4b_0_0

Bug: 232183574
Test: MLPerf on Android T. Performance improved. Verified on Perfetto.
Change-Id: If067e0851bea0475043ef2127a25ed3a5fdab093
2022-05-27 22:18:23 +00:00
jimmyshiu
15215ef471 ADPF: Skip I signal and set Uclamp init value
Skip I signal by setting kI to 0 and use UclampMinInit as the display
update boost value.

Bug: 232992641
Test: Manual Test
Change-Id: Iee49cb054817d49d18498ceced61446916669887
2022-05-27 22:04:51 +00:00
Daeho Jeong
43c5e96ce4 disable powerhint for F2FS gc_urgent mode
Disable the powerhint for F2FS gc_urgent mode, since we are going to
replace this with the smart idle maintenance service.

Test: turn on/off the screen & check /sys/fs/f2fs/dm-*/gc_urgent
Bug: 214430685
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Change-Id: I6acf8e9e8a8d7e33d89acb1be44ea340e3f02241
2022-05-25 08:37:17 -07:00
Android Build Coastguard Worker
ebd2fb9297 Snap for 8637088 from 9610e3d430 to tm-release
Change-Id: I59eae6bd94446e92017bc58f996d623f8493c93b
2022-05-24 23:02:47 +00:00
Jasmine Cha
9610e3d430 audio: improve mute duration
- redefine mute duration of primary output from 160ms to 40ms to avoid
  cutting of preview notification.

Bug: 233176336
Test: preview notification/voice end call tone

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ib696638eca99b1f58300533cca586cab209b188d
2022-05-24 06:19:32 +00:00
Android Build Coastguard Worker
9b973657af Snap for 8626663 from 28a492df0e to tm-release
Change-Id: If585e228546c523ab9952c45ad7bf3114a689d54
2022-05-21 21:01:22 +00:00
Android Build Coastguard Worker
d316798075 Snap for 8624184 from 9c27ad6042 to tm-release
Change-Id: I869591732fa64bc5198bd8d6faf9b9930757b5a8
2022-05-21 01:01:44 +00:00
Wei Wang
28a492df0e Boost foreground group when app launch
To improve app launch time.

Bug: 233236422
Test: build pass
Change-Id: I308aaf3133136b13fd71cdc3a60a1665e3483654
2022-05-21 00:03:51 +00:00
chungkai
0168d7f708 powerhal: add uclamp_threshold and reduce_prefer_idle node
we need disable uclamp_threshold and reduce_prefer_idle
under launch scenarios.

Bug: 232593932
Test: build pass
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I83573ed4640cd841d99cff0b52df0335332623df
2022-05-21 00:01:36 +00:00
jonerlin
9c27ad6042 O6R4: Add hci_inject tool in user debug build
Bug: 228943442
Test: manually
Change-Id: I42f7553f6cea54cf8c476bb886f4425ed702cdb5
2022-05-20 05:06:29 +00:00
Android Build Coastguard Worker
c832b08728 Snap for 8617226 from f680529e42 to tm-release
Change-Id: I363dba51973c1ad460bb599f5922b48fcd4cbceb
2022-05-19 23:02:20 +00:00
Steve Berbary
a1bc91efb0 Update oriole SVN to 29 am: fe94a8e370
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/18367911

Change-Id: I589330eff635840a31f564c91fae445f8a278986
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-19 20:23:30 +00:00
Steve Berbary
51eae801fd Update raven SVN to 29 am: 5dc47062e1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/18385626

Change-Id: If7e77481fc8235808b04f87a9835260ea6393e6c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-19 20:23:14 +00:00
chasewu
f680529e42 vibrator: add device specific constants
Add device specific constants required for calculating the bandwidth
amplitude map

Bug: 230807667
Test: verify the property values on P21 devices
Signed-off-by: chasewu <chasewu@google.com>
Change-Id: I9716e3d39e4196825baeebec5c968e470aa644ee
2022-05-18 11:03:41 +00:00
Android Build Coastguard Worker
b79fddb0b4 Snap for 8604704 from 92d180a8e8 to tm-release
Change-Id: I40f08cc83e97b4ed7f040c6f7509a301ab9ac800
2022-05-17 23:01:25 +00:00
Wei Wang
92d180a8e8 Remove FPS based hints for TA boost
Bug: 205369368
Test: Build
Change-Id: I063f8aa6d77b966d50d11c0135880ff787870e07
Signed-off-by: Wei Wang <wvw@google.com>
2022-05-17 16:13:42 +00:00
Steve Berbary
fe94a8e370 Update oriole SVN to 29
Bug: 231380374
Change-Id: I76522b37ddbccc5c652ca8913d4865df0687a941
2022-05-17 09:33:45 +00:00
Steve Berbary
5dc47062e1 Update raven SVN to 29
Bug: 231380374
Change-Id: Ibd95cc73a65f3eb356f16c1c38e34684340f6636
2022-05-17 02:19:50 +00:00
Android Build Coastguard Worker
c1574a2185 Snap for 8598607 from f852909872 to tm-release
Change-Id: If7aafbab9197930db18951b04ac6c5c184394c6e
2022-05-16 23:01:34 +00:00
Jimmy Shiu
f852909872 ADPF: remove UclampMin_Granularity
No need to prevent uclamp.min update rate by Granularity.
There is no perf impact.

Bug: 232336917
Test: /data/nativetest64/libperfmgr_test/libperfmgr_test
Change-Id: Ic38f133f7e6b1abe3d743fcfae71ce5a1b4780fb
2022-05-16 16:33:38 +00:00
Android Build Coastguard Worker
878f9675c5 Snap for 8593949 from 75156ec058 to tm-release
Change-Id: I48c6807965a53f73faf7159bc88c6a5cb2738435
2022-05-14 21:01:35 +00:00
Wei Wang
75156ec058 Add FGPreferIdle to app launch
Bug: 178016953
Test: boot
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I2e1a2ad5b412825f306c44e80946a1086afd7571
2022-05-14 03:00:49 +00:00
Steve Berbary
b7a7051ea5 Update raven SVN to 28 am: 96dda89b65
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/18349844

Change-Id: I3be5f444b298a5786e824b512daae1c4138d1442
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-14 02:59:59 +00:00
Steve Berbary
96dda89b65 Update raven SVN to 28
Bug: 231380374
Change-Id: Ie7a09bada534130290e85c4d84e383a7dadb9315
2022-05-14 02:38:22 +00:00
Steve Berbary
1b10bad663 Update oriole SVN to 28 am: d638a49b54
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/18356642

Change-Id: I6566c206c02bf52c1d21bef1bc13653c3cbf4a7f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-14 01:36:58 +00:00
Android Build Coastguard Worker
119ac902d9 Snap for 8590907 from ba78c78d87 to tm-release
Change-Id: I97b27eb2293bc0060dc15e14dfdff80d9e0fd627
2022-05-14 01:01:38 +00:00
Jing Ji
ba78c78d87 Turn on auto restricted bucket on abusive bg battery usage
For devices with ODPM support only.

Bug: 203105544
Test: dumpsys activity -a
Change-Id: I086b202c99d65472d143ee695b6c81d1c1897f70
2022-05-13 18:01:56 +00:00
Carter Hsu
146e6d5806 audio: update Fortemedia VoIP condition to reserve2
Bug: 226869868
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ia71851c7a66d3d180daa956d844cc4bde7ba056b
2022-05-13 09:04:41 +00:00
Rick Yiu
5d5bd92056 Disable task packing when camera is running
Task packing has slightly impact for camera performance, so disable
it when camera is running.

Bug: 230554223
Test: build pass
Change-Id: Id20fb06b30fa8448c49c8163574e336dfa89ffe4
2022-05-13 02:54:15 +00:00
Android Build Coastguard Worker
c0130b4d36 Snap for 8581162 from 63e8bde58d to tm-release
Change-Id: I6235a7cd233cf0cfecdc6aca46a00b100d914df6
2022-05-12 23:01:36 +00:00
Steve Berbary
d638a49b54 Update oriole SVN to 28
Bug: 231380374
Change-Id: I25011f177ad54a895943f911146793d75c5e021a
2022-05-12 18:40:57 +00:00
Peter_Liang
63e8bde58d Remove the voice packs of Text-To-Speech from the specific folder.
Bug: 230572940
Test: manual test
Change-Id: I946807528da21064acd704b5777a114e32a526fa
2022-05-12 09:34:45 +00:00
Android Build Coastguard Worker
f8d2114795 Snap for 8572535 from bc0c680f47 to tm-release
Change-Id: Ib16311115d4491b103e08235fcb1634d1633a58a
2022-05-11 23:01:43 +00:00
Wei Wang
4c2ebdeb7c Boost INTERACTION to 185 and remove DISPLAY_UPDATE_IMMINENT
Bug: 205369368
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I1c5cd8b6e5a36ab35df99ddfc431c5c02442794c
2022-05-11 18:32:23 +00:00
George Lee
bc0c680f47 thermal: Raise TPU DVFS state for BATOILO trigger
Jankiness is experience during BATOILO triggering.  Lowering GPU DVFS
state and Raising TPU DVFS state to re-tune throttling mix.

Bug: 231575776
Test: Boot and confirm settings
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ife93560c8864f4340e94d9afc2e8d2b47b97fc67
2022-05-11 15:47:05 +00:00
Carter Hsu
7e54d6ddf0 audio: allow mmap-record to set dsp volume
Bug: 231630423
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Iaafafe9963c102690a89e5d4fe7c63e6783450f1
2022-05-11 03:00:58 +00:00
Lily Lin
7c6e328a63 Enable read/write access to st33spi_state for euiccpixel_app
Bug: 228655141
Test: Confirm can read/write st33spi_state
Change-Id: I92cf9696c225d4e47c374ea75c78feba8216ca85
2022-05-11 01:23:38 +00:00
Android Build Coastguard Worker
e2e5c46553 Snap for 8566921 from 4f4e24cd04 to tm-release
Change-Id: I7e19e38f0c0bf4aaee22c6d2c661a9012b558614
2022-05-10 23:01:50 +00:00