Revert "Update power hint for camera workload"
This reverts commit 637fc9e8d727121276cf8dea2976ac52f8da8d15. Reason for revert: Camera EBUF overflow observed after launching GCA. Bug: 187760882 Change-Id: I2357d943f4b4d96ffa7a156671ac7c790640a5ed
This commit is contained in:
parent
32d3cde120
commit
a6889fd404
3 changed files with 10 additions and 49 deletions
|
@ -120,7 +120,7 @@ on init
|
||||||
# change permissions and default values for camera-daemon cpu controller
|
# change permissions and default values for camera-daemon cpu controller
|
||||||
chown system system /dev/cpuctl/camera-daemon/cpu.uclamp.min
|
chown system system /dev/cpuctl/camera-daemon/cpu.uclamp.min
|
||||||
chown system system /dev/cpuctl/camera-daemon/cpu.uclamp.max
|
chown system system /dev/cpuctl/camera-daemon/cpu.uclamp.max
|
||||||
chown root root /dev/cpuctl/camera-daemon/cpu.uclamp.latency_sensitive
|
chown system system /dev/cpuctl/camera-daemon/cpu.uclamp.latency_sensitive
|
||||||
chown system system /dev/cpuctl/camera-daemon/cgroup.procs
|
chown system system /dev/cpuctl/camera-daemon/cgroup.procs
|
||||||
write /dev/cpuctl/camera-daemon/cpu.uclamp.latency_sensitive 1
|
write /dev/cpuctl/camera-daemon/cpu.uclamp.latency_sensitive 1
|
||||||
write /dev/cpuctl/camera-daemon/cpu.uclamp.min 1
|
write /dev/cpuctl/camera-daemon/cpu.uclamp.min 1
|
||||||
|
|
|
@ -105,15 +105,6 @@
|
||||||
"DefaultIndex": 0,
|
"DefaultIndex": 0,
|
||||||
"ResetOnInit": true
|
"ResetOnInit": true
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Name": "CDLatencySensitive",
|
|
||||||
"Path": "/dev/cpuctl/camera-daemon/cpu.uclamp.latency_sensitive",
|
|
||||||
"Values": [
|
|
||||||
"0",
|
|
||||||
"1"
|
|
||||||
],
|
|
||||||
"ResetOnInit": true
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Name": "F2fsRecessModeEnable",
|
"Name": "F2fsRecessModeEnable",
|
||||||
"Path": "/dev/sys/fs/by-name/userdata/gc_urgent",
|
"Path": "/dev/sys/fs/by-name/userdata/gc_urgent",
|
||||||
|
@ -132,15 +123,6 @@
|
||||||
],
|
],
|
||||||
"ResetOnInit": true
|
"ResetOnInit": true
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Name": "HighCapacityStartCpu",
|
|
||||||
"Path": "/sys/kernel/vendor_sched/high_capacity_start_cpu",
|
|
||||||
"Values": [
|
|
||||||
"4",
|
|
||||||
"6"
|
|
||||||
],
|
|
||||||
"ResetOnInit": true
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Name": "LimitFlashCurrent",
|
"Name": "LimitFlashCurrent",
|
||||||
"Path": "vendor.camera.max_flash_current",
|
"Path": "vendor.camera.max_flash_current",
|
||||||
|
@ -334,18 +316,6 @@
|
||||||
"Duration": 0,
|
"Duration": 0,
|
||||||
"Value": "1826000"
|
"Value": "1826000"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
|
||||||
"Node": "PreferHighCapEnable",
|
|
||||||
"Duration": 0,
|
|
||||||
"Value": "1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
|
||||||
"Node": "HighCapacityStartCpu",
|
|
||||||
"Duration": 0,
|
|
||||||
"Value": "4"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||||
"Node": "CPULittleClusterMaxFreq",
|
"Node": "CPULittleClusterMaxFreq",
|
||||||
|
@ -364,24 +334,6 @@
|
||||||
"Duration": 0,
|
"Duration": 0,
|
||||||
"Value": "20 10 80"
|
"Value": "20 10 80"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
|
||||||
"Node": "PreferHighCapEnable",
|
|
||||||
"Duration": 0,
|
|
||||||
"Value": "1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
|
||||||
"Node": "HighCapacityStartCpu",
|
|
||||||
"Duration": 0,
|
|
||||||
"Value": "4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
|
||||||
"Node": "CDLatencySensitive",
|
|
||||||
"Duration": 0,
|
|
||||||
"Value": "0"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||||
"Node": "CPUBigClusterMaxFreq",
|
"Node": "CPUBigClusterMaxFreq",
|
||||||
|
|
|
@ -10,6 +10,15 @@
|
||||||
"Controller": "cpu",
|
"Controller": "cpu",
|
||||||
"Path": "top-app"
|
"Path": "top-app"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "WriteFile",
|
||||||
|
"Params":
|
||||||
|
{
|
||||||
|
"FilePath": "/sys/kernel/vendor_sched/set_prefer_high_cap",
|
||||||
|
"Value": "<pid>",
|
||||||
|
"LogFailures": "false"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue