Commit graph

570 commits

Author SHA1 Message Date
Robert Lee
0116a23229 audio: update speaker protection bin am: 753a76d114
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15998330

Change-Id: I5bad70f67ebc00c944d714b041a201c3d46818a6
2021-10-07 03:47:13 +00:00
Robert Lee
b571f4881a audio: update speaker protection bin
O6 Top Speaker "DOE2" Bin file changes:
- XMAX reduced by 0.05mm w/ Waves processing in circuit.
- TMAX reduced by 10degC w/ Waves processing in circuit.

sha1sum file:
315408679aa97caba462b4ba1290b2be514558ab  cs35l41-dsp1-spk-prot.bin

Bug: 202297689
Test: Build pass
Change-Id: I78252b9c0a02941601a0b13d9d2cb14661f3e102
Signed-off-by: Robert Lee <lerobert@google.com>
2021-10-07 01:54:27 +00:00
Gil
a3831f47b7 [automerger skipped] [AOD] R4O6 Modify AOD brightness setting am: 46e67d17ed -s ours am: 2d2b114244 -s ours
am skip reason: Merged-In Ica79bc6fa0c8d15c6c123f9584d48bd71eaeb094 with SHA-1 8aaa9f71b7 is already in history

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

Change-Id: I59c10d3d980129582af16c5644143ed1b443d6fa
2021-10-05 18:24:06 +00:00
Gil
b8b6426278 [automerger skipped] [AOD] R4O6 Modify AOD brightness setting am: 46e67d17ed -s ours
am skip reason: Merged-In Ica79bc6fa0c8d15c6c123f9584d48bd71eaeb094 with SHA-1 8aaa9f71b7 is already in history

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

Change-Id: Id5ab216b8c4a55074dff51ec218fad0c7166a5ba
2021-10-05 18:09:45 +00:00
Gil
8bd51be85f [AOD] R4O6 Modify AOD brightness setting
Modify High/Sun value to systme brightness format on 50 nits

Bug: b/184728677
Test: Dump brightness while entry AOD mode
      panel-samsung-s6e3hc3 1c2c0000.drmdsim.0: req: 216, br: 216
      panel-samsung-s6e3hc3 1c2c0000.drmdsim.0: req: 198, br: 198
Change-Id: Ica79bc6fa0c8d15c6c123f9584d48bd71eaeb094
Merged-In: Ica79bc6fa0c8d15c6c123f9584d48bd71eaeb094
2021-10-05 07:18:04 +00:00
Gil
f5836d5d35 [AOD] R4O6 Modify AOD brightness setting am: 8aaa9f71b7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15957761

Change-Id: Icc6b7868a3645bd17dff2fd9df9c149f5ae4c87f
2021-10-04 10:00:36 +00:00
Gil
da5a0267be [AOD] R4O6 Modify AOD brightness setting
Modify High/Sun value to systme brightness format on 50 nits

Bug: b/184728677
Test: Dump brightness while entry AOD mode
      panel-samsung-s6e3hc3 1c2c0000.drmdsim.0: req: 216, br: 216
      panel-samsung-s6e3hc3 1c2c0000.drmdsim.0: req: 198, br: 198
Change-Id: Ica79bc6fa0c8d15c6c123f9584d48bd71eaeb094
2021-10-04 03:16:58 +00:00
Martin Liu
e084e23e3c Zram: set zram size
Apply 3G zram size settings

Bug: 200899926
Test: boot
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I94e9390719833ae54be56ca3c2aeba4bd9cd9d27
Merged-In: I94e9390719833ae54be56ca3c2aeba4bd9cd9d27
2021-10-01 07:14:36 +00:00
Daniel Solomon
7686fde923 [automerger skipped] display: Update O6R4 refresh rate limitations am: 536ff9ede8 -s ours am: 4178726482 -s ours
am skip reason: Merged-In I2bebff0b5c0677e83a55168332bb2271a073bae1 with SHA-1 1db3592cca is already in history

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

