From 024bb097f24f044bf71695d73929906990f4d47b Mon Sep 17 00:00:00 2001 From: Wayne Lin Date: Thu, 28 Apr 2022 17:22:18 +0800 Subject: [PATCH 1/3] gps: enable GNSS PPS feature Bug: 230433240 Test: verify gnss pps time pass Change-Id: I49f82c17e31c8face3ce4ac943d59409562771ba --- location/gps.xml | 2 ++ location/gps.xml.c10 | 2 ++ location/gps.xml.p10 | 2 ++ location/gps_user.xml | 2 ++ location/gps_user.xml.c10 | 2 ++ location/gps_user.xml.p10 | 2 ++ 6 files changed, 12 insertions(+) diff --git a/location/gps.xml b/location/gps.xml index d0fcfdb..8782a68 100644 --- a/location/gps.xml +++ b/location/gps.xml @@ -60,9 +60,11 @@ ReAidingOnHotStart="false" ReAidingIntervalSec="1200" RuntimeSwLteFilterEnable="true" + PpsDevice="/sys/class/pps/pps0/assert_elapsed" /> Date: Tue, 26 Apr 2022 18:33:20 +0800 Subject: [PATCH 2/3] Add a new powerhint mode to boost GPU in shots on P22. In P22 (Pro), there is no scaling_min_compute_freq (b/228921300) and under STREAMING_STANDARD setting GPU min frequency is 302000 which is smaller than scaling_min_compute_freq 471000 on P21 (Whi). In addition, on Pro GPU we expect 25~30% slow down in the same frequency compared to Whi. To boost the performance of GPU for shots on Pro, we add a new powerhint mode GCA_CAMERA_SHOT_GPU_EXTREME which raises the GPU frequency to the maximum. Bug: 230289913. Test: Pushed to local C10 (EVT1.0, go/ab/8471717) and test with cl/444178649 (trace: https://ui.perfetto.dev/#!/?s=23af98f7bc1729faefb9df2c6890566d48111bc957592a7c5ffbdad87c3d2f2d) Change-Id: Ib77bddbdac32e689120c513f38029be9eab96449 --- powerhint-cheetah-a0.json | 7 +++++++ powerhint-cheetah.json | 7 +++++++ powerhint-cloudripper.json | 7 +++++++ powerhint-panther-a0.json | 7 +++++++ powerhint-panther.json | 7 +++++++ powerhint-ravenclaw.json | 7 +++++++ 6 files changed, 42 insertions(+) diff --git a/powerhint-cheetah-a0.json b/powerhint-cheetah-a0.json index 09d4fcd..8707576 100644 --- a/powerhint-cheetah-a0.json +++ b/powerhint-cheetah-a0.json @@ -103,6 +103,7 @@ "Name": "GPUMinFreq", "Path": "/sys/devices/platform/28000000.mali/hint_min_freq", "Values": [ + "848000", "762000", "471000", "400000", @@ -784,6 +785,12 @@ "Duration": 3000, "Value": "9999999" }, + { + "PowerHint": "GCA_CAMERA_SHOT_GPU_EXTREME", + "Node": "GPUMinFreq", + "Duration": 3000, + "Value": "848000" + }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "CPULittleClusterMaxFreq", diff --git a/powerhint-cheetah.json b/powerhint-cheetah.json index 1d0cb50..33debac 100644 --- a/powerhint-cheetah.json +++ b/powerhint-cheetah.json @@ -103,6 +103,7 @@ "Name": "GPUMinFreq", "Path": "/sys/devices/platform/28000000.mali/hint_min_freq", "Values": [ + "848000", "762000", "471000", "400000", @@ -783,6 +784,12 @@ "Duration": 3000, "Value": "9999999" }, + { + "PowerHint": "GCA_CAMERA_SHOT_GPU_EXTREME", + "Node": "GPUMinFreq", + "Duration": 3000, + "Value": "848000" + }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "CPULittleClusterMaxFreq", diff --git a/powerhint-cloudripper.json b/powerhint-cloudripper.json index cf0157e..b7fc8bd 100644 --- a/powerhint-cloudripper.json +++ b/powerhint-cloudripper.json @@ -90,6 +90,7 @@ "Name": "GPUMinFreq", "Path": "/sys/devices/platform/28000000.mali/hint_min_freq", "Values": [ + "848000", "762000", "471000", "400000", @@ -623,6 +624,12 @@ "Duration": 3000, "Value": "9999999" }, + { + "PowerHint": "GCA_CAMERA_SHOT_GPU_EXTREME", + "Node": "GPUMinFreq", + "Duration": 3000, + "Value": "848000" + }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "CPULittleClusterMaxFreq", diff --git a/powerhint-panther-a0.json b/powerhint-panther-a0.json index 1c7a853..617473b 100644 --- a/powerhint-panther-a0.json +++ b/powerhint-panther-a0.json @@ -103,6 +103,7 @@ "Name": "GPUMinFreq", "Path": "/sys/devices/platform/28000000.mali/hint_min_freq", "Values": [ + "848000", "762000", "471000", "400000", @@ -772,6 +773,12 @@ "Duration": 3000, "Value": "9999999" }, + { + "PowerHint": "GCA_CAMERA_SHOT_GPU_EXTREME", + "Node": "GPUMinFreq", + "Duration": 3000, + "Value": "848000" + }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "CPULittleClusterMaxFreq", diff --git a/powerhint-panther.json b/powerhint-panther.json index 98da014..b3b9c25 100644 --- a/powerhint-panther.json +++ b/powerhint-panther.json @@ -103,6 +103,7 @@ "Name": "GPUMinFreq", "Path": "/sys/devices/platform/28000000.mali/hint_min_freq", "Values": [ + "848000", "762000", "471000", "400000", @@ -771,6 +772,12 @@ "Duration": 3000, "Value": "9999999" }, + { + "PowerHint": "GCA_CAMERA_SHOT_GPU_EXTREME", + "Node": "GPUMinFreq", + "Duration": 3000, + "Value": "848000" + }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "CPULittleClusterMaxFreq", diff --git a/powerhint-ravenclaw.json b/powerhint-ravenclaw.json index 9235e7f..828a224 100644 --- a/powerhint-ravenclaw.json +++ b/powerhint-ravenclaw.json @@ -90,6 +90,7 @@ "Name": "GPUMinFreq", "Path": "/sys/devices/platform/28000000.mali/hint_min_freq", "Values": [ + "848000", "762000", "471000", "400000", @@ -623,6 +624,12 @@ "Duration": 3000, "Value": "9999999" }, + { + "PowerHint": "GCA_CAMERA_SHOT_GPU_EXTREME", + "Node": "GPUMinFreq", + "Duration": 3000, + "Value": "848000" + }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "CPULittleClusterMaxFreq", From 8e0b72691c869dbfd64304b94f20dd16097eef3b Mon Sep 17 00:00:00 2001 From: Roger Wang Date: Wed, 4 May 2022 15:13:11 +0800 Subject: [PATCH 3/3] wlan: Disable 6GHz softAp Driver actually does not support 6Ghz softAp at current version. Hence, disable it Bug: 231384422 Test: SoftAp can be enabled Change-Id: I5433e05dd3cabb3f345c442522f9870a979939c6 --- cheetah/rro_overlays/WifiOverlay/res/values/config.xml | 3 --- panther/rro_overlays/WifiOverlay/res/values/config.xml | 3 --- 2 files changed, 6 deletions(-) diff --git a/cheetah/rro_overlays/WifiOverlay/res/values/config.xml b/cheetah/rro_overlays/WifiOverlay/res/values/config.xml index 0d57183..6aa776d 100644 --- a/cheetah/rro_overlays/WifiOverlay/res/values/config.xml +++ b/cheetah/rro_overlays/WifiOverlay/res/values/config.xml @@ -100,9 +100,6 @@ be checked via NL80211 interface --> true - - true - true diff --git a/panther/rro_overlays/WifiOverlay/res/values/config.xml b/panther/rro_overlays/WifiOverlay/res/values/config.xml index 6831e5b..9682014 100644 --- a/panther/rro_overlays/WifiOverlay/res/values/config.xml +++ b/panther/rro_overlays/WifiOverlay/res/values/config.xml @@ -100,9 +100,6 @@ be checked via NL80211 interface --> true - - true - true