Commit graph

405 commits

Author SHA1 Message Date
Bill Yi
244d8839e9 Add scripts for generating cheetah/panther factory images
TEST:Generate factory images

BUG: 217478568
Change-Id: I5736096c4af6e46058e9a3ef4bd48acac4b8e701
2022-09-15 10:36:07 -07:00
Carter Hsu
307211b372 audio: FM table check in for SU0
[Change list]
1. fix AMS mistriggering problem in SU0

Bug: 241723468
Test: Acoustic team verified
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I367166a0637e0071a1ef16f654f4b74bc0408854
2022-09-01 09:08:55 +00:00
Cyan Hsieh
9262b7b493 Update SVN to 2
Bug: 243005982
Change-Id: I7b6c5cf0a62e3f7b8a459adc94501313e11d648a
Signed-off-by: Cyan Hsieh <cyanhsieh@google.com>
2022-08-24 03:43:09 +00:00
George Lee
1c2f2a4cf2 Revert "thermal: remove userspace throttling for BCL tzone"
This reverts commit 7e2cc1ebbe.

Reason for revert: Move throttling back to userspace
Bug: 239887528
Signed-off-by: George Lee <geolee@google.com>

Change-Id: I4ef3851a7163e50ed95862ba99330046634e032c
2022-08-23 19:56:31 +00:00
Yanting Yang
0a7819cede Update regulation e-labels for C10 and P10
Update for JP SAR values.

Bug: 233569849
Test: visual
Change-Id: I525ecb9f8b7ecce407db1e00f2dbaf7919b742af
2022-08-23 02:05:02 +08:00
Wei Wang
801a67005d Tune GPU dvfs period during app launch
Instead of using hard-coded GPU freq, tune
DVFS period instead.

Test: Boot
Bug: 239887528
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I53415fb5c5390adace99b593495c6388b3232cd0
2022-08-09 23:53:05 +00:00
Wayne Lin
b626d6195d gps: disable SUPL OTDOA capable for VZW
Bug: 241526192
Test: confirm config is correct
Change-Id: I89aacf0659a9205665d5017f5f0bc25b2322698c
2022-08-08 13:06:39 +00:00
Carter Hsu
e031c2000c audio: fix VoIP call volume steps
Bug: 240743392
Test: Acoustic team verified
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I53156f61f3cb3e00be888ab29079babc4c12a7e8
2022-08-05 02:00:03 +00:00
jonerlin
8090f5f733 bt: update bt bqr event mask property value
* set BtBqrEventMaskOverride value to 262238 in bt_vendor_overlay.conf
  to disable firmware BTRT logging.

Bug: 237906721
Test: Manually
Change-Id: Ic509d750dcbbd8089df73c454d29f40bfe433716
2022-08-04 16:28:28 +08:00
hsuehpingchen
8a13703ed4 Add powerhints for tuning of all three CPU clusters.
Test: manual - check cpu frequency is set correctly when triggering
powerhints.

Bug: 239625337
Change-Id: I74651043ad6d84fe3a63627ce6ad0dcc7f38860a
2022-08-01 22:17:08 +00:00
Sam Ou
c440217900 power_profile: update modem power numbers
Bug: 209525694
Signed-off-by: Sam Ou <samou@google.com>
Change-Id: Ie685e86feeb0ed3719b5cdebccd0a2218e2a2a6d
(cherry picked from commit 8d5dc506a7)
2022-08-01 03:07:25 +00:00
Beverly
ea44163534 Update udfps burn in vertical translation
So that the mm conversion is less than 1.

Also update missing config auth_ripple_alpha_in_duration
which should have been migrated to be 0 since the device
supports UDFPS.

Test: manual
Bug: 237311757
Change-Id: Ia0ba3145250ea16e58803651d77471f9c701b444
2022-07-26 20:44:13 +00:00
Carter Hsu
8d3533f9d2 audio: update Fortemedia FRC table
1. HA Generic/TMOUS AMS fine tuning for DT
2. HA Generic/TMOUS BVE fine tuning
3. HH TX TDC fine tuning
4. Align same parameter : Handsfree TX to VCO TX/ BT-HAC TX/ Headphone TX

