From 8fd0c77a16e3ab07525c73727c223e1e9380ac7b Mon Sep 17 00:00:00 2001 From: Jimmy Shiu Date: Tue, 29 Nov 2022 18:36:17 +0800 Subject: [PATCH 1/2] powerhint: Boost GPU(302000) by 1st frame Take ADPF_FIRST_FRAME hint to boost the GPU freq to 302000 Bug: 243025173 Test: Manual Change-Id: I52ab59a98ff5e14fe03e82ed73f18a3d9c961721 --- powerhint-cheetah.json | 6 ++++++ powerhint-panther.json | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/powerhint-cheetah.json b/powerhint-cheetah.json index c023372..2e8ddce 100644 --- a/powerhint-cheetah.json +++ b/powerhint-cheetah.json @@ -1863,6 +1863,12 @@ "Duration": 0, "Value": "572000" }, + { + "PowerHint": "ADPF_FIRST_FRAME", + "Node": "GPUMinFreq", + "Duration": 50, + "Value": "302000" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT", "Node": "PMU_POLL", diff --git a/powerhint-panther.json b/powerhint-panther.json index bc73538..6e9f2a0 100644 --- a/powerhint-panther.json +++ b/powerhint-panther.json @@ -1730,6 +1730,12 @@ "Duration": 0, "Value": "572000" }, + { + "PowerHint": "ADPF_FIRST_FRAME", + "Node": "GPUMinFreq", + "Duration": 50, + "Value": "302000" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT", "Node": "PMU_POLL", From a0cd8baadee05afe2de33bc20f0b6871ea21b5b6 Mon Sep 17 00:00:00 2001 From: David Li Date: Wed, 1 Mar 2023 21:50:12 +0800 Subject: [PATCH 2/2] audio: add compressed offload to the AIDL audio_policy_configuration.xml Bug: 270552159 Test: n/a Change-Id: I950774fb0d5ab6571e34e83ebdab53d0dab4dec7 --- .../audio_policy_configuration.xml | 19 +++++++++++++++++-- .../cheetah/aidl_config/mixer_paths_aidl.xml | 2 +- .../audio_policy_configuration.xml | 19 +++++++++++++++++-- .../panther/aidl_config/mixer_paths_aidl.xml | 2 +- 4 files changed, 36 insertions(+), 6 deletions(-) diff --git a/audio/cheetah/aidl_config/audio_policy_configuration.xml b/audio/cheetah/aidl_config/audio_policy_configuration.xml index 941c9f0..af824c3 100644 --- a/audio/cheetah/aidl_config/audio_policy_configuration.xml +++ b/audio/cheetah/aidl_config/audio_policy_configuration.xml @@ -36,6 +36,21 @@ + + + + + + + sources="primary output,deep buffer,haptic,voip_rx,compressed offload"/> + sources="primary output,deep buffer,haptic,voip_rx,compressed offload"/> - + diff --git a/audio/panther/aidl_config/audio_policy_configuration.xml b/audio/panther/aidl_config/audio_policy_configuration.xml index 941c9f0..af824c3 100644 --- a/audio/panther/aidl_config/audio_policy_configuration.xml +++ b/audio/panther/aidl_config/audio_policy_configuration.xml @@ -36,6 +36,21 @@ + + + + + + + sources="primary output,deep buffer,haptic,voip_rx,compressed offload"/> + sources="primary output,deep buffer,haptic,voip_rx,compressed offload"/> - +