sdm660-common: power: use more advanced cgroup/task profile & drop schedtune powerhint
* schedtune is conflict with uclamp * CONFIG_CGROUP_FREEZER is enabled * CONFIG_UCLAMP_TASK is backported and enabled
This commit is contained in:
parent
a6f9e93d68
commit
b02c634b4d
2 changed files with 5 additions and 15 deletions
|
@ -86,15 +86,6 @@
|
|||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "TASchedtuneBoost",
|
||||
"Path": "/dev/stune/top-app/schedtune.boost",
|
||||
"Values": [
|
||||
"5",
|
||||
"1"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "CPUBWHystTriggerCount",
|
||||
"Path": "/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/bw_hwmon/hyst_trigger_count",
|
||||
|
@ -190,12 +181,6 @@
|
|||
"Duration": 0,
|
||||
"Value": "1113600"
|
||||
},
|
||||
{
|
||||
"PowerHint": "INTERACTION",
|
||||
"Node": "TASchedtuneBoost",
|
||||
"Duration": 0,
|
||||
"Value": "5"
|
||||
},
|
||||
{
|
||||
"PowerHint": "INTERACTION",
|
||||
"Node": "CPUBWHystTriggerCount",
|
||||
|
|
|
@ -132,6 +132,11 @@ PRODUCT_PACKAGES += \
|
|||
vendor.qti.hardware.camera.device@1.0 \
|
||||
vendor.qti.hardware.camera.device@1.0.vendor
|
||||
|
||||
# Control groups and task profiles
|
||||
PRODUCT_COPY_FILES += \
|
||||
system/core/libprocessgroup/profiles/cgroups.json:$(TARGET_COPY_OUT_VENDOR)/etc/cgroups.json \
|
||||
system/core/libprocessgroup/profiles/task_profiles.json:$(TARGET_COPY_OUT_VENDOR)/etc/task_profiles.json
|
||||
|
||||
# Capability configstore
|
||||
PRODUCT_PACKAGES += \
|
||||
vendor.qti.hardware.capabilityconfigstore@1.0 \
|
||||
|
|
Loading…
Reference in a new issue