Bug: 239784758
Test: Verified at b/239784758#comment4
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Icaea25d152cdb9dadac04714b14b184ef918543b
2022-07-22 03:49:33 +00:00
Edmond Chung
934852b3aa Camera: Reveal EXIF info through PRODUCT_VENDOR_PROPERTIES
Bug: 239368308
Test: Camera CTS
Change-Id: I2d8159b2b9d7d0d427b291efea2030f66c6fb536
2022-07-22 01:44:15 +00:00
Carter Hsu
87befd5edd audio: media recording tuning tables for FRC
Change list:
  1. Merely one change:  change AGC param(rmsTav) from
     200 to 1000
Bug: 239342425
Test: Verified at b/239342425#comment9
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I90a16f61ac063833af413c4daf3703289d67ae06
2022-07-22 01:28:57 +00:00
Long Ling
76de57ae2f display: update color data
Bug: 216312292
Change-Id: Iad084514aa4ae580d9356fd6c2da4b8b9db0fef6
2022-07-21 01:27:02 +00:00
Chia-Kai Liang
12cd221e68 Revert "powerhint: Disable PreferIdle STANDARD streaming"
This reverts commit 5b8dbb546c.

Reason for revert: b/238852060 and b/238284104)

Bug: 238852060

Change-Id: I0aa5910f7047d3f710cbb3f2538330454ba370f4
2022-07-20 23:06:07 +00:00
Sayanna Chandula
bb6bd73aab thermal: update C10 vs-cpu-gpu thresholds
Update C10 VIRTUAL-SKIN-CPU-GPU thresholds

Bug: 230644885
Test: Build and boot on device.
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I9316de24d69c3717e35d77c9318cc3a57389bb46
2022-07-19 23:30:47 +00:00
Sayanna Chandula
835341d69a thermal: update usbc overheat mitigation thresholds
Update usbc overheat mitigation thresholds for UI

Bug: 222577017
Test: Build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: Ica73dfdb9795db09026822a0fee6048daacc439f
2022-07-19 16:58:18 +00:00
George Lee
7e2cc1ebbe thermal: remove userspace throttling for BCL tzone
This is part of the change to move the throttling mechanism into kernel
space for faster response time.

