android_device_xiaomi_sdm66.../power-libperfmgr/sdm660_powerhint.json

282 lines
5.9 KiB
JSON
Raw Permalink Normal View History

{
"Nodes": [
{
"Name": "CPULittleClusterMaxFreq",
"Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq",
"Values": [
"9999999",
"1113600"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "CPULittleClusterMinFreq",
"Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq",
"Values": [
"9999999",
"1113600",
"633600"
],
"ResetOnInit": true
},
{
"Name": "CPUBigClusterMaxFreq",
"Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq",
"Values": [
"9999999",
"1401600"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "CPUBigClusterMinFreq",
"Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq",
"Values": [
"9999999",
"1113600"
],
"ResetOnInit": true
},
{
"Name": "GPUMaxFreq",
"Path": "/sys/class/kgsl/kgsl-3d0/devfreq/max_freq",
"Values": [
sdm660-common: Migrate to Xiaomi power AIDL HAL Change-Id: I42170d51a517170b58d532addd9c38496e43457c jasmine_sprout: Remove QTI perfd Bug: 69270928 Test: Build and boot device and test camera Change-Id: I87b283206f462fb5c8ec9cdd303ae2934fe9bfc4 jasmine_sprout: Declare BOARD_VENDOR * Needed for xiaomi-perfmgr power AIDL guards Change-Id: Idbb48e0f9b01090a456ad5d3f2d51f4dfab55672 jasmine_sprout: Create dummy libqti-perfd-client * proprietary perfd blobs can finally be nuked without breaking goodix * we could even map the functions to use libperfmgr powerhints in the future [SebaUbuntu]: Cleanup Android.bp and add copyright header Change-Id: I124652f3041761966a3e3bd97c757fecc39cc5fb jasmine_sprout: libqti-perfd-client: Remove namespace declaration It's pointless when using extern "C". Change-Id: Ibdf9f06a70aa3a75687b33781c78cf2172bb334d jasmine_sprout: libqti-perfd-client: return a dummy value Return a positive integer for perf lock acquire and release so that Goodix/FPC fingerprint sensor blobs will not complain. Goodix: E [goodixHAL][gf_hal_milan_f_series]: goodix_perf_lock_acquire: Failed to acquire perf lock, err: 0 E [goodixHAL][gf_hal_milan_f_series]: goodix_perf_lock_release: Perf lock release error 0 FPC: E fpc_tac : fpc_perf_lock_acquire: Incorrect params, Failed to acquire perf lock, err E fpc_tac : fpc_perf_lock_release: Perf lock release error 0 Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com> Change-Id: I861672e9a738c2204755d802670f4b28b662f286 jasmine_sprout: libqti-perfd-client: Move to C * Why bothering with C++ mangling when we can just build it as a standard C library? Change-Id: I45ea977edf7ea7fab6fece76f3049654a8d24c5d jasmine_sprout: Add powerhint.json jasmine Change-Id: If270fc906fd833bb6b0d3b00621c0b079346e47d jasmine_sprout: rootdir: Initial libperfmgr init config * From coral, heavily stripped down Change-Id: Ib6846e4f4f23baf56910d2330e26846b99830218 jasmine_sprout: sepolicy: Initial libperfmgr sepolicy Change-Id: I3d0a259bc89b4ecd0bf1632199172710d98230e0 jasmine_sprout: Don't explicitly build older minor version HIDL libs Change-Id: Ib0caa49054a79b1f01ffc751826286a29c642e06 jasmine_sprout: Remove QTI perf reminants jasmine_sprout: Add back ro.vendor.extension_library definition * We aren't using QCOM's perfd but our blobs still check for this. * To avoid unnecessary errors, let's just add it back. Change-Id: Icc44b330f21a658cfa8ded691a6628d8f62c3649 Signed-off-by: pix106 <sbordenave@gmail.com>
2022-11-20 08:48:06 -05:00
"647000000",
"465000000"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "GPUMinFreq",
"Path": "/sys/class/kgsl/kgsl-3d0/devfreq/min_freq",
"Values": [
sdm660-common: Migrate to Xiaomi power AIDL HAL Change-Id: I42170d51a517170b58d532addd9c38496e43457c jasmine_sprout: Remove QTI perfd Bug: 69270928 Test: Build and boot device and test camera Change-Id: I87b283206f462fb5c8ec9cdd303ae2934fe9bfc4 jasmine_sprout: Declare BOARD_VENDOR * Needed for xiaomi-perfmgr power AIDL guards Change-Id: Idbb48e0f9b01090a456ad5d3f2d51f4dfab55672 jasmine_sprout: Create dummy libqti-perfd-client * proprietary perfd blobs can finally be nuked without breaking goodix * we could even map the functions to use libperfmgr powerhints in the future [SebaUbuntu]: Cleanup Android.bp and add copyright header Change-Id: I124652f3041761966a3e3bd97c757fecc39cc5fb jasmine_sprout: libqti-perfd-client: Remove namespace declaration It's pointless when using extern "C". Change-Id: Ibdf9f06a70aa3a75687b33781c78cf2172bb334d jasmine_sprout: libqti-perfd-client: return a dummy value Return a positive integer for perf lock acquire and release so that Goodix/FPC fingerprint sensor blobs will not complain. Goodix: E [goodixHAL][gf_hal_milan_f_series]: goodix_perf_lock_acquire: Failed to acquire perf lock, err: 0 E [goodixHAL][gf_hal_milan_f_series]: goodix_perf_lock_release: Perf lock release error 0 FPC: E fpc_tac : fpc_perf_lock_acquire: Incorrect params, Failed to acquire perf lock, err E fpc_tac : fpc_perf_lock_release: Perf lock release error 0 Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com> Change-Id: I861672e9a738c2204755d802670f4b28b662f286 jasmine_sprout: libqti-perfd-client: Move to C * Why bothering with C++ mangling when we can just build it as a standard C library? Change-Id: I45ea977edf7ea7fab6fece76f3049654a8d24c5d jasmine_sprout: Add powerhint.json jasmine Change-Id: If270fc906fd833bb6b0d3b00621c0b079346e47d jasmine_sprout: rootdir: Initial libperfmgr init config * From coral, heavily stripped down Change-Id: Ib6846e4f4f23baf56910d2330e26846b99830218 jasmine_sprout: sepolicy: Initial libperfmgr sepolicy Change-Id: I3d0a259bc89b4ecd0bf1632199172710d98230e0 jasmine_sprout: Don't explicitly build older minor version HIDL libs Change-Id: Ib0caa49054a79b1f01ffc751826286a29c642e06 jasmine_sprout: Remove QTI perf reminants jasmine_sprout: Add back ro.vendor.extension_library definition * We aren't using QCOM's perfd but our blobs still check for this. * To avoid unnecessary errors, let's just add it back. Change-Id: Icc44b330f21a658cfa8ded691a6628d8f62c3649 Signed-off-by: pix106 <sbordenave@gmail.com>
2022-11-20 08:48:06 -05:00
"647000000",
"465000000",
"266000000"
],
"ResetOnInit": true
},
{
"Name": "GPUForceRailOn",
"Path": "/sys/class/kgsl/kgsl-3d0/force_rail_on",
"Values": [
"1",
"0"
],
"ResetOnInit": true
},
{
"Name": "GPUForceClkOn",
"Path": "/sys/class/kgsl/kgsl-3d0/force_clk_on",
"Values": [
"1",
"0"
],
"ResetOnInit": true
},
{
"Name": "GPUIdleTimer",
"Path": "/sys/class/kgsl/kgsl-3d0/idle_timer",
"Values": [
"10000",
"64"
],
"ResetOnInit": true
},
{
"Name": "CPUBWHystTriggerCount",
"Path": "/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/bw_hwmon/hyst_trigger_count",
"Values": [
"0",
"3"
],
"ResetOnInit": true
},
{
"Name": "CPUBWHistMemory",
"Path": "/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/bw_hwmon/hist_memory",
"Values": [
"0",
"20"
],
"ResetOnInit": true
},
{
"Name": "KernelBatterySaver",
"Path": "/sys/module/battery_saver/parameters/enabled",
"Values": [
"Y",
"N"
],
"ResetOnInit": true
},
{
"Name": "UClampForegroundBoost",
"Path": "/dev/cpuctl/foreground/cpu.uclamp.min",
"Values": [
"30",
"0"
],
"ResetOnInit": true
},
{
"Name": "UClampTopAppBoost",
"Path": "/dev/cpuctl/top-app/cpu.uclamp.min",
"Values": [
"65",
"0"
],
"ResetOnInit": true
},
{
"Name": "PowerHALMainState",
"Path": "vendor.powerhal.state",
"Values": [
"SUSTAINED_PERFORMANCE",
""
],
"Type": "Property"
},
{
"Name": "PowerHALRenderingState",
"Path": "vendor.powerhal.rendering",
"Values": [
"EXPENSIVE_RENDERING",
""
],
"Type": "Property"
}
],
"Actions": [
{
"PowerHint": "SUSTAINED_PERFORMANCE",
"Node": "PowerHALMainState",
"Duration": 0,
"Value": "SUSTAINED_PERFORMANCE"
},
{
"PowerHint": "SUSTAINED_PERFORMANCE",
"Node": "CPUBigClusterMaxFreq",
"Duration": 0,
"Value": "1401600"
},
{
"PowerHint": "SUSTAINED_PERFORMANCE",
"Node": "CPULittleClusterMaxFreq",
"Duration": 0,
"Value": "1113600"
},
{
"PowerHint": "SUSTAINED_PERFORMANCE",
"Node": "GPUMaxFreq",
"Duration": 0,
"Value": "465000000"
},
{
"PowerHint": "INTERACTION",
"Node": "CPULittleClusterMinFreq",
"Duration": 0,
"Value": "1113600"
},
{
"PowerHint": "INTERACTION",
"Node": "CPUBWHystTriggerCount",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "INTERACTION",
"Node": "CPUBWHistMemory",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "LAUNCH",
"Node": "CPUBigClusterMaxFreq",
"Duration": 6000,
"Value": "9999999"
},
{
"PowerHint": "LAUNCH",
"Node": "CPUBigClusterMinFreq",
"Duration": 6000,
"Value": "9999999"
},
{
"PowerHint": "LAUNCH",
"Node": "CPULittleClusterMinFreq",
"Duration": 6000,
"Value": "9999999"
},
{
"PowerHint": "LAUNCH",
"Node": "CPUBWHystTriggerCount",
"Duration": 6000,
"Value": "0"
},
{
"PowerHint": "LAUNCH",
"Node": "CPUBWHistMemory",
"Duration": 6000,
"Value": "0"
},
{
"PowerHint": "LAUNCH",
"Node": "GPUForceClkOn",
"Duration": 6000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "GPUForceRailOn",
"Duration": 6000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "GPUIdleTimer",
"Duration": 6000,
"Value": "10000"
},
{
"PowerHint": "LAUNCH",
"Node": "UClampForegroundBoost",
"Duration": 6000,
"Value": "30"
},
{
"PowerHint": "LAUNCH",
"Node": "UClampTopAppBoost",
"Duration": 6000,
"Value": "65"
},
{
"PowerHint": "EXPENSIVE_RENDERING",
"Node": "PowerHALRenderingState",
"Duration": 0,
"Value": "EXPENSIVE_RENDERING"
},
{
"PowerHint": "EXPENSIVE_RENDERING",
"Node": "GPUMinFreq",
"Duration": 0,
"Value": "647000000"
},
{
"PowerHint": "EXPENSIVE_RENDERING",
"Node": "GPUMaxFreq",
"Duration": 0,
"Value": "647000000"
},
{
"PowerHint": "LOW_POWER",
"Node": "KernelBatterySaver",
"Duration": 0,
"Value": "Y"
}
]
}