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
This commit is contained in:
parent
024bb097f2
commit
a039035efc
6 changed files with 42 additions and 0 deletions
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue