android_device_tecno_LG8n/configs/power/powerhint.json
Shirayuki39 86d95e835a Revert "LG8n: powerhint: Fix DT2W value"
: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-01 22:50:15.709  2810  2810 F DEBUG   : RisingOS Version: '4.2'
08-01 22:50:15.709  2810  2810 F DEBUG   : Build fingerprint: 'TECNO/LG8n-GL/TECNO-LG8n:12/SP1A.210812.016/240531V1800:user/release-keys'
08-01 22:50:15.709  2810  2810 F DEBUG   : Revision: '0'
08-01 22:50:15.709  2810  2810 F DEBUG   : ABI: 'arm64'
08-01 22:50:15.709  2810  2810 F DEBUG   : Timestamp: 2024-08-01 22:50:15.697838983+0800
08-01 22:50:15.709  2810  2810 F DEBUG   : Process uptime: 0s
08-01 22:50:15.709  2810  2810 F DEBUG   : Cmdline: /vendor/bin/hw/android.hardware.power-service.lineage-libperfmgr
08-01 22:50:15.709  2810  2810 F DEBUG   : pid: 2807, tid: 2807, name: android.hardwar  >>> /vendor/bin/hw/android.hardware.power-service.lineage-libperfmgr <<<
08-01 22:50:15.709  2810  2810 F DEBUG   : uid: 0
08-01 22:50:15.709  2810  2810 F DEBUG   : tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
08-01 22:50:15.709  2810  2810 F DEBUG   : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
08-01 22:50:15.709  2810  2810 F DEBUG   : Abort message: 'Invalid config: /vendor/etc/powerhint.json'
08-01 22:50:15.709  2810  2810 F DEBUG   :     x0  0000000000000000  x1  0000000000000af7  x2  0000000000000006  x3  0000007fe777f0f0
08-01 22:50:15.709  2810  2810 F DEBUG   :     x4  64766e6f2e627364  x5  64766e6f2e627364  x6  64766e6f2e627364  x7  7f7f7f7f7f7f7f7f
08-01 22:50:15.709  2810  2810 F DEBUG   :     x8  00000000000000f0  x9  0000007b169263a0  x10 ffffff80ffffffdf  x11 fffffffffffffffd
08-01 22:50:15.709  2810  2810 F DEBUG   :     x12 0000007fe777f090  x13 000000000000002b  x14 b400007aa667c510  x15 000000004cec4f46
08-01 22:50:15.709  2810  2810 F DEBUG   :     x16 0000007b169d3fd0  x17 0000007b169be280  x18 0000007b17b7c000  x19 0000000000000af7
08-01 22:50:15.709  2810  2810 F DEBUG   :     x20 0000000000000af7  x21 00000000ffffffff  x22 0000007b17158fc0  x23 0000000000000000
08-01 22:50:15.709  2810  2810 F DEBUG   :     x24 0000000000000000  x25 0000000000000000  x26 0000000000000000  x27 0000000000000000
08-01 22:50:15.709  2810  2810 F DEBUG   :     x28 0000000000000000  x29 0000007fe777f170
08-01 22:50:15.709  2810  2810 F DEBUG   :     lr  0000007b1695daec  sp  0000007fe777f0d0  pc  0000007b1695db1c  pst 0000000000001000
08-01 22:50:15.709  2810  2810 F DEBUG   : 7 total frames
08-01 22:50:15.709  2810  2810 F DEBUG   : backtrace:
08-01 22:50:15.709  2810  2810 F DEBUG   :       #00 pc 000000000005ab1c  /apex/com.android.runtime/lib64/bionic/libc.so (abort+168) (BuildId: 2afbb904895f83a90c49093b988e4c45)
08-01 22:50:15.709  2810  2810 F DEBUG   :       #01 pc 0000000000006088  /system/lib64/liblog.so (__android_log_default_aborter+12) (BuildId: ebe5f9e6e7260209b52b075b9c6f0d5c)
08-01 22:50:15.709  2810  2810 F DEBUG   :       #02 pc 0000000000016938  /vendor/lib64/libbase.so (android::base::LogMessage::~LogMessage()+356) (BuildId: c4818d0ed3ab8b2bb35117388453406e)
08-01 22:50:15.709  2810  2810 F DEBUG   :       #03 pc 00000000000392bc  /vendor/lib64/libperfmgr.so (android::perfmgr::HintManager::Reload(bool)+964) (BuildId: 5d96334bb5971a00292d4975d9fe94a2)
08-01 22:50:15.709  2810  2810 F DEBUG   :       #04 pc 0000000000039970  /vendor/lib64/libperfmgr.so (android::perfmgr::HintManager::GetInstance()+60) (BuildId: 5d96334bb5971a00292d4975d9fe94a2)
08-01 22:50:15.709  2810  2810 F DEBUG   :       #05 pc 0000000000008290  /vendor/bin/hw/android.hardware.power-service.lineage-libperfmgr (main+40) (BuildId: 73fae18a9322df2b77e453da8b119c9e)
08-01 22:50:15.709  2810  2810 F DEBUG   :       #06 pc 0000000000054714  /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+116) (BuildId: 2afbb904895f83a90c49093b988e4c45)