Change-Id: I3270fd602d3ff83ff8596cd35d2b80e851995369
2021-09-29 18:40:31 +00:00
Daniel Solomon
cfb5797068 [automerger skipped] display: Update O6R4 refresh rate limitations am: 536ff9ede8 -s ours
am skip reason: Merged-In I2bebff0b5c0677e83a55168332bb2271a073bae1 with SHA-1 1db3592cca is already in history

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

Change-Id: I6fe402c8a873c58d771d1cdad2da9599123f7951
2021-09-29 18:25:09 +00:00
Daniel Solomon
035d7b452f display: Update O6R4 refresh rate limitations
Limit high brightness mode for HDR to 60Hz on both O6 and R4.

Bug: 196691596
Change-Id: I2bebff0b5c0677e83a55168332bb2271a073bae1
Merged-In: I2bebff0b5c0677e83a55168332bb2271a073bae1
2021-09-29 18:11:41 +00:00
David Chao
f3ba1482bf Revert "thermal: update TPU SKIN policy" am: 00246ff28c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15938208

Change-Id: I1da3db07729e6dbaefa7a36a631dbf586bc909ee
2021-09-29 15:57:01 +00:00
David Chao
dffd74885b Revert "thermal: update TPU SKIN policy"
This reverts commit 74188d76380e2227119659c2c0670490bb38e091.

Reason for revert: Breaks camera

It appears the new frequencies in these table are buggy hence breaking camera.

Bug: 201155685
Change-Id: Ib1b0fc7d865cd1e7ee8c0f5575a2211e4629f5a9
2021-09-29 15:43:51 +00:00
Daniel Solomon
7c389a3ebb display: Update O6R4 refresh rate limitations am: 1db3592cca
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15938205

Change-Id: I0eee69b9bcf7d448dd0629d4ea9178adc1eae25e
2021-09-29 13:37:41 +00:00
Daniel Solomon
2402decf7b display: Update O6R4 refresh rate limitations
Limit high brightness mode for HDR to 60Hz on both O6 and R4.

Bug: 196691596
Change-Id: I2bebff0b5c0677e83a55168332bb2271a073bae1
2021-09-29 06:33:51 +00:00
David Li
1af45f8233 audio: Update tunings for SA-lite optimization and enhance audio zoom performance am: 664101a562
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15903132

Change-Id: Ic72f61f5fc21ceafddecfdf77f94e82924e1a554
2021-09-27 10:03:24 +00:00
David Li
ec055fe259 audio: Update tunings for SA-lite optimization and enhance audio zoom performance
Reason:
- Optimize audio zoom quality in camcorder
- Add tuning parameters to fit single band DRC modification in AOC (b/198128358)

Change list:
Update recording.gatf file for modifing audio zoom tuning parameters
Update template.xml file to select single band DRC reference channel

Validation:
3rd party camcorder/recorder and GCA function are good and validation was used SD1A.210817.019.A7 (7719665)

Bug: 201031972
Test: forrest build
Change-Id: I45cf7dcb0edbd38d0041e3112d88ce29cefacb2f
2021-09-27 07:37:20 +00:00
Robin Peng
2a999c4326 Jump SVN to 4 for SU0 am: 63f4e8a907 am: 812895297b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15919063

Change-Id: Ie0e4809fd25eb352d994b60614d5c0d0e5058d06
2021-09-27 03:25:04 +00:00
Robin Peng
5eb17ee507 Jump SVN to 3 for VZW Regression am: f9e4eda9bc am: d812162e36
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15919062

Change-Id: I8e9bb90ed2aaf6a724bddf3e878ade49beb856da
2021-09-27 03:25:03 +00:00
Robin Peng
08642455ab Jump SVN to 4 for SU0 am: 63f4e8a907
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15919063

Change-Id: I4d99f97d04b8bd3b255af42e3df9920460cc2ac3
2021-09-27 03:09:56 +00:00
Robin Peng
b5305769f8 Jump SVN to 3 for VZW Regression am: f9e4eda9bc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15919062