Bug: 238555356
Test: Confirm kernel space throttling
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I681ad03f5165af00b7db00251e03abeccebdb0cc
2022-07-18 20:56:04 +00:00
Jasmine Cha
b8c2d052d3 audio: update waves table for frc
Bug:238680468
Test: manual test (b/238680468#comment8)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I9ca63593e5ea4a34b83a429815ac006bfb99f474
2022-07-18 15:22:06 +00:00
Jasmine Cha
d659991e7b audio: update speaker volume
Bug:238680468
Test: manual test (b/238680468#comment8)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I544375dfba2fee42c0b24242f0817fb3354d69e3
2022-07-18 05:14:16 +00:00
Jasmine Cha
b4a5ce1cab audio: update mps table
Bug: 238403490
Test: manual test (b/238403490#comment4)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ib78388a74ba36239bded6dbfe73168c9c2db9daa
2022-07-18 04:07:01 +00:00
Edwin Tung
49faf9f84b gps: extend min GPS week number
Bug: 238931611
Validity test: 239117198
Test: Gnss Sanity test
Change-Id: If6df6a0a47ecf4f58f634378f8998a78385107fd
2022-07-18 03:42:35 +00:00
Ali K. Zadeh
def7dd9593 MIF frequency optimization for 60fps video recording use-case
This CL sets the MIF min clock frequency to 1539MHz, which based on
initial ODPM and MIPS measurements shows benefit both in terms of power
consumption and cycles-per-instructions (CPI), reducing the gap with R4
device.

Bug: 238775955
Test: ODPM and CPI tests. Link to test results provided in the bug.
Change-Id: I6fc043c3d0d9f052c02dd04eb47f22661cfade6a
2022-07-12 18:10:41 +00:00
jonerlin
25f164f895 Bluetooth: Disable BTRT logging for userdebug eng build
* remove the BTRT logging to advoid Umimplemeted packet type issue
  happening

Bug: 237906721
Test: Manually

Change-Id: I6d2b1444800f7955dc26714d108152cb4abb2114
2022-07-12 16:02:34 +08:00
George Lee
cdc0153692 thermal: Move BCL tzones passive delay to 1s
Bug: 238435115
Test: Boot and verify settings
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Iebf1682246f736ef7cec1796e4dd7539315ee8bc
2022-07-08 21:53:48 +00:00
Labib Rashid
a4f48b4639 Update MIPI / DBR clock rate from latest desense tests / SW updates
Source: https://docs.google.com/spreadsheets/d/1KsOXacU5Q-R04Xa7jBRvNJPdeCfVJp_ldeqgeB_Prxs

Bug: 206984074
Test: Manual HW Lab Tests
Change-Id: Ic82041bba11858e44190d836d818d00fb48bcbf8
2022-07-08 18:48:36 +00:00
Yanting Yang
a1a786582a Add regulation e-labels for C10 and P10
Bug: 233569849
Test: visual
Change-Id: I380581371ab6c5b6c973f8be3fe42cdffbeb0283
2022-07-08 07:09:25 +00:00
Andrew Chant
47e484ec25 pantah: update persist file permissions.
Update persist file permissions on boot to
correct inconsistent output at factory.

Bug: 238045555
Change-Id: I5425bd7affe767c616c616c5c2f65aef9b78ef6b
2022-07-07 11:26:45 -07:00
Tai Kuo
661e6c8c17 Set audio haptic channel amplitude limit
Bug: 236709186
Test: dumpsys vibrator_manager
Change-Id: I23cf1e7dab264448dd0675bb1939135ae0cacd02
2022-07-04 01:34:01 +00:00
Rex Lin
bfb440fa08 uwb: include init.uwb.calib.sh
Bug: 233619860
Bug: 237485063
Test: build pass on both cheetah and aosp_cheetah
Signed-off-by: Rex Lin <rexcylin@google.com>
Change-Id: Ic759b1efc206a3c1e68526098d258f2c142c6799
2022-06-29 20:06:08 +08:00
Wilson Sung
7631287df4 Revert "uwb: add back init.uwb.calib.sh"
This reverts commit 915bde6ffe.

Reason for revert: Fix build breakage

Bug: 237485063
Bug: 233619860
Change-Id: I3ad1dc034e2e4c699f9b32e79c40aa257bf19914
2022-06-29 05:27:29 +00:00
TeYuan Wang
5243b1a5ca thermal: enable logging for USBC virtual sensor
Bug: 222577017
Test: Verified by emul_temp
06-28 14:33:25.423 I/pixel-thermal( 6959): usb_pwr_therm: 37
06-28 14:33:25.424 I/pixel-thermal( 6959): USB-MINUS-USB2: 8.456
06-28 14:33:25.425 I/pixel-thermal( 6959): USB-MINUS-NEUTRAL: 7.676

Change-Id: I13a13aa4df7d68946ed0aab7937495b5b5365704
2022-06-28 20:01:29 +00:00
Rex Lin
915bde6ffe uwb: add back init.uwb.calib.sh
Bug: 233619860
Test: build pass
Signed-off-by: Rex Lin <rexcylin@google.com>
Change-Id: Iee42962bb19026a5c10f6bb74f723694da27ab76
2022-06-28 16:08:13 +00:00
George Lee
133bcdf2ef thermal: Re-enable Monitoring of BCL tzones
Given that PTS-Thermal fix for Monitored tzones and TRIP_DOWN
is enabled.  We can re-enable monitoring of BCL thermal zones.

Bug: 236930961
Test: Boot and confirm settings
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ic848bff8824d693904e7a575b8679a7e305275b4
2022-06-27 15:26:26 +00:00
TeYuan Wang
43ec1192d2 thermal: update CPU/GPU throttling policy to optimize perf
1. GPU 202Mhz thermal throttling is too aggressive and cause frame missing. So, adjust the hardlimit and cdev_ceiling to improve perf.

2. Set the cdev_ceiling for CPU to avoid the abnormal throttling request when ODPM has issue.

Bug: 234998975
Test: Confirm fps drop for pip test
Change-Id: I07b58d4e9412e4389bb7e2bb185ea9da0b18cc13
2022-06-24 06:42:23 +00:00
Sayanna Chandula
af3528b903 thermal: remove gxp cooling device dependency
Bug: 236296247
Test: Build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: Ib7aa0b9b929978eb24104c79e93290b292454735
2022-06-23 23:11:18 +00:00
Rex Lin
ba2be5e4a7 uwb: update country files and path
- Add script and conf file to generate country conf
- Modify the cal path

Bug: 233619860
Test: Verified with local build on C10
Signed-off-by: Rex Lin <rexcylin@google.com>
Change-Id: I4d480cea4b06f02082c86fbb6d4a0613f8dfb0c2
2022-06-23 18:38:40 +00:00
Rex Lin
1498c2f809 uwb: remove platform specific calibration file
remove platform(gs101) cal file due to cal path change

Bug: 233619860
Test: Verified with local build on C10
Signed-off-by: Rex Lin <rexcylin@google.com>
Change-Id: Iee4e294aa89d330231a635bbe54be0261cbf8ee2
2022-06-23 18:38:40 +00:00
Mohi Montazer
5b8dbb546c powerhint: Disable PreferIdle STANDARD streaming
Disables PreferIdle powerhint for 30fps streaming, CAMERA_STREAMING_STANDARD

Bug: 189033378
Test: CTS, GCA

Change-Id: Ia28ab19ab6cebad84f2a695070ac04c5ecb18848
2022-06-23 17:46:45 +00:00
Wei Wang
7585632e09 powerhint: boost GPU during app launch
Test: boot with tracing
Bug: 236560387
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I9450350eee774816174c7ff77ebb987ab9053f80
2022-06-23 17:38:52 +00:00
David Chao
d4e403ffe9 thermal: add symlinks in charger
Wait for other modules to complete init, postpone thermal.symlinks init.
And also add symlinks in charger.

Bug: 200615564
Test: thermal symlinks can be created in dev folder
Change-Id: I64a46d299da6bef738f998bb65b26403b6515ed5
2022-06-23 15:36:49 +00:00
Edmond Chung
0e4b561ba0 Enable camera exif model/make reporting
Bug: 223071366
Test: Camera CTS
Change-Id: I797768e46e5f43d7f69cddc02ec66cbc44c5eb6f
2022-06-22 16:58:14 +00:00
chungkai
b928d3083c powerhal: correct the name of powertint "ReducePreferIdle"
Test: Build pass
Bug: 235887477
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I77439156e0fb040b7c82b8b525ac0009de9121c1
2022-06-22 10:03:58 +00:00
Victor Liu
b1f36fbad6 uwb: update antenna delay calibration
Bug: 236387721
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: Ia0dca042f30f997b8663bb718aa43d6d19b91473
2022-06-17 10:14:58 -07:00
Carter Hsu
9abd1bcddf Audio: update Fortemedia tuning 20220616
FM table change list:
  1. HA
    1) Fine tune P10C10 TMOUS tuning for DVT stage
    2) Fine tune P10C10 NB NS performance
  2. HE
    1) Align the same setting between Rx1 to Rx2
    2) Align the same setting between HEADSET-USB_BLACKBIRD-VOICE_GENERIC-SWB
       and HEADSET-USB_BLACKBIRD-VOICE_RESERVE2-SWB
  3. BT
    Enable RX low latency mode