This reverts commit 2e726e8aad.
2024-08-01 22:51:07 +08:00

347 lines
7.6 KiB
JSON

{
"Nodes": [
{
"Name": "CPULittleClusterMaxFreq",
"Path": "/sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq",
"Values": [
"9999999",
"2000000",
"1800000",
"1625000",
"1500000",
"1450000",
"1375000",
"1325000",
"1275000",
"1175000",
"1100000",
"1050000",
"999000",
"950000",
"900000",
"850000",
"774000",
"500000"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "CPULittleClusterMinFreq",
"Path": "/sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq",
"Values": [
"2000000",
"1800000",
"1625000",
"1500000",
"1450000",
"1375000",
"1325000",
"1275000",
"1175000",
"1100000",
"1050000",
"999000",
"950000",
"900000",
"850000",
"774000",
"500000",
"0"
],
"ResetOnInit": true
},
{
"Name": "CPUBigClusterMaxFreq",
"Path": "/sys/devices/system/cpu/cpufreq/policy6/scaling_max_freq",
"Values": [
"9999999",
"2200000",
"2000000",
"1950000",
"1900000",
"1850000",
"1800000",
"1710000",
"1621000",
"1532000",
"1443000",
"1354000",
"1295000",
"1176000",
"1087000",
"998000",
"909000",
"850000"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "CPUBigClusterMinFreq",
"Path": "/sys/devices/system/cpu/cpufreq/policy6/scaling_min_freq",
"Values": [
"2200000",
"2000000",
"1950000",
"1900000",
"1850000",
"1800000",
"1710000",
"1621000",
"1532000",
"1443000",
"1354000",
"1295000",
"1176000",
"1087000",
"998000",
"909000",
"850000",
"0"
],
"ResetOnInit": true
},
{
"Name": "GPUSchedMode",
"Path": "/sys/devices/platform/soc/13000000.mali/js_ctx_scheduling_mode",
"Values": ["0", "1"],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "GPUSchedPeriod",
"Path": "/sys/devices/platform/soc/13000000.mali/js_scheduling_period",
"Values": ["100", "75", "50", "0"],
"ResetOnInit": true,
"DefaultIndex": 0
},
{
"Name": "GPUDVFSInterval",
"Path": "/sys/devices/platform/soc/13000000.mali/dvfs_period",
"Values": ["100", "75", "50"],
"ResetOnInit": true,
"DefaultIndex": 0
},
{
"Name": "GPUBlockBoost",
"Path": "/sys/kernel/ged/hal/gpu_boost_level",
"Values": ["101", "50", "0", "-1"],
"ResetOnInit": true,
"DefaultIndex": 2
},
{
"Name": "BGUclampMin",
"Path": "/dev/cpuctl/background/cpu.uclamp.min",
"Values": ["100", "75", "50", "25", "0"],
"ResetOnInit": true
},
{
"Name": "FGUclampMin",
"Path": "/dev/cpuctl/foreground/cpu.uclamp.min",
"Values": ["100", "75", "50", "25", "0"],
"ResetOnInit": true
},
{
"Name": "TAUclampMin",
"Path": "/dev/cpuctl/top-app/cpu.uclamp.min",
"Values": ["100", "75", "50", "25", "0"],
"ResetOnInit": true
},
{
"Name": "CAMUClampBoost",
"Path": "/dev/cpuctl/camera-daemon/cpu.uclamp.min",
"Values": ["100", "75", "50", "25", "0"],
"ResetOnInit": true
},
{
"Name": "FBTBoostTA",
"Path": "/sys/kernel/fpsgo/fbt/boost_ta",
"Values": ["0", "1"],
"ResetOnInit": true,
"DefaultIndex": 0
},
{
"Name": "FBTBHROPP",
"Path": "/sys/module/mtk_fpsgo/parameters/bhr_opp",
"Values": ["1", "3", "6", "9", "12", "15", "31"],
"ResetOnInit": true,
"DefaultIndex": 0
},
{
"Name": "PowerHALMainState",
"Path": "vendor.mediatek.powerhal.state",
"Values": ["SUSTAINED_PERFORMANCE", ""],
"Type": "Property"
},
{
"Name": "PowerHALAudioState",
"Path": "vendor.mediatek.powerhal.audio",
"Values": ["AUDIO_STREAMING_LOW_LATENCY", ""],
"Type": "Property"
},
{
"Name": "PowerHALRenderingState",
"Path": "vendor.mediatek.powerhal.rendering",
"Values": ["EXPENSIVE_RENDERING", ""],
"Type": "Property"
},
{
"Name": "DoubleTapToWake",
"Path": "/proc/gesture_function",
"Values": [
"0",
"1"
],
"DefaultIndex": 0,
"ResetOnInit": true
}
],
"Actions": [
{
"PowerHint": "SUSTAINED_PERFORMANCE",
"Node": "PowerHALMainState",
"Duration": 0,
"Value": "SUSTAINED_PERFORMANCE"
},
{
"PowerHint": "SUSTAINED_PERFORMANCE",
"Node": "CPUBigClusterMaxFreq",
"Duration": 0,
"Value": "2000000"
},
{
"PowerHint": "SUSTAINED_PERFORMANCE",
"Node": "CPULittleClusterMaxFreq",
"Duration": 0,
"Value": "1800000"
},
{
"PowerHint": "SUSTAINED_PERFORMANCE",
"Node": "GPUSchedMode",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "INTERACTION",
"Node": "CPULittleClusterMinFreq",
"Duration": 0,
"Value": "1100000"
},
{
"PowerHint": "INTERACTION",
"Node": "CPUBigClusterMinFreq",
"Duration": 0,
"Value": "1087000"
},
{
"PowerHint": "INTERACTION",
"Node": "CPULittleClusterMaxFreq",
"Duration": 0,
"Value": "1625000"
},
{
"PowerHint": "INTERACTION",
"Node": "CPUBigClusterMaxFreq",
"Duration": 0,
"Value": "2200000"
},
{
"PowerHint": "INTERACTION",
"Node": "FGUclampMin",
"Duration": 0,
"Value": "50"
},
{
"PowerHint": "INTERACTION",
"Node": "TAUclampMin",
"Duration": 0,
"Value": "50"
},
{
"PowerHint": "LAUNCH",
"Node": "FBTBoostTA",
"Duration": 3000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "CPUBigClusterMaxFreq",
"Duration": 3000,
"Value": "2200000"
},
{
"PowerHint": "LAUNCH",
"Node": "CPUBigClusterMinFreq",
"Duration": 3000,
"Value": "2200000"
},
{
"PowerHint": "LAUNCH",
"Node": "CPULittleClusterMaxFreq",
"Duration": 3000,
"Value": "2000000"
},
{
"PowerHint": "LAUNCH",
"Node": "CPULittleClusterMinFreq",
"Duration": 3000,
"Value": "2000000"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMin",
"Duration": 3000,
"Value": "100"
},
{
"PowerHint": "INTERACTION",
"Node": "FBTBHROPP",
"Duration": 0,
"Value": "31"
},
{
"PowerHint": "LAUNCH",
"Node": "GPUBlockBoost",
"Duration": 5000,
"Value": "101"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "CAMUClampBoost",
"Duration": 1000,
"Value": "100"
},
{
"PowerHint": "EXPENSIVE_RENDERING",
"Node": "PowerHALRenderingState",
"Duration": 0,
"Value": "EXPENSIVE_RENDERING"
},
{
"PowerHint": "EXPENSIVE_RENDERING",
"Node": "GPUDVFSInterval",
"Duration": 0,
"Value": "75"
},
{
"PowerHint": "EXPENSIVE_RENDERING",
"Node": "GPUSchedMode",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "EXPENSIVE_RENDERING",
"Node": "GPUBlockBoost",
"Duration": 0,
"Value": "50"
},
{
"PowerHint": "DOUBLE_TAP_TO_WAKE",
"Node": "DoubleTapToWake",
"Duration": 0,
"Value": "1"
}
]
}