Change-Id: If9eaa9aa1abeb7cd7593b1aaa6f3cdd7c02b0fca
2021-09-27 03:09:56 +00:00
Robin Peng
221c80b231 Jump SVN to 4 for SU0
Bug: 201204693
Change-Id: I5851574e83e8abe1f219aa43aa5e51d8406e3880
2021-09-27 09:53:13 +08:00
Robin Peng
d465c7fccb Jump SVN to 3 for VZW Regression
Bug: 201204273
Change-Id: I6d6931d49cd89533da3bdf0cb9573a64f0034fa8
2021-09-27 09:52:49 +08:00
millerliang
4c87c94832 audio: changet the period size of VoIP Record am: 47a8acc5f1 am: f3e85379a4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15824293

Change-Id: I341ba5e4b200ef4b9d242a4a7fa66bd53dd47df3
2021-09-24 07:36:05 +00:00
millerliang
5fb9498c64 audio: changet the period size of VoIP Record am: 47a8acc5f1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15824293

Change-Id: I9051aef768a94eb34b32770dafe38ed25046007d
2021-09-24 07:14:38 +00:00
millerliang
a8c236c35c audio: changet the period size of VoIP Record
Change the period size of VoIP Record to 20ms.
Otherwise it will apply fast capture.
Fast capture timestamps are not supported yet.

Bug: 196912510
Test: Build pass
Change-Id: I6434a7596880712efa7cbfa03b3480efb5e2c2aa
2021-09-24 10:41:15 +08:00
Xinhui Zhou
de3ac48082 [automerger skipped] audio: deep buffer to floating point pcm data [DO NOT MERGE] am: ee3bc4db89 am: 0492d92dc0 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6606908b96e132ea0679e4e51922c42ed2136d65
2021-09-21 22:25:49 +00:00
Xinhui Zhou
923b3af81f audio: deep buffer to floating point pcm data [DO NOT MERGE] am: ee3bc4db89
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15799241

Change-Id: I4ca8af2b8270665bd447859b010ad33ddbcd692e
2021-09-21 22:10:44 +00:00
Xinhui Zhou
411cd28a78 audio: deep buffer to floating point pcm data [DO NOT MERGE]
Bug: 199157246
Test: build pass
Signed-off-by: Xinhui Zhou <zxinhui@google.com>
Change-Id: I331d55403daadda3bb6699b3dfff0e759f782b95
2021-09-21 21:58:32 +00:00
David Chao
7bf33fafda thermal: update TPU SKIN policy am: 74188d7638
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15743310

Change-Id: Iba8dcd5d187fc03df91e25be0200e193652ce545
2021-09-20 21:39:01 +00:00
David Chao
568ea8e346 thermal: update TPU SKIN policy
Update TPU SKIN thermal throttling to supports the full DVFS state table
to match TPU hardware DVFS capabilities.

Bug: 198679654
Test: Verified by emul temp
Change-Id: I8ddc588ad4fe48c9def78a180c5ff43b4a4203de
2021-09-20 21:23:33 +00:00
Jia-yi Chen
20dc7f6da6 thermal: Update thermal config for charging am: faf677ffa1 am: 62db8d93ae
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15722388

Change-Id: Ic068aa992cd5d324ef27dd474861e190d5f7832a
2021-09-16 22:06:01 +00:00
Jia-yi Chen
04cce01ad0 thermal: Update thermal config for charging am: faf677ffa1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15722388

Change-Id: Icef862e43e5c33e6ddb9cdbccbaf43a5ba02e846
2021-09-16 21:46:48 +00:00
Jia-yi Chen
110e5b2181 thermal: Update thermal config for charging
Add a new virtual sensor VIRTUAL-SKIN-CHARGE dedicated for charging
and lower the temperature threshold for thermal severity.

Bug: 195619668
Test: Boot
Change-Id: Ia8901e55d161a9d989a3d8450b62efe844900765
2021-09-16 21:25:19 +00:00
Robin Peng
49fb30dc6a Update SVN to 2 am: 050c3b4416 am: befdefe70a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15841970

Change-Id: I917c6fe678c858ea48ce99f943b5907c37b12f94
2021-09-16 14:48:51 +00:00
Robin Peng
f4156c08f8 Update SVN to 2 am: 050c3b4416
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15841970

