android_device_tecno_LG8n/configs/perf/powerscntbl.xml
dodyirawan85 820687dc8a X6833B: Configure Perf/Power stack
Refs: https://github.com/nashc-dev/android_device_realme_nashc/tree/lineage-20

Co-authored-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:08:33 +07:00

165 lines
9.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<SCNTABLE>
<scenario powerhint="MTKPOWER_HINT_PROCESS_CREATE">
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_0" param1="4000000"></data>
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_1" param1="4000000"></data>
<data cmd="PERF_RES_FPS_FPSGO_THRM_ENABLE" param1="0"></data>
<data cmd="PERF_RES_DRAM_OPP_MIN" param1="0"></data>
<data cmd="PERF_RES_SCHED_UCLAMP_MIN_TA" param1="100"></data>
<data cmd="PERF_RES_POWER_HINT_HOLD_TIME" param1="6000"></data>
<data cmd="PERF_RES_POWER_HINT_EXT_HINT" param1="30"></data>
<data cmd="PERF_RES_POWER_HINT_EXT_HINT_HOLD_TIME" param1="30000"></data>
<data cmd="PERF_RES_PERF_TASK_TURBO" param1="15"></data>
</scenario>
<scenario powerhint="MTKPOWER_HINT_ACT_SWITCH">
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_0" param1="4000000"></data>
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_1" param1="4000000"></data>
<data cmd="PERF_RES_FPS_FPSGO_THRM_ENABLE" param1="0"></data>
<data cmd="PERF_RES_POWER_HINT_HOLD_TIME" param1="6000"></data>
<data cmd="PERF_RES_DRAM_OPP_MIN" param1="0"></data>
<data cmd="PERF_RES_SCHED_UCLAMP_MIN_TA" param1="100"></data>
<data cmd="PERF_RES_POWER_HINT_EXT_HINT" param1="30"></data>
<data cmd="PERF_RES_POWER_HINT_EXT_HINT_HOLD_TIME" param1="500"></data>
</scenario>
<scenario powerhint="MTKPOWER_HINT_PACK_SWITCH">
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_0" param1="4000000"></data>
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_1" param1="4000000"></data>
<data cmd="PERF_RES_FPS_FPSGO_THRM_ENABLE" param1="0"></data>
<data cmd="PERF_RES_DRAM_OPP_MIN" param1="0"></data>
<data cmd="PERF_RES_SCHED_UCLAMP_MIN_TA" param1="100"></data>
<data cmd="PERF_RES_POWER_HINT_HOLD_TIME" param1="500"></data>
<data cmd="PERF_RES_POWER_HINT_EXT_HINT" param1="30"></data>
<data cmd="PERF_RES_POWER_HINT_EXT_HINT_HOLD_TIME" param1="1500"></data>
</scenario>
<scenario powerhint="MTKPOWER_HINT_EXT_LAUNCH">
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_0" param1="4000000"></data>
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_1" param1="4000000"></data>
<data cmd="PERF_RES_FPS_FBT_BHR_OPP" param1="31"></data>
<data cmd="PERF_RES_DRAM_OPP_MIN" param1="2"></data>
<data cmd="PERF_RES_SCHED_UCLAMP_MIN_TA" param1="40"></data>
<data cmd="PERF_RES_FPS_FPSGO_THRM_ENABLE" param1="0"></data>
</scenario>
<scenario powerhint="MTKPOWER_HINT_WHITELIST_LAUNCH">
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_0" param1="4000000"></data>
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_1" param1="4000000"></data>
<data cmd="PERF_RES_FPS_FPSGO_THRM_ENABLE" param1="0"></data>
<data cmd="PERF_RES_DRAM_OPP_MIN" param1="1"></data>
<data cmd="PERF_RES_SCHED_UCLAMP_MIN_TA" param1="100"></data>
</scenario>
<scenario powerhint="MTKPOWER_HINT_WHITELIST_ACT_SWITCH">
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_0" param1="4000000"></data>
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_1" param1="4000000"></data>
<data cmd="PERF_RES_FPS_FPSGO_THRM_ENABLE" param1="0"></data>
<data cmd="PERF_RES_DRAM_OPP_MIN" param1="1"></data>
<data cmd="PERF_RES_SCHED_UCLAMP_MIN_TA" param1="100"></data>
</scenario>
<scenario powerhint="LAUNCH">
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_0" param1="4000000"></data>
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_1" param1="4000000"></data>
<data cmd="PERF_RES_FPS_FPSGO_THRM_ENABLE" param1="0"></data>
<data cmd="PERF_RES_DRAM_OPP_MIN" param1="0"></data>
<data cmd="PERF_RES_SCHED_UCLAMP_MIN_TA" param1="100"></data>
<data cmd="PERF_RES_PERF_TASK_TURBO" param1="15"></data>
</scenario>
<scenario powerhint="MTKPOWER_HINT_APP_ROTATE">
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_0" param1="4000000"></data>
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_1" param1="4000000"></data>
<data cmd="PERF_RES_FPS_FPSGO_THRM_ENABLE" param1="0"></data>
<data cmd="PERF_RES_DRAM_OPP_MIN" param1="1"></data>
<data cmd="PERF_RES_SCHED_UCLAMP_MIN_TA" param1="100"></data>
</scenario>
<scenario powerhint="MTKPOWER_HINT_PMS_INSTALL">
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_0" param1="4000000"></data>
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_1" param1="4000000"></data>
<data cmd="PERF_RES_FPS_FPSGO_THRM_ENABLE" param1="0"></data>
<data cmd="PERF_RES_DRAM_OPP_MIN" param1="1"></data>
<data cmd="PERF_RES_SCHED_UCLAMP_MIN_TA" param1="100"></data>
<data cmd="PERF_RES_SCHED_UCLAMP_MIN_FG" param1="100"></data>
<data cmd="PERF_RES_SCHED_PREFER_IDLE_FG" param1="1"></data>
<data cmd="PERF_RES_POWERHAL_SCREEN_OFF_STATE" param1="2"></data>
</scenario>
<scenario powerhint="MTKPOWER_HINT_APP_TOUCH">
<data cmd="PERF_RES_POWERHAL_TOUCH_BOOST_NOTIFY_TOUCH_EVENT" param1="1"></data>
</scenario>
<scenario powerhint="MTKPOWER_HINT_GALLERY_BOOST">
<data cmd="PERF_RES_CPUFREQ_PERF_MODE" param1="1"></data>
</scenario>
<scenario powerhint="MTKPOWER_HINT_WFD">
<data cmd="PERF_RES_FPS_FBT_BHR_OPP" param1="31"></data>
<data cmd="PERF_RES_POWERHAL_SCREEN_OFF_STATE" param1="2"></data>
</scenario>
<scenario powerhint="MTKPOWER_HINT_AUDIO_POWER_DL">
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_0" param1="650000"></data>
<data cmd="PERF_RES_POWERHAL_SCREEN_OFF_STATE" param1="1"></data>
</scenario>
<scenario powerhint="MTKPOWER_HINT_AUDIO_POWER_UL">
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_0" param1="650000"></data>
<data cmd="PERF_RES_POWERHAL_SCREEN_OFF_STATE" param1="1"></data>
</scenario>
<scenario powerhint="MTKPOWER_HINT_AUDIO_LATENCY_UL">
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_0" param1="1500000"></data>
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_1" param1="1000000"></data>
<data cmd="PERF_RES_POWERHAL_SCREEN_OFF_STATE" param1="1"></data>
</scenario>
<scenario powerhint="MTKPOWER_HINT_AUDIO_DISABLE_WIFI_POWER_SAVE">
<data cmd="PERF_RES_NET_WIFI_CAM" param1="1"></data>
<data cmd="PERF_RES_POWERHAL_SCREEN_OFF_STATE" param1="1"></data>
</scenario>
<scenario powerhint="MTKPOWER_HINT_MULTI_DISPLAY_WITH_GPU_FPS_60">
</scenario>
<scenario powerhint="MTKPOWER_HINT_MULTI_DISPLAY_WITH_GPU_FPS_90">
<data cmd="PERF_RES_FPS_FBT_BHR_OPP" param1="31"></data>
</scenario>
<scenario powerhint="MTKPOWER_HINT_MULTI_DISPLAY_WITH_GPU_FPS_120">
<data cmd="PERF_RES_FPS_FBT_BHR_OPP" param1="31"></data>
</scenario>
<scenario powerhint="MTKPOWER_HINT_UX_MOVE_SCROLLING">
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_0" param1="1500000"></data>
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_1" param1="1500000"></data>
<data cmd="PERF_RES_SCHED_UCLAMP_MIN_TA" param1="25"></data>
</scenario>
<scenario powerhint="MTKPOWER_HINT_UX_SCROLLING">
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_0" param1="1000000"></data>
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_1" param1="1150000"></data>
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_2" param1="1108000"></data>
<data cmd="PERF_RES_CPUFREQ_MAX_CLUSTER_0" param1="3000000"></data>
<data cmd="PERF_RES_CPUFREQ_MAX_CLUSTER_1" param1="3000000"></data>
<data cmd="PERF_RES_CPUFREQ_MAX_CLUSTER_2" param1="3000000"></data>
<data cmd="PERF_RES_SCHED_UCLAMP_MIN_TA" param1="40"></data>
<data cmd="PERF_RES_SCHED_PREFER_IDLE_TA" param1="1"></data>
</scenario>
<!-- BSP:fingerprint add by xiaohong.huang 2023.03.14 start -->
<scenario powerhint="MTKPOWER_HINT_FLINGER_PRINT">
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_0" param1="3000000"></data>
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_1" param1="3000000"></data>
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_2" param1="3000000"></data>
<data cmd="PERF_RES_DRAM_OPP_MIN" param1="0"></data>
</scenario>
<!-- BSP:fingerprint add by xiaohong.huang 2023.03.14 end -->
<!-- SPD:CIBHBYL-1203 add fling mode by by sifeng.tian on 20220120 start -->
<scenario powerhint="MTKPOWER_HINT_UX_FLINGING">
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_0" param1="1500000"></data>
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_1" param1="3000000"></data>
</scenario>
<!-- SPD:CIBHBYL-1203 add fling mode by by sifeng.tian on 20220120 end -->
<!-- SPD:add launcher animator boost for CIBHBYL-2677 by sifeng.tian 20220309 start -->
<scenario powerhint="MTKPOWER_HINT_LAUNCHER_ANIMA">
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_0" param1="1500000"></data>
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_1" param1="1500000"></data>
</scenario>
<!-- SPD:add launcher animator boost ID for CIBHBYL-2677 by sifeng.tian 20220309 end -->
<!--SPD:add for boost when start activity inner by song.tang 20230112 start-->
<scenario powerhint="MTKPOWER_HINT_START_ACTIVITY_INNER">
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_0" param1="3000000"></data>
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_1" param1="3000000"></data>
<data cmd="PERF_RES_SCHED_UCLAMP_MIN_FG" param1="100"></data>
</scenario>
<!--SPD:add for boost when start activity inner by song.tang 20230112 end-->
<!--SPD:add for boost in launcher by junjie.mou 20230308 start-->
<scenario powerhint="MTKPOWER_HINT_IN_LAUNCHER">
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_0" param1="1800000"></data>
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_1" param1="3000000"></data>
</scenario>
<!--SPD:add for boost in launcher by junjie.mou 20230308 end-->
</SCNTABLE>