From b4f968823993107511c64576506a8ffb27b509b9 Mon Sep 17 00:00:00 2001 From: Hasan Awais Date: Mon, 15 Apr 2024 12:28:00 -0700 Subject: [PATCH 1/5] uwb: update calibration Bug: 309643761 Change-Id: I889d94a601cd76ef5cb7b266416202448adea913 Signed-off-by: Hasan Awais --- uwb/configuration.conf | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/uwb/configuration.conf b/uwb/configuration.conf index 16c6c27..bf2d429 100644 --- a/uwb/configuration.conf +++ b/uwb/configuration.conf @@ -62,7 +62,7 @@ ant_grp0.tx_power_control=01 ant_grp0.ch5.pdoa.axisx.lut_id=00 ant_grp0.ch9.pdoa.axisy.lut_id=01 -# Patch Antenna TX / Two Chain Operation +# Patch Antenna TX / One Chain Operation ant_grp1.rf_config.rfoff=00 ant_grp1.rf_config.tx=03 ant_grp1.rf_config.tx_aoa=03 @@ -73,8 +73,8 @@ ant_grp1.rf_config.rx_sts2=0e ant_grp1.rf_config.rx_sts3=0e ant_grp1.ext_sw_config=01 ant_grp1.lna_rxa=01 -ant_grp1.lna_rxb=01 -ant_grp1.rx_config=04 +ant_grp1.lna_rxb=00 +ant_grp1.rx_config=00 ant_grp1.pdoa_segments=02:07:00:00:00:00 ant_grp1.pdoa_type=00:00:00 ant_grp1.tx_power_control=01 @@ -96,7 +96,7 @@ ant_grp2.lna_rxb=01 ant_grp2.rx_config=01 ant_grp2.tx_power_control=01 -# Patch Antenna TX / Two Chain Operation - DPD Corrected +# Patch Antenna TX / One Chain Operation - DPD Corrected ant_grp3.rf_config.rfoff=00 ant_grp3.rf_config.tx=03 ant_grp3.rf_config.tx_aoa=03 @@ -107,8 +107,8 @@ ant_grp3.rf_config.rx_sts2=0e ant_grp3.rf_config.rx_sts3=0e ant_grp3.ext_sw_config=00 ant_grp3.lna_rxa=01 -ant_grp3.lna_rxb=01 -ant_grp3.rx_config=04 +ant_grp3.lna_rxb=00 +ant_grp3.rx_config=00 ant_grp3.pdoa_segments=02:07:00:00:00:00 ant_grp3.pdoa_type=00:00:00 ant_grp3.tx_power_control=01 From d51b20059e8bb9d4b16165000632f3c8860bffb6 Mon Sep 17 00:00:00 2001 From: TeYuan Wang Date: Tue, 16 Apr 2024 01:23:58 +0000 Subject: [PATCH 2/5] thermal: adjust CPU cdev_ceiling Bug: 329697728 Test: boot to home Change-Id: I0df4438f17832c7f121cc4340064855d44a44a2b --- thermal/thermal_info_config_comet.json | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/thermal/thermal_info_config_comet.json b/thermal/thermal_info_config_comet.json index ad8eee6..bb699f5 100644 --- a/thermal/thermal_info_config_comet.json +++ b/thermal/thermal_info_config_comet.json @@ -344,7 +344,7 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 1, "BindedPowerRail": "S4M_VDD_CPUCL0", - "CdevCeiling": [0, 4, 4, 4, 4, 4, 4] + "CdevCeiling": [0, 2, 2, 2, 2, 2, 2] }, { "CdevRequest": "thermal-cpufreq-1", @@ -352,7 +352,7 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 2, "BindedPowerRail": "S2M_VDD_CPUCL1", - "CdevCeiling": [0, 8, 8, 8, 8, 8, 8] + "CdevCeiling": [0, 6, 6, 6, 6, 6, 6] }, { "CdevRequest": "thermal-cpufreq-2", @@ -360,7 +360,7 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 2, "BindedPowerRail": "S3M_VDD_CPUCL2", - "CdevCeiling": [0, 12, 12, 12, 12, 12, 12] + "CdevCeiling": [0, 15, 15, 15, 15, 15, 15] } ], "Profile": [ @@ -420,21 +420,21 @@ "CdevWeightForPID": [0.292, 0.292, 0.292, 0.292, 0.292, 0.292, 0.292], "MaxReleaseStep": 1, "MaxThrottleStep": 1, - "CdevCeiling": [0, 8, 8, 8, 8, 8, 8] + "CdevCeiling": [0, 7, 7, 7, 7, 7, 7] }, { "CdevRequest": "thermal-cpufreq-1", "CdevWeightForPID": [0.804, 0.804, 0.804, 0.804, 0.804, 0.804, 0.804], "MaxReleaseStep": 1, "MaxThrottleStep": 2, - "CdevCeiling": [0, 11, 11, 11, 11, 11, 11] + "CdevCeiling": [0, 10, 10, 10, 10, 10, 10] }, { "CdevRequest": "thermal-cpufreq-2", "CdevWeightForPID": [0.342, 0.342, 0.342, 0.342, 0.342, 0.342, 0.342], "MaxReleaseStep": 1, "MaxThrottleStep": 2, - "CdevCeiling": [0, 16, 16, 16, 16, 16, 16] + "CdevCeiling": [0, 17, 17, 17, 17, 17, 17] } ], "Profile": [ @@ -518,7 +518,7 @@ "CdevWeightForPID": [0.428, 0.428, 0.428, 0.428, 0.428, 0.428, 0.428], "MaxReleaseStep": 1, "MaxThrottleStep": 2, - "CdevCeiling": [0, 14, 14, 14, 14, 14, 14] + "CdevCeiling": [0, 13, 13, 13, 13, 13, 13] }, { "CdevRequest": "thermal-cpufreq-2", @@ -559,7 +559,7 @@ ], "MaxReleaseStep": 1, "MaxThrottleStep": 1, - "CdevCeiling": [0, 4, 4, 4, 4, 4, 4] + "CdevCeiling": [0, 2, 2, 2, 2, 2, 2] }, { "CdevRequest": "thermal-cpufreq-1", @@ -568,7 +568,7 @@ ], "MaxReleaseStep": 1, "MaxThrottleStep": 2, - "CdevCeiling": [0, 8, 8, 8, 8, 8, 8] + "CdevCeiling": [0, 6, 6, 6, 6, 6, 6] }, { "CdevRequest": "thermal-cpufreq-2", @@ -577,7 +577,7 @@ ], "MaxReleaseStep": 1, "MaxThrottleStep": 2, - "CdevCeiling": [0, 12, 12, 12, 12, 12, 12] + "CdevCeiling": [0, 15, 15, 15, 15, 15, 15] } ] } @@ -624,7 +624,7 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 2, "BindedPowerRail": "S2M_VDD_CPUCL1", - "CdevCeiling": [0, 14, 14, 14, 14, 16, 16], + "CdevCeiling": [0, 13, 13, 13, 14, 16, 16], "LimitInfo": [0, 0, 0, 0, 0, 16, 16] }, { From 9eab62e08a9d78d0061665b4d90aa061c6e953da Mon Sep 17 00:00:00 2001 From: Rick Yiu Date: Wed, 17 Apr 2024 04:59:35 +0000 Subject: [PATCH 3/5] Revert "Add cpuset system group" This reverts commit c3d404c8ffca900fa817368dfec40dab86772225. Reason for revert: need more perf evaluation Bug: 328210236 Test: build pass Change-Id: If9d7d78154dd20590738d46cdd4b0db35521a82e --- powerhint-comet.json | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/powerhint-comet.json b/powerhint-comet.json index 854f15a..b17ead2 100644 --- a/powerhint-comet.json +++ b/powerhint-comet.json @@ -311,16 +311,6 @@ "DefaultIndex": 0, "ResetOnInit": true }, - { - "Name": "SystemCpuset", - "Path": "/dev/cpuset/system/cpus", - "Values": [ - "0-7", - "0-6" - ], - "DefaultIndex": 0, - "ResetOnInit": true - }, { "Name": "FGCpuset", "Path": "/dev/cpuset/foreground/cpus", @@ -2551,12 +2541,6 @@ "Type": "EndHint", "Value": "DISPLAY_UPDATE_IMMINENT" }, - { - "PowerHint": "DISPLAY_IDLE", - "Node": "SystemCpuset", - "Duration": 0, - "Value": "0-6" - }, { "PowerHint": "DISPLAY_UPDATE_IMMINENT", "Node": "CPULittleClusterDownRateLimitUs", From a78bab5944c1211245b7922e476b0db801b2ec59 Mon Sep 17 00:00:00 2001 From: James Huang Date: Wed, 17 Apr 2024 14:41:13 +0800 Subject: [PATCH 4/5] gps: Update config to disable step counter for CT3 Set Chip_Configuration_mems_data_Configuration=0x7 to disable step counter. Bug: 335320817 Test: Verify no step counter was registed and no more GNSS crash issue. Change-Id: Ia53aef1e303fb34129970570cdcca943dbe9494a --- location/user/gps.cfg | 2 +- location/userdebug/gps.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/location/user/gps.cfg b/location/user/gps.cfg index 96064a0..9f96c20 100644 --- a/location/user/gps.cfg +++ b/location/user/gps.cfg @@ -47,7 +47,7 @@ GlueLayer_isReqDBHFromFwRefLoc=1 GlueLayer_isReqUBPFromPressureSensor=1 GlueLayer_IsMemsEnable=1 GlueLayer_MeasCorrCap=7 -Chip_Configuration_mems_data_Configuration=0x17 +Chip_Configuration_mems_data_Configuration=0x7 Chip_Configuration_FeatureCfg_ANDRD_MEAS_CORR_ENABLE=1 CP_LocTech_PrimaryConst=0 CP_LocTech_Constraints=0x81 diff --git a/location/userdebug/gps.cfg b/location/userdebug/gps.cfg index c7c7952..40985ca 100644 --- a/location/userdebug/gps.cfg +++ b/location/userdebug/gps.cfg @@ -171,7 +171,7 @@ GlueLayer_isReqDBHFromFwRefLoc=1 GlueLayer_isReqUBPFromPressureSensor=1 GlueLayer_IsMemsEnable=1 GlueLayer_MeasCorrCap=7 -Chip_Configuration_mems_data_Configuration=0x17 +Chip_Configuration_mems_data_Configuration=0x7 Chip_Configuration_FeatureCfg_ANDRD_MEAS_CORR_ENABLE=1 CP_LocTech_PrimaryConst=0 CP_LocTech_Constraints=0x81 From 27861c61625a2d669c0eb4eab57d3b13c3fc0820 Mon Sep 17 00:00:00 2001 From: Achigo Liu Date: Wed, 17 Apr 2024 09:35:40 +0000 Subject: [PATCH 5/5] Revert "Add cpuset system group" Revert submission 26931570-cpuset_system_group Reason for revert: b/335346990 suspend/resume ramdump or black screen Reverted changes: /q/submissionid:26931570-cpuset_system_group Change-Id: Ib57acc5a9f510f58ac102ebde544739f2b057efe --- powerhint-comet.json | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/powerhint-comet.json b/powerhint-comet.json index 854f15a..b17ead2 100644 --- a/powerhint-comet.json +++ b/powerhint-comet.json @@ -311,16 +311,6 @@ "DefaultIndex": 0, "ResetOnInit": true }, - { - "Name": "SystemCpuset", - "Path": "/dev/cpuset/system/cpus", - "Values": [ - "0-7", - "0-6" - ], - "DefaultIndex": 0, - "ResetOnInit": true - }, { "Name": "FGCpuset", "Path": "/dev/cpuset/foreground/cpus", @@ -2551,12 +2541,6 @@ "Type": "EndHint", "Value": "DISPLAY_UPDATE_IMMINENT" }, - { - "PowerHint": "DISPLAY_IDLE", - "Node": "SystemCpuset", - "Duration": 0, - "Value": "0-6" - }, { "PowerHint": "DISPLAY_UPDATE_IMMINENT", "Node": "CPULittleClusterDownRateLimitUs",