Change-Id: I32a28e8f13d4217aeb4ed2dc60f5187ec6eca8ee
2021-09-16 14:30:12 +00:00
Robin Peng
9b6c2f066f Update SVN to 2
Bug: 200108214
Change-Id: Ia47b376781f6d7ca9f10a7825a3e097dd6e10250
2021-09-16 13:45:13 +08:00
Beverly
37bbfa6c18 Remove doze_brightness_uses_prox config am: 303b6fbe2e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15747468

Change-Id: I8e7909a27585ead555e3f964518e02f55533aa78
2021-09-15 11:34:12 +00:00
Beverly
80e3da7342 Remove doze_brightness_uses_prox config
Moving forward, binned brightness will not
use prox. Let's get rid of this unnecessary config.

Test: manual
Bug: 194151347
Change-Id: I3352a3007138232c32aeb43ce4ec3ce97dad239d
2021-09-13 16:07:09 +00:00
Jia-yi Chen
2692884200 thermal: Update thermal config for charging am: 700b9a826a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15788926

Change-Id: I939a654f23b45649ce998a1ba38b953d28ba84d8
2021-09-10 04:03:52 +00:00
Jia-yi Chen
4a41faabc8 thermal: Update thermal config for charging
Add a new virtual sensor VIRTUAL-SKIN-CHARGE dedicated for charging
and lower the temperature threshold for thermal severity.

Bug: 195619668
Test: Boot
Change-Id: I5e90762f2eb6e2ee55c78a23aec64102586f0143
2021-09-10 03:49:03 +00:00
Roger Fang
2036527074 audio_usb: Enable ASRC in USB voice call path am: 18b3ec8f86
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15782861

Change-Id: I8ee6d7468426230028aa62f3af445bb2d3853ed5
2021-09-09 05:33:59 +00:00
Roger Fang
be2bde46ba audio_usb: Enable ASRC in USB voice call path
Telephony downlink ASRC should be enabled for USB. See b/173577733.
Otherwise the downlink ring buffer will underflow or overflow

Bug: 199230403
Test: Local build + Telephony test for five minutes: No glitch observed.
Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: Ifbcd9252c97a7f794e0b142e69faf1b0f3041098
2021-09-08 15:06:00 +08:00
Vince Leung
63d0be6f7e haptics: add raviole actuator model
Bug: 195894512
Test: verified actuator model config propogated and handled properly by
vibrator HAL

Change-Id: I17eae6e05b51e1e0065546b9c841e92c30e2af72
2021-09-03 23:44:04 +00:00
Jia-yi Chen
060aaa9427 Adjust PID loop parameters to relax GPU throttling for MODERATE am: 6bd9dadb42 am: d7756938c0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15727767

Change-Id: I9b2daeb0601b0006f7a374fc527083cbce847fee
2021-09-03 22:28:53 +00:00
Jia-yi Chen
8abd1d8f64 Adjust PID loop parameters to relax GPU throttling for MODERATE am: 6bd9dadb42
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15727767

Change-Id: Ifad8dc8205cd927be38a1374045064f4870296bf
2021-09-03 22:11:48 +00:00
Jia-yi Chen
e60ba10e86 Adjust PID loop parameters to relax GPU throttling for MODERATE
Test: Boot
Bug: 198291571
Change-Id: I606d4342fc92bc2d2c5552ea5e0ced1603e972fa
2021-09-03 21:55:52 +00:00
Petri Gynther
718c656d11 raviole: clean up kernel variables am: 83b8bef3e5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15749498

Change-Id: I47dec91f5e626e0fcb65d636ef9f324580cb3985
2021-09-03 12:58:43 +00:00
Petri Gynther
b058000fcf raviole: clean up kernel variables
1) make TARGET_KERNEL_DIR assignment conditional
2) add TARGET_BOARD_KERNEL_HEADERS

Bug: 198682676
Change-Id: Ica7d816bb421341f3620e156796ef611f437d688
2021-09-03 12:35:16 +00:00
Jasmine Cha
e5c4e347ba audio: update music playback volume curve am: b116b57820 am: 58fa93c992
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15743308

Change-Id: I1b75ed4389dd943357261e17feea67f420f63dbc
2021-09-03 07:07:00 +00:00