Bug: 236210273
Test: Acoustic team verified
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I3c347bb740a447cb1fb78b3391acaa3247107220
2022-06-17 09:07:11 +00:00
Carter Hsu
b7b953903e audio: Update Waves tuning
Change list
  For C10 mps:
    - Fix sparkle/sibilance/shrill sound of previous MIX3500M
      release mention in AQTI C10 speaker quality report.
    - Improve volume curve for soft vol levels(Mute+1 ~ Mute+15)
    - Sha1sum: 7095454e3cea59eed5f89da5e87de7815a0f6c0d

  For P10 mps:
    - Fix sparkle/sibilance/shrill sound of previous MIX2000
      release.
    - Sha1sum: e6d4cbc1912a48f059c5767d788f0544a580ba4b

Bug: 235925350
Bug: 235926607
Test: Audio tuning team verified
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I263b581f63a2fd87246e5ee6a74db23dd097567e
2022-06-17 09:07:02 +00:00
Carter Hsu
314998feb2 audio: P10/C10 Media Record tuning update for RC
change list :
    1) mic_path : IIR fine tune on both mono and stereo mode
    2) mic_path : mic swap in stereo mode, top mic in ch1,
       bot mic in ch2
    3) camcorder_path : zoom gain set as "1" in surround
       module in selfie mode
Bug: 236236611
Test: Audio tuning team verified
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I079d57cb16337482994ae5ba2b2a00a143d22f26
2022-06-17 09:06:48 +00:00
bosyuyu
a02980636d P10: add golden files
Bug: 223488668
Bug: 223488674
Bug: 223488959
Test: adb logcat -v threadtime -s libdisplaycolor
Change-Id: If8e9087bf6b86064db35a255e3896ccf0f036c61
2022-06-17 06:58:50 +00:00