mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-02-01 05:38:17 +00:00
camera power hint: raise CPU clock more conservatively at STREAM_HIGH mode
During streaming high fps mode, the BW is high and lead to CPU memory high latency. This hint tries to avoid raising the CPU clock at the condition when CPU is waiting for data access. (cherry-pick from device/google/gs101) Bug: 205010238 Bug: 184583714 Test: 4k60: 59+fps 1080p60fps: 58fps (b/186806120, disable eis can get 60fps) Power benefit 80-100mW Signed-off-by: Peter Liu <pingchienliu@google.com> Change-Id: I3849dfd170085f7e10b5c53d27af353026a4093a
This commit is contained in:
@@ -83,6 +83,16 @@
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "CPUUtilThreshold",
|
||||
"Path": "/sys/kernel/vendor_sched/util_threshold",
|
||||
"Values": [
|
||||
"1280",
|
||||
"1100"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "MIFTargetLoad",
|
||||
"Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load",
|
||||
@@ -337,6 +347,12 @@
|
||||
"Duration": 1000,
|
||||
"Value": "9999999"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "CPUUtilThreshold",
|
||||
"Duration": 0,
|
||||
"Value": "1100"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
|
||||
Reference in New Issue
Block a user