LG8n: Temporarily bring back mtkpower stack

* lol

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
Shirayuki39 2024-08-09 04:45:06 +08:00
parent a2606c644e
commit 9ed2ce0ae0
7 changed files with 1788 additions and 15 deletions

View file

@ -143,6 +143,10 @@ TARGET_OTA_ASSERT_DEVICE := LG8n,TECNO-LG8n
TARGET_BOARD_PLATFORM := mt6789 TARGET_BOARD_PLATFORM := mt6789
BOARD_HAS_MTK_HARDWARE := true BOARD_HAS_MTK_HARDWARE := true
# Power
TARGET_TAP_TO_WAKE_NODE := /proc/gesture_function
TARGET_POWERHAL_MODE_EXT := $(COMMON_PATH)/power/power-mode.cpp
# Properties # Properties
TARGET_SYSTEM_PROP += $(CONFIGS_PATH)/properties/system.prop TARGET_SYSTEM_PROP += $(CONFIGS_PATH)/properties/system.prop
TARGET_VENDOR_PROP += $(CONFIGS_PATH)/properties/vendor.prop TARGET_VENDOR_PROP += $(CONFIGS_PATH)/properties/vendor.prop

View file

@ -0,0 +1,819 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- The source code provided herein is for optimizing power and performance of gaming software
and certain applications (e.g. Sina Weibo, QQ) only and should not be used and/or included in
any software that is unrelated to enhancing end-user experience. -->
<WHITELIST>
<Package name="cn.wsds.gamemaster">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_NET_NETD_BOOST_UID" param1="2"></data>
</FPS>
</Activity>
</Package>
<Package name="com.tencent.tmgp.sgame">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_NET_BT_AUDIO_LOW_LATENCY" param1="1"></data>
<data cmd="PERF_RES_NET_WIFI_LOW_LATENCY" param1="1"></data>
<data cmd="PERF_RES_NET_MD_WEAK_SIG_OPT" param1="1"></data>
<data cmd="PERF_RES_NET_NETD_BOOST_UID" param1="1"></data>
<data cmd="PERF_RES_NET_MD_HSR_MODE" param1="1"></data>
<data cmd="PERF_RES_THERMAL_POLICY" param1="8"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_TH" param1="25"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_POLICY" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_LIGHT_LOADING_POLICY" param1="20"></data>
<!-- SPD:modify XLBQHBWYHW-72 for pnp fpsgo boost by yuanjiong.gao on 20200911 start -->
<!-- <data cmd="PERF_RES_FPS_FBT_RESCUE_F" param1="50"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_P" param1="10"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_N" param1="10"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_ENQ_BOUND_THRS" param1="20"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_DEQ_BOUND_THRS" param1="20"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_DEQ_BOUND_QUOTA" param1="6"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_DOWN_QUOTA_PCT" param1="50"></data>
<data cmd="PERF_RES_FPS_GBE1_ENABLE" param1="1"></data>
<data cmd="PERF_RES_FPS_GBE2_ENABLE" param1="1"></data>
<data cmd="PERF_RES_FPS_GBE2_TIMER2_MS" param1="1000"></data>
<data cmd="PERF_RES_FPS_GBE2_MAX_BOOST_CNT" param1="6"></data>
<data cmd="PERF_RES_FPS_GBE2_TIMER1_MS" param1="150"></data>
<data cmd="PERF_RES_FPS_GBE_POLICY_MASK" param1="87"></data>
<data cmd="PERF_RES_FPS_FBT_CEILING_ENABLE" param1="1"></data> -->
<!-- SPD:modify XLBQHBWYHW-72 for pnp fpsgo boost by yuanjiong.gao on 20200911 end -->
<data cmd="PERF_RES_FPS_FPSGO_IDLEPREFER" param1="0"></data>
<data cmd="PERF_RES_FPS_FPSGO_SPID" param1="1"></data>
<data cmd="PERF_RES_GPU_GED_MARGIN_MODE" param1="110"></data>
<data cmd="PERF_RES_GPU_FREQ_MAX" param1="2"></data>
<data cmd="PERF_RES_FPS_FPSGO_BOOST_LR" param1="1"></data>
</FPS>
</Activity>
</Package>
<Package name="com.tencent.tmgp.sgamece">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_NET_BT_AUDIO_LOW_LATENCY" param1="1"></data>
<data cmd="PERF_RES_NET_WIFI_LOW_LATENCY" param1="1"></data>
<data cmd="PERF_RES_NET_MD_WEAK_SIG_OPT" param1="1"></data>
<data cmd="PERF_RES_NET_NETD_BOOST_UID" param1="1"></data>
<data cmd="PERF_RES_NET_MD_HSR_MODE" param1="1"></data>
<data cmd="PERF_RES_THERMAL_POLICY" param1="8"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_TH" param1="25"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_POLICY" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_LIGHT_LOADING_POLICY" param1="30"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_F" param1="70"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_P" param1="0"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_N" param1="20"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_ENQ_BOUND_THRS" param1="20"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_DEQ_BOUND_THRS" param1="20"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_DEQ_BOUND_QUOTA" param1="6"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_UP_SEC_PCT" param1="20"></data>
<data cmd="PERF_RES_FPS_FPSGO_IDLEPREFER" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_SPID" param1="1"></data>
<data cmd="PERF_RES_FPS_GBE1_ENABLE" param1="1"></data>
<data cmd="PERF_RES_FPS_GBE2_ENABLE" param1="1"></data>
<data cmd="PERF_RES_FPS_GBE2_TIMER2_MS" param1="3000"></data>
<data cmd="PERF_RES_FPS_GBE2_MAX_BOOST_CNT" param1="2"></data>
<data cmd="PERF_RES_FPS_GBE_POLICY_MASK" param1="87"></data>
</FPS>
</Activity>
</Package>
<Package name="com.tencent.tmgp.pubgmhd">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_NET_BT_AUDIO_LOW_LATENCY" param1="1"></data>
<data cmd="PERF_RES_NET_MD_WEAK_SIG_OPT" param1="1"></data>
<data cmd="PERF_RES_NET_NETD_BOOST_UID" param1="1"></data>
<data cmd="PERF_RES_NET_MD_HSR_MODE" param1="1"></data>
<data cmd="PERF_RES_THERMAL_POLICY" param1="8"></data>
<data cmd="PERF_RES_FPS_FSTB_JUMP_CHECK_Q_PCT" param1="50"></data>
<data cmd="PERF_RES_FPS_FPSGO_SPID" param1="1"></data>
<!-- SPD:modify XLBQHBWYHW-72 for pnp fpsgo boost by yuanjiong.gao on 20200911 start -->
<!-- <data cmd="PERF_RES_FPS_FBT_RESCUE_F" param1="100"></data>
<data cmd="PERF_RES_FPS_GBE2_ENABLE" param1="1"></data>
<data cmd="PERF_RES_FPS_GBE2_TIMER2_MS" param1="3000"></data>
<data cmd="PERF_RES_FPS_GBE2_MAX_BOOST_CNT" param1="2"></data>
<data cmd="PERF_RES_FPS_GBE2_LOADING_TH" param1="0"></data>
<data cmd="PERF_RES_FPS_GBE_POLICY_MASK" param1="95"></data>
<data cmd="PERF_RES_FPS_FPSGO_BOOST_AFFINITY" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_CEILING_ENABLE" param1="1"></data> -->
<!-- SPD:modify XLBQHBWYHW-72 for pnp fpsgo boost by yuanjiong.gao on 20200911 end -->
<data cmd="PERF_RES_FPS_FPSGO_BOOST_LR" param1="1"></data>
</FPS>
</Activity>
</Package>
<Package name="com.tencent.tmgp.speedmobile">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_THERMAL_POLICY" param1="0"></data>
<data cmd="PERF_RES_FPS_FPSGO_BOOST_LR" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_TH" param1="25"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_LIGHT_LOADING_POLICY" param1="10"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_DOWN_STEP" param1="5"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_ENQ_BOUND_THRS" param1="20"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_DEQ_BOUND_THRS" param1="20"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_DEQ_BOUND_QUOTA" param1="6"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_UP_QUOTA_PCT" param1="50"></data>
<data cmd="PERF_RES_FPS_FPSGO_SPID" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_CM_BIG_CAP" param1="30"></data>
<data cmd="PERF_RES_FPS_FPSGO_CM_TDIFF" param1="-1000000"></data>
<data cmd="PERF_RES_FPS_FBT_FLOOR_BOUND" param1="20"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_POSITIVE_CLAMP" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_BOOST_AFFINITY" param1="1"></data>
<data cmd="PERF_RES_FPS_GBE2_ENABLE" param1="1"></data>
</FPS>
<FPS value="60">
<data cmd="PERF_RES_FPS_FBT_RESCUE_F" param1="100"></data>
<data cmd="PERF_RES_FPS_FBT_CEILING_ENABLE" param1="1"></data>
<data cmd="PERF_RES_CPUFREQ_MAX_CLUSTER_0" param1="1800000"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_P" param1="10"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_N" param1="10"></data>
</FPS>
<FPS value="90">
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_X" param1="-100"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_P" param1="0"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_N" param1="100"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_POLICY" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_LIGHT_LOADING_POLICY" param1="100"></data>
<data cmd="PERF_RES_FPS_FPSGO_CM_BIG_CAP" param1="30"></data>
<data cmd="PERF_RES_FPS_FPSGO_CM_TDIFF" param1="-10000000"></data>
</FPS>
</Activity>
</Package>
<Package name="com.tencent.tmgp.speedmobileEx">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_THERMAL_POLICY" param1="0"></data>
<data cmd="PERF_RES_FPS_FPSGO_BOOST_LR" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_TH" param1="25"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_LIGHT_LOADING_POLICY" param1="10"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_DOWN_STEP" param1="5"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_ENQ_BOUND_THRS" param1="20"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_DEQ_BOUND_THRS" param1="20"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_DEQ_BOUND_QUOTA" param1="6"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_UP_QUOTA_PCT" param1="50"></data>
<data cmd="PERF_RES_FPS_FPSGO_SPID" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_CM_BIG_CAP" param1="30"></data>
<data cmd="PERF_RES_FPS_FPSGO_CM_TDIFF" param1="-1000000"></data>
<data cmd="PERF_RES_FPS_FBT_FLOOR_BOUND" param1="20"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_POSITIVE_CLAMP" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_BOOST_AFFINITY" param1="1"></data>
<data cmd="PERF_RES_FPS_GBE2_ENABLE" param1="1"></data>
</FPS>
<FPS value="60">
<data cmd="PERF_RES_FPS_FBT_RESCUE_F" param1="100"></data>
<data cmd="PERF_RES_FPS_FBT_CEILING_ENABLE" param1="1"></data>
<data cmd="PERF_RES_CPUFREQ_MAX_CLUSTER_0" param1="1800000"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_P" param1="10"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_N" param1="10"></data>
</FPS>
<FPS value="90">
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_X" param1="-100"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_P" param1="0"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_N" param1="100"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_POLICY" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_LIGHT_LOADING_POLICY" param1="100"></data>
<data cmd="PERF_RES_FPS_FPSGO_CM_BIG_CAP" param1="30"></data>
<data cmd="PERF_RES_FPS_FPSGO_CM_TDIFF" param1="-10000000"></data>
</FPS>
</Activity>
</Package>
<Package name="com.tencent.tmgp.cf">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_THERMAL_POLICY" param1="0"></data>
<data cmd="PERF_RES_NET_MD_WEAK_SIG_OPT" param1="1"></data>
<data cmd="PERF_RES_FPS_GBE1_ENABLE" param1="1"></data>
<data cmd="PERF_RES_FPS_GBE2_ENABLE" param1="1"></data>
<data cmd="PERF_RES_FPS_GBE2_TIMER2_MS" param1="600"></data>
<data cmd="PERF_RES_FPS_GBE2_TIMER1_MS" param1="200"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_F" param1="100"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_SECOND_ENABLE" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_SECOND_TIME" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_SECOND_GROUP" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_TH" param1="25"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_LIGHT_LOADING_POLICY" param1="30"></data>
<data cmd="PERF_RES_FPS_FPSGO_DEP_FRAMES" param1="10"></data>
<data cmd="PERF_RES_FPS_FPSGO_SPID" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_X" param1="-50"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_P" param1="20"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_N" param1="100"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_UP_SEC_PCT" param1="10"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_UP_STEP" param1="10"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_UP_QUOTA_PCT" param1="50"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_DOWN_QUOTA_PCT" param1="50"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_FPS_MARGIN" param1="20"></data>
</FPS>
</Activity>
</Package>
<Package name="com.netease.hyxd">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_THERMAL_POLICY" param1="0"></data>
<data cmd="PERF_RES_FPS_FBT_CEILING_ENABLE" param1="1"></data>
<data cmd="PERF_RES_GPU_GED_MARGIN_MODE" param1="110"></data>
<data cmd="PERF_RES_FPS_FPSGO_MARGIN_MODE" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_F" param1="100"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_PERCENT" param1="100"></data>
<data cmd="PERF_RES_FPS_FBT_SHORT_RESCUE_NS" param1="8333333"></data>
<data cmd="PERF_RES_FPS_FBT_MIN_RESCUE_PERCENT" param1="50"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_ENABLE" param1="0"></data>
<data cmd="PERF_RES_NET_MD_WEAK_SIG_OPT" param1="1"></data>
<data cmd="PERF_RES_NET_NETD_BOOST_UID" param1="1"></data>
<data cmd="PERF_RES_FPS_GBE2_ENABLE" param1="1"></data>
<data cmd="PERF_RES_FPS_GBE2_LOADING_TH" param1="0"></data>
<data cmd="PERF_RES_FPS_GBE2_TIMER1_MS" param1="200"></data>
<data cmd="PERF_RES_FPS_GBE2_TIMER2_MS" param1="400"></data>
<data cmd="PERF_RES_FPS_GBE2_MAX_BOOST_CNT" param1="12"></data>
<data cmd="PERF_RES_FPS_GBE_POLICY_MASK" param1="87"></data>
<data cmd="PERF_RES_GPU_FREQ_MAX" param1="2"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_TH" param1="25"></data>
<data cmd="PERF_RES_FPS_FPSGO_DEP_FRAMES" param1="10"></data>
<data cmd="PERF_RES_FPS_FPSGO_IDLEPREFER" param1="0"></data>
<data cmd="PERF_RES_CPUFREQ_MAX_CLUSTER_0" param1="1000000"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_X" param1="-30"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_P" param1="0"></data>
</FPS>
</Activity>
</Package>
<Package name="com.tencent.tmgp.wuxia">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_THERMAL_POLICY" param1="0"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_F" param1="100"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_POLICY" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_TH" param1="10"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_LIGHT_LOADING_POLICY" param1="25"></data>
<data cmd="PERF_RES_FPS_FBT_CEILING_ENABLE" param1="1"></data>
<data cmd="PERF_RES_CPUFREQ_CCI_FREQ" param1="1"></data>
</FPS>
</Activity>
</Package>
<Package name="com.tencent.tmgp.lx12">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_FPS_FBT_CEILING_ENABLE" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_ENABLE" param1="0"></data>
<data cmd="PERF_RES_FPS_FSTB_SELF_CTRL_FPS_ENABLE" param1="0"></data>
<data cmd="PERF_RES_GPU_FREQ_MAX" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_TH" param1="30"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_POLICY" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_IDLEPREFER" param1="0"></data>
<data cmd="PERF_RES_CPUFREQ_MAX_CLUSTER_0" param1="1000000"></data>
<data cmd="PERF_RES_FPS_FBT_QR_ENABLE" param1="0"></data>
<data cmd="PERF_RES_FPS_FPSGO_BOOST_AFFINITY" param1="1"></data>
</FPS>
</Activity>
</Package>
<Package name="com.gtarcade.loachaos">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_THERMAL_POLICY" param1="0"></data>
<data cmd="PERF_RES_FPS_FBT_CEILING_ENABLE" param1="1"></data>
<data cmd="PERF_RES_CPUFREQ_MAX_CLUSTER_0" param1="1200000"></data>
<data cmd="PERF_RES_GPU_FREQ_MAX" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_TH" param1="15"></data>
<data cmd="PERF_RES_CPUFREQ_CCI_FREQ" param1="1"></data>
<data cmd="PERF_RES_FPS_FSTB_SELF_CTRL_FPS_ENABLE" param1="0"></data>
</FPS>
</Activity>
</Package>
<Package name="com.tencent.tmgp.eyou.eygy">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_FPS_FBT_GCC_UP_QUOTA_PCT" param1="20"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_DOWN_STEP" param1="2"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_N" param1="50"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_P" param1="20"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_DOWN_QUOTA_PCT" param1="50"></data>
<data cmd="PERF_RES_CPUFREQ_CCI_FREQ" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_FPS_MARGIN" param1="100"></data>
</FPS>
</Activity>
</Package>
<!-- BSP:add XLBSSB-2494 by yahui.cheng 20230302 start -->
<Package name="com.miHoYo.Yuanshen">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_THERMAL_POLICY" param1="0"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_F" param1="50"></data>
<data cmd="PERF_RES_FPS_FBT_ULTRA_RESCUE" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_SECOND_ENABLE" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_SECOND_TIME" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_SECOND_GROUP" param1="1"></data>
<data cmd="PERF_RES_DRAM_OPP_MIN_LP5" param1="0"></data>
<data cmd="PERF_RES_DRAM_OPP_MIN_LP5_HFR" param1="0"></data>
<data cmd="PERF_RES_FPS_FPSGO_SPID" param1="1"></data>
<data cmd="PERF_RES_FPS_FSTB_NO_R_TIMER" param1="1"></data>
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_0" param1="2000000"></data>
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_1" param1="1855000"></data>
<!-- SPD:add kswapd0 bind 0~5 core for XLBSSB-2493 by heyuan.li 20230217 start -->
<data cmd="PERF_RES_DRAM_VM_KSWAPD0_BIND_CORE_ENABLE" param1="1"></data>
<data cmd="PERF_RES_DRAM_VM_WATERMARK_SCALEFACTOR" param1="200"></data>
<!-- SPD:add kswapd0 bind 0~5 core for XLBSSB-2493 by heyuan.li 20230217 end -->
</FPS>
</Activity>
</Package>
<Package name="com.miHoYo.GenshinImpact">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_THERMAL_POLICY" param1="0"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_F" param1="50"></data>
<data cmd="PERF_RES_FPS_FBT_ULTRA_RESCUE" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_SECOND_ENABLE" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_SECOND_TIME" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_SECOND_GROUP" param1="1"></data>
<data cmd="PERF_RES_DRAM_OPP_MIN_LP5" param1="0"></data>
<data cmd="PERF_RES_DRAM_OPP_MIN_LP5_HFR" param1="0"></data>
<data cmd="PERF_RES_FPS_FPSGO_SPID" param1="1"></data>
<data cmd="PERF_RES_FPS_FSTB_NO_R_TIMER" param1="1"></data>
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_0" param1="2000000"></data>
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_1" param1="1855000"></data>
<!-- SPD:add kswapd0 bind 0~5 core for XLBSSB-2493 by heyuan.li 20230217 start -->
<data cmd="PERF_RES_DRAM_VM_KSWAPD0_BIND_CORE_ENABLE" param1="1"></data>
<data cmd="PERF_RES_DRAM_VM_WATERMARK_SCALEFACTOR" param1="200"></data>
<!-- SPD:add kswapd0 bind 0~5 core for XLBSSB-2493 by heyuan.li 20230217 end -->
</FPS>
</Activity>
</Package>
<!-- BSP:add XLBSSB-2494 by yahui.cheng 20230302 end -->
<!-- SPD:modify XLBQHBWYHW-72 for pnp fpsgo boost by yuanjiong.gao on 20200911 start -->
<Package name="com.tencent.ig">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_THERMAL_POLICY" param1="8"></data>
<data cmd="PERF_RES_NET_BT_AUDIO_LOW_LATENCY" param1="1"></data>
<data cmd="PERF_RES_NET_MD_WEAK_SIG_OPT" param1="1"></data>
<data cmd="PERF_RES_NET_NETD_BOOST_UID" param1="1"></data>
<data cmd="PERF_RES_NET_MD_HSR_MODE" param1="1"></data>
<data cmd="PERF_RES_FPS_FSTB_JUMP_CHECK_Q_PCT" param1="50"></data>
<data cmd="PERF_RES_FPS_FPSGO_SPID" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_BOOST_LR" param1="1"></data>
</FPS>
</Activity>
</Package>
<Package name="com.tencent.igce">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_THERMAL_POLICY" param1="8"></data>
<data cmd="PERF_RES_NET_BT_AUDIO_LOW_LATENCY" param1="1"></data>
<data cmd="PERF_RES_NET_MD_WEAK_SIG_OPT" param1="1"></data>
<data cmd="PERF_RES_NET_NETD_BOOST_UID" param1="1"></data>
<data cmd="PERF_RES_NET_MD_HSR_MODE" param1="1"></data>
<data cmd="PERF_RES_FPS_FSTB_JUMP_CHECK_Q_PCT" param1="50"></data>
<data cmd="PERF_RES_FPS_FPSGO_SPID" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_BOOST_LR" param1="1"></data>
</FPS>
</Activity>
</Package>
<Package name="com.pubg.krmobile">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_THERMAL_POLICY" param1="8"></data>
<data cmd="PERF_RES_NET_BT_AUDIO_LOW_LATENCY" param1="1"></data>
<data cmd="PERF_RES_NET_MD_WEAK_SIG_OPT" param1="1"></data>
<data cmd="PERF_RES_NET_NETD_BOOST_UID" param1="1"></data>
<data cmd="PERF_RES_NET_MD_HSR_MODE" param1="1"></data>
<data cmd="PERF_RES_FPS_FSTB_JUMP_CHECK_Q_PCT" param1="50"></data>
<data cmd="PERF_RES_FPS_FPSGO_SPID" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_BOOST_LR" param1="1"></data>
</FPS>
</Activity>
</Package>
<!-- SPD:add pubg package name config FANSFBAEA-61530 by changbing.wu on 20230329 start -->
<Package name="com.pubg.newstate">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_THERMAL_POLICY" param1="8"></data>
<data cmd="PERF_RES_NET_BT_AUDIO_LOW_LATENCY" param1="1"></data>
<data cmd="PERF_RES_NET_MD_WEAK_SIG_OPT" param1="1"></data>
<data cmd="PERF_RES_NET_NETD_BOOST_UID" param1="1"></data>
<data cmd="PERF_RES_NET_MD_HSR_MODE" param1="1"></data>
<data cmd="PERF_RES_FPS_FSTB_JUMP_CHECK_Q_PCT" param1="50"></data>
<data cmd="PERF_RES_FPS_FPSGO_SPID" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_BOOST_LR" param1="1"></data>
</FPS>
</Activity>
</Package>
<!-- SPD:add pubg package name config FANSFBAEA-61530 by changbing.wu on 20230329 end -->
<!-- SPD:modify XLBQHBWYHW-72 for pnp fpsgo boost by yuanjiong.gao on 20200511 end -->
<!-- SPD:modify thermal limit freq XLBSSB-3697 by changbing.wu on 20230321 start -->
<Package name="com.tencent.tmgp.cod">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_FPS_FPSGO_SPID" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_UP_QUOTA_PCT" param1="50"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_TH" param1="40"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_POLICY" param1="0"></data>
<data cmd="PERF_RES_FPS_FBT_CEILING_ENABLE" param1="1"></data>
<data cmd="PERF_RES_THERMAL_POLICY" param1="8"></data>
<data cmd="PERF_RES_CPUFREQ_MAX_CLUSTER_0" param1="1500000"></data>
<data cmd="PERF_RES_CPUFREQ_CCI_FREQ" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_FPS_MARGIN" param1="-50"></data>
<data cmd="PERF_RES_GPU_GED_MARGIN_MODE" param1="0"></data>
</FPS>
</Activity>
</Package>
<Package name="com.activision.callofduty.shooter">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_FPS_FPSGO_SPID" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_UP_QUOTA_PCT" param1="50"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_TH" param1="40"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_POLICY" param1="0"></data>
<data cmd="PERF_RES_FPS_FBT_CEILING_ENABLE" param1="1"></data>
<data cmd="PERF_RES_THERMAL_POLICY" param1="8"></data>
<data cmd="PERF_RES_CPUFREQ_MAX_CLUSTER_0" param1="1500000"></data>
<data cmd="PERF_RES_CPUFREQ_CCI_FREQ" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_FPS_MARGIN" param1="-50"></data>
<data cmd="PERF_RES_GPU_GED_MARGIN_MODE" param1="0"></data>
</FPS>
</Activity>
</Package>
<!-- SPD:modify thermal limit freq XLBSSB-3697 by changbing.wu on 20230321 end -->
<!-- SPD:modify thermal limit freq XLBSSB-3701 by changbing.wu on 20230321 start -->
<Package name="com.tencent.lolm">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_THERMAL_POLICY" param1="8"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_F" param1="40"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_DOWN_STEP" param1="5"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_TH" param1="30"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_LIGHT_LOADING_POLICY" param1="20"></data>
<data cmd="PERF_RES_FPS_FPSGO_IDLEPREFER" param1="0"></data>
<data cmd="PERF_RES_FPS_FBT_CEILING_ENABLE" param1="1"></data>
</FPS>
</Activity>
</Package>
<Package name="com.riotgames.league.wildrift">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_THERMAL_POLICY" param1="8"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_F" param1="40"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_DOWN_STEP" param1="5"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_TH" param1="30"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_LIGHT_LOADING_POLICY" param1="20"></data>
<data cmd="PERF_RES_FPS_FPSGO_IDLEPREFER" param1="0"></data>
<data cmd="PERF_RES_FPS_FBT_CEILING_ENABLE" param1="1"></data>
</FPS>
</Activity>
</Package>
<!-- SPD:modify thermal limit freq XLBSSB-3701 by changbing.wu on 20230321 end -->
<Package name="com.tencent.tmgp.sskgame">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_FPS_FBT_CEILING_ENABLE" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_ENABLE" param1="0"></data>
<data cmd="PERF_RES_FPS_FSTB_SELF_CTRL_FPS_ENABLE" param1="0"></data>
<data cmd="PERF_RES_GPU_FREQ_MAX" param1="19"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_TH" param1="25"></data>
<data cmd="PERF_RES_FPS_FPSGO_IDLEPREFER" param1="0"></data>
<data cmd="PERF_RES_FPS_FPSGO_MARGIN_MODE" param1="2"></data>
<data cmd="PERF_RES_FPS_FPSGO_MARGIN_MODE_DBNC_A" param1="9"></data>
<data cmd="PERF_RES_FPS_FPSGO_MARGIN_MODE_DBNC_B" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_SPID" param1="1"></data>
<data cmd="PERF_RES_CPUFREQ_MAX_CLUSTER_0" param1="1100000"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_X" param1="-25"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_P" param1="0"></data>
<data cmd="PERF_RES_FPS_FBT_LIMIT_CFREQ" param1="2100000"></data>
<data cmd="PERF_RES_FPS_FBT_LIMIT_RFREQ" param1="2100000"></data>
<data cmd="PERF_RES_SCHED_UCLAMP_MIN_TA" param1="40"></data>
</FPS>
</Activity>
</Package>
<Package name="com.gameloft.android.ANMP.GloftSXHM">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_FPS_FPSGO_IDLEPREFER" param1="0"></data>
<data cmd="PERF_RES_FPS_FBT_CEILING_ENABLE" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_FPS_MARGIN" param1="100"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_UP_STEP" param1="40"></data>
<data cmd="PERF_RES_CPUFREQ_CCI_FREQ" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_POLICY" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_TH" param1="30"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_LIGHT_LOADING_POLICY" param1="25"></data>
<data cmd="PERF_RES_CPUFREQ_MAX_CLUSTER_0" param1="900000"></data>
<data cmd="PERF_RES_FPS_FBT_LIMIT_CFREQ" param1="850000"></data>
<data cmd="PERF_RES_GPU_FREQ_MAX" param1="22"></data>
</FPS>
</Activity>
</Package>
<Package name="com.tencent.tmgp.bh3">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_FPS_GBE2_ENABLE" param1="1"></data>
<data cmd="PERF_RES_FPS_GBE2_TIMER1_MS" param1="70"></data>
<data cmd="PERF_RES_FPS_GBE_POLICY_MASK" param1="87"></data>
</FPS>
</Activity>
</Package>
<Package name="com.tencent.shootgame">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_THERMAL_POLICY" param1="0"></data>
<data cmd="PERF_RES_FPS_FSTB_JUMP_CHECK_Q_PCT" param1="50"></data>
<data cmd="PERF_RES_FPS_FPSGO_SPID" param1="1"></data>
<data cmd="PERF_RES_FPS_GBE2_ENABLE" param1="1"></data>
<data cmd="PERF_RES_FPS_GBE2_TIMER2_MS" param1="3000"></data>
<data cmd="PERF_RES_FPS_GBE2_MAX_BOOST_CNT" param1="2"></data>
<data cmd="PERF_RES_FPS_GBE2_LOADING_TH" param1="0"></data>
<data cmd="PERF_RES_FPS_GBE_POLICY_MASK" param1="95"></data>
</FPS>
</Activity>
</Package>
<Package name="com.tencent.mobileqq">
<Activity name="com.tencent.aelight.camera.aebase.QIMCameraCaptureActivity">
<FPS value="Common">
<data cmd="PERF_RES_GPU_GED_TIMER_BASE_DVFS_MARGIN" param1="50"></data>
</FPS>
</Activity>
<Activity name="com.tencent.av.ui.AVActivity">
<FPS value="Common">
<data cmd="PERF_RES_FPS_FBT_CEILING_ENABLE" param1="1"></data>
</FPS>
</Activity>
</Package>
<Package name="com.meitu.meiyancamera">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_GPU_GED_TIMER_BASE_DVFS_MARGIN" param1="50"></data>
<data cmd="PERF_RES_GPU_GED_LOADING_BASE_DVFS_STEP" param1="16"></data>
</FPS>
</Activity>
</Package>
<Package name="com.protopop.brightridge">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_FPS_FSTB_SELF_CTRL_FPS_ENABLE" param1="0"></data>
</FPS>
</Activity>
</Package>
<Package name="com.miHoYo.GenshinImpact">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_THERMAL_POLICY" param1="0"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_POLICY" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_TH" param1="30"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_UP_QUOTA_PCT" param1="30"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_DOWN_STEP" param1="3"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_DOWN_QUOTA_PCT" param1="20"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_FPS_MARGIN" param1="20"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_P" param1="0"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_N" param1="30"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_F" param1="50"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_SECOND_ENABLE" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_SECOND_TIME" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_SECOND_GROUP" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_ULTRA_RESCUE" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_SPID" param1="1"></data>
<!-- SPD:add kswapd0 bind 0~5 core for XLBSSB-2493 by heyuan.li 20230217 start -->
<data cmd="PERF_RES_DRAM_VM_KSWAPD0_BIND_CORE_ENABLE" param1="1"></data>
<data cmd="PERF_RES_DRAM_VM_WATERMARK_SCALEFACTOR" param1="200"></data>
<!-- SPD:add kswapd0 bind 0~5 core for XLBSSB-2493 by heyuan.li 20230217 end -->
</FPS>
</Activity>
</Package>
<Package name="air.tv.douyu.android">
<Activity name="com.dy.live.activity.RecorderCameraPortraitActivity">
<FPS value="Common">
<data cmd="PERF_RES_GPU_BLOCK_API_BOOST" param1="30"></data>
</FPS>
</Activity>
</Package>
<Package name="com.dts.freefireth">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_FPS_FBT_GCC_UP_QUOTA_PCT" param1="50"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_DOWN_STEP" param1="5"></data>
</FPS>
</Activity>
</Package>
<Package name="com.dts.freefiremax">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_FPS_FBT_RESCUE_F" param1="50"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_UP_QUOTA_PCT" param1="30"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_DOWN_STEP" param1="3"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_DOWN_QUOTA_PCT" param1="20"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_P" param1="0"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_N" param1="30"></data>
</FPS>
</Activity>
</Package>
<Package name="com.rovio.angrybirdsrio">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_FPS_FBT_GCC_DOWN_QUOTA_PCT" param1="50"></data>
<data cmd="PERF_RES_FPS_FBT_CEILING_ENABLE" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_CHECK" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_SECOND_GAME_ENABLE" param1="0"></data>
<data cmd="PERF_RES_FPS_FPSGO_ADJ_LOADING" param1="1"></data>
<data cmd="PERF_RES_FPS_FSTB_SELF_CTRL_FPS_ENABLE" param1="0"></data>
<data cmd="PERF_RES_FPS_FBT_QR_ENABLE" param1="0"></data>
</FPS>
</Activity>
</Package>
<Package name="com.vectorunit.yellow">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_FPS_FBT_CEILING_ENABLE" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_CHECK" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_SECOND_GAME_ENABLE" param1="0"></data>
<data cmd="PERF_RES_FPS_FPSGO_ADJ_LOADING" param1="1"></data>
<data cmd="PERF_RES_FPS_FSTB_SELF_CTRL_FPS_ENABLE" param1="0"></data>
</FPS>
</Activity>
</Package>
<Package name="com.mojang.minecraftpe">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_FPS_FBT_CEILING_ENABLE" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_CHECK" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_SECOND_GAME_ENABLE" param1="0"></data>
<data cmd="PERF_RES_FPS_FPSGO_ADJ_LOADING" param1="1"></data>
<data cmd="PERF_RES_FPS_FSTB_SELF_CTRL_FPS_ENABLE" param1="0"></data>
</FPS>
</Activity>
</Package>
<Package name="com.baidu.BaiduMap">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_FPS_FSTB_SELF_CTRL_FPS_ENABLE" param1="0"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_SECOND_GAME_ENABLE" param1="0"></data>
</FPS>
</Activity>
</Package>
<Package name="tv.danmaku.bili">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_FPS_FSTB_SELF_CTRL_FPS_ENABLE" param1="0"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_SECOND_GAME_ENABLE" param1="0"></data>
<data cmd="PERF_RES_FPS_FSTB_SOFT_FPS_LOWER" param1="120"></data>
<data cmd="PERF_RES_FPS_FSTB_SOFT_FPS_UPPER" param1="120"></data>
<data cmd="PERF_RES_FPS_FPSGO_FPS_BYPASS_MIN" param1="70"></data>
</FPS>
</Activity>
</Package>
<Package name="com.happyelements.AndroidAnimal.qq">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_FPS_FPSGO_LLF_TH" param1="25"></data>
<data cmd="PERF_RES_FPS_FBT_BHR_OPP" param1="0"></data>
<data cmd="PERF_RES_FPS_FBT_KMIN" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_FLOOR_BOUND" param1="20"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_F" param1="100"></data>
<data cmd="PERF_RES_GPU_GED_MARGIN_MODE" param1="101"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_ENABLE" param1="0"></data>
<data cmd="PERF_RES_FPS_FBT_CEILING_ENABLE" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_BOOST_AFFINITY" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_P" param1="20"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_N" param1="20"></data>
<data cmd="PERF_RES_CPUFREQ_CCI_FREQ" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_CM_BIG_CAP" param1="85"></data>
<data cmd="PERF_RES_FPS_FPSGO_CM_TDIFF" param1="-10000000"></data>
<data cmd="PERF_RES_FPS_FPSGO_IDLEPREFER" param1="0"></data>
</FPS>
</Activity>
</Package>
<Package name="com.pubg.imobile">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_N" param1="50"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_P" param1="0"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_F" param1="50"></data>
<data cmd="PERF_RES_FPS_FPSGO_BOOST_AFFINITY" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_FPS_MARGIN" param1="30"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_DOWN_QUOTA_PCT" param1="50"></data>
</FPS>
</Activity>
</Package>
<Package name="com.ea.game.nfs14_row">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_FPS_FBT_RESCUE_F" param1="55"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_N" param1="50"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_P" param1="0"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_FPS_MARGIN" param1="30"></data>
<data cmd="PERF_RES_FPS_FPSGO_BOOST_AFFINITY" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_DOWN_QUOTA_PCT" param1="50"></data>
</FPS>
</Activity>
</Package>
<Package name="com.estrongs.android.pop.pro">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_SCHED_UCLAMP_MIN_FG" param1="100"></data>
<data cmd="PERF_RES_FPS_FBT_BHR_OPP" param1="15"></data>
</FPS>
</Activity>
</Package>
<Package name="com.netease.mrzh">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_THERMAL_POLICY" param1="8"></data>
<data cmd="PERF_RES_FPS_FPSGO_MARGIN_MODE" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_POLICY" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_LLF_TH" param1="15"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_DOWN_QUOTA_PCT" param1="25"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_FPS_MARGIN" param1="25"></data>
<data cmd="PERF_RES_FPS_FBT_QR_T2WNT_Y_P" param1="10"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_F" param1="50"></data>
<data cmd="PERF_RES_GPU_GED_TIMER_BASE_DVFS_MARGIN" param1="50"></data>
<data cmd="PERF_RES_GPU_GED_LOADING_BASE_DVFS_STEP" param1="16"></data>
<data cmd="PERF_RES_GPU_GED_MARGIN_MODE" param1="150"></data>
<data cmd="PERF_RES_CPUFREQ_CCI_FREQ" param1="1"></data>
<data cmd="PERF_RES_FPS_FPSGO_IDLEPREFER" param1="0"></data>
<data cmd="PERF_RES_FPS_FBT_CEILING_ENABLE" param1="1"></data>
</FPS>
</Activity>
</Package>
<Package name="com.sina.weibo">
<Activity name="com.sina.weibo.wblive.activity.WBLivePublishActivity">
<FPS value="Common">
<data cmd="PERF_RES_FPS_FBT_BHR_OPP" param1="10"></data>
</FPS>
</Activity>
</Package>
<Package name="com.android.chrome">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_FPS_FBT_CEILING_ENABLE" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_CHECK" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_RESCUE_SECOND_GAME_ENABLE" param1="0"></data>
<data cmd="PERF_RES_FPS_FPSGO_ADJ_LOADING" param1="1"></data>
<data cmd="PERF_RES_FPS_FBT_GCC_ENABLE" param1="0"></data>
<data cmd="PERF_RES_FPS_FSTB_SELF_CTRL_FPS_ENABLE" param1="0"></data>
<data cmd="PERF_RES_FPS_FBT_QR_ENABLE" param1="0"></data>
</FPS>
</Activity>
</Package>
<Package name="com.autonavi.minimap">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_GPU_GED_TIMER_BASE_DVFS_MARGIN" param1="65"></data>
<data cmd="PERF_RES_GPU_GED_LOADING_BASE_DVFS_STEP" param1="16"></data>
<data cmd="PERF_RES_GPU_GED_MARGIN_MODE" param1="30"></data>
<data cmd="PERF_RES_GPU_FREQ_MIN" param1="0"></data>
</FPS>
</Activity>
</Package>
<Package name="com.tencent.mm">
<!-- SPD: enable ceiling_enable for wechat recordvideo by qiancheng.li at 20230220 start -->
<Activity name="com.tencent.mm.plugin.recordvideo.activity.MMRecordUI">
<FPS value="Common">
<data cmd="PERF_RES_FPS_FBT_CEILING_ENABLE" param1="1"></data>
</FPS>
</Activity>
<!-- SPD: enable ceiling_enable for wechat recordvideo by qiancheng.li at 20230220 end -->
<Activity name="com.tencent.mm.plugin.sns.ui.SnsTimeLineUI" type = "UxScroll">
<FPS value="Common">
<data cmd="PERF_RES_FPS_FBT_CEILING_ENABLE" param1="1"></data>
</FPS>
</Activity>
<Activity name="com.tencent.mm.plugin.scanner.ui.BaseScanUI">
<FPS value="Common">
<data cmd="PERF_RES_FPS_FBT_CEILING_ENABLE" param1="1"></data>
</FPS>
</Activity>
</Package>
<!-- SPD:modify cpufreq for candycrush by sifeng.tian at 20220725 start -->
<Package name="com.king.candycrushsodasaga">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_0" param1="1200000"></data>
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_1" param1="1500000"></data>
</FPS>
</Activity>
</Package>
<!-- SPD:modify cpufreq for candycrush by sifeng.tian at 20220725 end -->
<!--add set target_fps for hilauncher LGBNHBJY-826 by huichao.he 20220801 start-->
<Package name="com.transsion.hilauncher.upgrade">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_FPS_FPSGO_BOOST_AFFINITY" param1="1"></data>
</FPS>
</Activity>
</Package>
<!--add set target_fps for hilauncher LGBNHBJY-826 by huichao.he 20220801 end-->
<!-- BSP:add CKQNHB-2825 by jiaqiong.zhang 20230201 start -->
<Package name="com.firsttouchgames.dls7">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_0" param1="2000000"></data>
<data cmd="PERF_RES_CPUFREQ_MIN_CLUSTER_1" param1="1855000"></data>
</FPS>
</Activity>
</Package>
<!-- BSP:add CKQNHB-2825 by jiaqiong.zhang 20230201 end -->
<!-- NFBD: wifi configure low latency mode for mobile.legends by yuguo.zhang 20230305 start -->
<Package name="com.mobile.legends">
<Activity name="Common">
<FPS value="Common">
<data cmd="PERF_RES_THERMAL_POLICY" param1="8"></data>
<data cmd="PERF_RES_GPU_GED_MARGIN_MODE" param1="110"></data>
<data cmd="PERF_RES_NET_NETD_BOOST_UID" param1="1"></data>
<data cmd="PERF_RES_NET_WIFI_LOW_LATENCY" param1="1"></data>
</FPS>
</Activity>
</Package>
<!-- NFBD: wifi configure low latency mode for mobile.legends by yuguo.zhang 20230305 end -->
</WHITELIST>

View file

@ -0,0 +1,864 @@
<?xml version="1.0" encoding="UTF-8"?>
<CONTABLE>
<CMD name="PERF_RES_CPUCORE_MIN_CLUSTER_0" id="0x00800000">
<Compare>more</Compare>
<MaxValue>6</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>6</DefaultValue>
</CMD>
<CMD name="PERF_RES_CPUCORE_MIN_CLUSTER_1" id="0x00800100">
<Compare>more</Compare>
<MaxValue>2</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>2</DefaultValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_FLOOR_BOUND" id="0x02014000">
<Entry path="/sys/module/mtk_fpsgo/parameters/floor_bound"></Entry>
<Compare>less</Compare>
<MaxValue>20</MaxValue>
<MinValue>1</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_KMIN" id="0x02018000">
<Entry path="/sys/module/mtk_fpsgo/parameters/kmin"></Entry>
<Compare>more</Compare>
<MaxValue>20</MaxValue>
<MinValue>1</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_BHR_OPP" id="0x02020000">
<Entry path="/sys/module/mtk_fpsgo/parameters/bhr_opp"></Entry>
<Compare>more</Compare>
<MaxValue>31</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_BHR" id="0x02024000">
<Entry path="/sys/module/mtk_fpsgo/parameters/bhr"></Entry>
<Compare>more</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_SCHED_PREFER_IDLE_FG" id="0x01404100">
<Entry path="/dev/cpuctl/foreground/cpu.uclamp.latency_sensitive"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>0</DefaultValue>
</CMD>
<CMD name="PERF_RES_SCHED_PREFER_IDLE_BG" id="0x01404200">
<Entry path="/dev/cpuctl/background/cpu.uclamp.latency_sensitive"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>0</DefaultValue>
</CMD>
<CMD name="PERF_RES_SCHED_PREFER_IDLE_TA" id="0x01404300">
<Entry path="/dev/cpuctl/top-app/cpu.uclamp.latency_sensitive"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>0</DefaultValue>
</CMD>
<CMD name="PERF_RES_SCHED_PREFER_IDLE_RT" id="0x01404400">
<Entry path="/dev/cpuctl/rt/cpu.uclamp.latency_sensitive"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>0</DefaultValue>
</CMD>
<CMD name="PERF_RES_SCHED_PREFER_IDLE_SYS" id="0x01404600">
<Entry path="/dev/cpuctl/system/cpu.uclamp.latency_sensitive"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>0</DefaultValue>
</CMD>
<CMD name="PERF_RES_SCHED_PREFER_IDLE_SYSBG" id="0x01404700">
<Entry path="/dev/cpuctl/system-background/cpu.uclamp.latency_sensitive"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>0</DefaultValue>
</CMD>
<CMD name="PERF_RES_SCHED_UCLAMP_MIN_FG" id="0x01408100">
<Entry path="/dev/cpuctl/foreground/cpu.uclamp.min"></Entry>
<Compare>more</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>0</DefaultValue>
</CMD>
<CMD name="PERF_RES_SCHED_UCLAMP_MIN_BG" id="0x01408200">
<Entry path="/dev/cpuctl/background/cpu.uclamp.min"></Entry>
<Compare>more</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>0</DefaultValue>
</CMD>
<CMD name="PERF_RES_SCHED_UCLAMP_MIN_TA" id="0x01408300">
<Entry path="/dev/cpuctl/top-app/cpu.uclamp.min"></Entry>
<Compare>more</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>0</DefaultValue>
</CMD>
<CMD name="PERF_RES_SCHED_UCLAMP_MIN_RT" id="0x01408400">
<Entry path="/dev/cpuctl/rt/cpu.uclamp.min"></Entry>
<Compare>more</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>0</DefaultValue>
</CMD>
<CMD name="PERF_RES_SCHED_UCLAMP_MIN_SYS" id="0x01408500">
<Entry path="/dev/cpuctl/system/cpu.uclamp.min"></Entry>
<Compare>more</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>0</DefaultValue>
</CMD>
<CMD name="PERF_RES_SCHED_UCLAMP_MIN_SYSBG" id="0x01408c00">
<Entry path="/dev/cpuctl/system-background/cpu.uclamp.min"></Entry>
<Compare>more</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>0</DefaultValue>
</CMD>
<CMD name="PERF_RES_SCHED_UCLAMP_MAX_FG" id="0x01408700">
<Entry path="/dev/cpuctl/foreground/cpu.uclamp.max"></Entry>
<Compare>less</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>100</DefaultValue>
</CMD>
<CMD name="PERF_RES_SCHED_UCLAMP_MAX_BG" id="0x01408800">
<Entry path="/dev/cpuctl/background/cpu.uclamp.max"></Entry>
<Compare>less</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>100</DefaultValue>
</CMD>
<CMD name="PERF_RES_SCHED_UCLAMP_MAX_TA" id="0x01408900">
<Entry path="/dev/cpuctl/top-app/cpu.uclamp.max"></Entry>
<Compare>less</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>100</DefaultValue>
</CMD>
<CMD name="PERF_RES_SCHED_UCLAMP_MAX_RT" id="0x01408a00">
<Entry path="/dev/cpuctl/rt/cpu.uclamp.max"></Entry>
<Compare>less</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>100</DefaultValue>
</CMD>
<CMD name="PERF_RES_SCHED_UCLAMP_MAX_SYS" id="0x01408b00">
<Entry path="/dev/cpuctl/system/cpu.uclamp.max"></Entry>
<Compare>less</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>100</DefaultValue>
</CMD>
<CMD name="PERF_RES_SCHED_UCLAMP_MAX_SYSBG" id="0x01408d00">
<Entry path="/dev/cpuctl/system-background/cpu.uclamp.max"></Entry>
<Compare>less</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>100</DefaultValue>
</CMD>
<CMD name="PERF_RES_SCHED_UTIL_UP_RATE_LIMIT_US_CLUSTER_0" id="0x01438300">
<Entry path="/sys/devices/system/cpu/cpufreq/policy0/sugov_ext/up_rate_limit_us"></Entry>
<Compare>less</Compare>
<MaxValue>1000000000</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>1000</DefaultValue>
</CMD>
<CMD name="PERF_RES_SCHED_UTIL_UP_RATE_LIMIT_US_CLUSTER_1" id="0x01438400">
<Entry path="/sys/devices/system/cpu/cpufreq/policy6/sugov_ext/up_rate_limit_us"></Entry>
<Compare>less</Compare>
<MaxValue>1000000000</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>1000</DefaultValue>
</CMD>
<CMD name="PERF_RES_SCHED_UTIL_DOWN_RATE_LIMIT_US_CLUSTER_0" id="0x01438600">
<Entry path="/sys/devices/system/cpu/cpufreq/policy0/sugov_ext/down_rate_limit_us"></Entry>
<Compare>more</Compare>
<MaxValue>1000000000</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>1000</DefaultValue>
</CMD>
<CMD name="PERF_RES_SCHED_UTIL_DOWN_RATE_LIMIT_US_CLUSTER_1" id="0x01438700">
<Entry path="/sys/devices/system/cpu/cpufreq/policy6/sugov_ext/down_rate_limit_us"></Entry>
<Compare>more</Compare>
<MaxValue>1000000000</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>1000</DefaultValue>
</CMD>
<CMD name="PERF_RES_CPUFREQ_CCI_FREQ" id="0x00410000">
<Entry path="/sys/kernel/cm_mgr/dbg_cm_mgr"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>0</DefaultValue>
<Prefix>dsu_mode^</Prefix>
</CMD>
<CMD name="PERF_RES_PERF_TASK_TURBO" id="0x0300c000">
<Entry path="/sys/module/task_turbo/parameters/feats"></Entry>
<Compare>more</Compare>
<MaxValue>15</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>0</DefaultValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_BOOST_TA" id="0x02030000">
<Entry path="/sys/kernel/fpsgo/fbt/boost_ta"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>0</DefaultValue>
</CMD>
<CMD name="PERF_RES_GPU_GED_MARGIN_MODE" id="0x00c0c100">
<Entry path="/sys/kernel/ged/hal/dvfs_margin_value"></Entry>
<Compare>more</Compare>
<MaxValue>6553599</MaxValue>
<MinValue>1</MinValue>
<DefaultValue>130</DefaultValue>
</CMD>
<CMD name="PERF_RES_FPS_FSTB_JUMP_CHECK_NUM" id="0x02008100">
<Entry path="/sys/kernel/fpsgo/fstb/jump_check_num"></Entry>
<Compare>more</Compare>
<MaxValue>60</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FSTB_JUMP_CHECK_Q_PCT" id="0x02008200">
<Entry path="/sys/kernel/fpsgo/fstb/jump_check_q_pct"></Entry>
<Compare>more</Compare>
<MaxValue>99</MaxValue>
<MinValue>1</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_CAM" id="0x02008400">
<Entry path="/sys/kernel/fpsgo/fstb/set_cam_active"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_CAM_ACTIVE_FPSGO_OFF" id="0x02008500">
<Entry path="/sys/kernel/fpsgo/fstb/set_cam_active_fpsgo_off"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_MARGIN_MODE" id="0x02034000">
<Entry path="/sys/kernel/fpsgo/fstb/margin_mode"></Entry>
<Compare>more</Compare>
<MaxValue>2</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_MARGIN_MODE_GPU" id="0x02074000">
<Entry path="/sys/kernel/fpsgo/fstb/margin_mode_gpu"></Entry>
<Compare>more</Compare>
<MaxValue>2</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_RESCUE_F" id="0x0203c000">
<Entry path="/sys/module/mtk_fpsgo/parameters/rescue_enhance_f"></Entry>
<Compare>more</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_RESCUE_PERCENT" id="0x0203c100">
<Entry path="/sys/module/mtk_fpsgo/parameters/rescue_percent"></Entry>
<Compare>more</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_ULTRA_RESCUE" id="0x0203c200">
<Entry path="/sys/kernel/fpsgo/fbt/ultra_rescue"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_RESCUE_C" id="0x0203c300">
<Entry path="/sys/module/mtk_fpsgo/parameters/rescue_opp_c"></Entry>
<Compare>more</Compare>
<MaxValue>31</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_RESCUE_CHECK" id="0x0203c400">
<Entry path="/sys/module/mtk_fpsgo/parameters/check_running"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_RESCUE_SECOND_ENABLE" id="0x0203c500">
<Entry path="/sys/module/mtk_fpsgo/parameters/rescue_second_enable"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_RESCUE_SECOND_TIME" id="0x0203c600">
<Entry path="/sys/module/mtk_fpsgo/parameters/rescue_second_time"></Entry>
<Compare>more</Compare>
<MaxValue>10</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_RESCUE_SECOND_GROUP" id="0x0203c700">
<Entry path="/sys/module/mtk_fpsgo/parameters/rescue_second_group"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>0</DefaultValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_RESCUE_F_OPP" id="0x0203c900">
<Entry path="/sys/module/mtk_fpsgo/parameters/rescue_opp_f"></Entry>
<Compare>more</Compare>
<MaxValue>31</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_RESCUE_SECOND_GAME_ENABLE" id="0x0203ca00">
<Entry path="/sys/module/mtk_fpsgo/parameters/rescue_second_g_enable"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_DISP_IDLE_TIME" id="0x0240C000">
<Entry path="/proc/displowpower/idletime"></Entry>
<Compare>more</Compare>
<MaxValue>1000000</MaxValue>
<MinValue>33</MinValue>
</CMD>
<CMD name="PERF_RES_DRAM_CM_MGR_CAM_ENABLE" id="0x01010100">
<Entry path="/sys/kernel/cm_mgr/dbg_cm_mgr"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>0</DefaultValue>
<Prefix>cm_mgr_camera_enable^</Prefix>
</CMD>
<CMD name="PERF_RES_DRAM_CM_MGR_MAP_DRAM_ENABLE" id="0x01010200">
<Entry path="/sys/kernel/cm_mgr/dbg_cm_mgr"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>0</DefaultValue>
<Prefix>cm_mgr_cpu_map_dram_enable^</Prefix>
</CMD>
<CMD name="PERF_RES_DRAM_CM_MGR_AGGRESSIVE" id="0x01010300">
<Entry path="/sys/kernel/cm_mgr/dbg_cm_mgr"></Entry>
<Compare>more</Compare>
<MaxValue>2</MaxValue>
<MinValue>0</MinValue>
<Prefix>cm_aggr^</Prefix>
</CMD>
<CMD name="PERF_RES_POWERHAL_TOUCH_BOOST_ENABLE" id="0x03408500">
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>1</DefaultValue>
</CMD>
<CMD name="PERF_RES_POWERHAL_TOUCH_BOOST_CLUSTER_0_OPP" id="0x03408800">
<Compare>less</Compare>
<MaxValue>31</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>2</DefaultValue>
</CMD>
<CMD name="PERF_RES_POWERHAL_TOUCH_BOOST_CLUSTER_1_OPP" id="0x03408900">
<Compare>less</Compare>
<MaxValue>31</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>2</DefaultValue>
</CMD>
<CMD name="PERF_RES_POWERHAL_TOUCH_BOOST_DURATION" id="0x03408100">
<Compare>more</Compare>
<MaxValue>2000</MaxValue>
<MinValue>10</MinValue>
<DefaultValue>200</DefaultValue>
</CMD>
<CMD name="PERF_RES_POWERHAL_TOUCH_BOOST_ACTIVE_TIME" id="0x03408200">
<Compare>more</Compare>
<MaxValue>1000</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>100</DefaultValue>
</CMD>
<CMD name="PERF_RES_POWERHAL_TOUCH_BOOST_EAS_BOOST" id="0x03408300">
<Compare>more</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>80</DefaultValue>
</CMD>
<CMD name="PERF_RES_POWERHAL_TOUCH_BOOST_DEBOOST_WHEN_RENDER" id="0x03408700">
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>1</DefaultValue>
</CMD>
<CMD name="PERF_RES_PM_QOS_CPU_DMA_LATENCY_VALUE" id="0x01c3c200">
<Compare>less</Compare>
<MaxValue>1000000000</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>0</DefaultValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_SHORT_RESCUE_NS" id="0x0200c000">
<Entry path="/sys/module/mtk_fpsgo/parameters/short_rescue_ns"></Entry>
<Compare>more</Compare>
<MaxValue>2000000000</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_MIN_RESCUE_PERCENT" id="0x0200c100">
<Entry path="/sys/module/mtk_fpsgo/parameters/min_rescue_percent"></Entry>
<Compare>more</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_GPU_GED_TIMER_BASE_DVFS_MARGIN" id="0x00c0c200">
<Entry path="/sys/kernel/ged/hal/timer_base_dvfs_margin"></Entry>
<Compare>more</Compare>
<MaxValue>2000000000</MaxValue>
<MinValue>-1</MinValue>
<DefaultValue>798</DefaultValue>
</CMD>
<CMD name="PERF_RES_GPU_GED_LOADING_BASE_DVFS_STEP" id="0x00c0c300">
<Entry path="/sys/kernel/ged/hal/loading_base_dvfs_step"></Entry>
<Compare>more</Compare>
<MaxValue>25855</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>4</DefaultValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_MARGIN_MODE_DBNC_A" id="0x02034100">
<Entry path="/sys/kernel/fpsgo/fstb/margin_mode_dbnc_a"></Entry>
<Compare>more</Compare>
<MaxValue>32767</MaxValue>
<MinValue>1</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_MARGIN_MODE_DBNC_B" id="0x02034200">
<Entry path="/sys/kernel/fpsgo/fstb/margin_mode_dbnc_b"></Entry>
<Compare>more</Compare>
<MaxValue>32767</MaxValue>
<MinValue>1</MinValue>
</CMD>
<CMD name="PERF_RES_CFP_ENABLE" id="0x03008000">
<Entry path="/sys/module/mtk_fpsgo/parameters/cfp_onoff"></Entry>
<Compare>less</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_LLF_TH" id="0x02044000">
<Entry path="/sys/module/mtk_fpsgo/parameters/loading_th"></Entry>
<Compare>more</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_LLF_POLICY" id="0x02044100">
<Entry path="/sys/kernel/fpsgo/fbt/llf_task_policy"></Entry>
<Compare>less</Compare>
<MaxValue>2</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_LLF_LIGHT_LOADING_POLICY" id="0x02044200">
<Entry path="/sys/kernel/fpsgo/fbt/light_loading_policy"></Entry>
<Compare>more</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>0</DefaultValue>
</CMD>
<CMD name="PERF_RES_GPU_GED_DVFS_LOADING_MODE" id="0x00c0c600">
<Entry path="/sys/kernel/ged/hal/dvfs_loading_mode"></Entry>
<Compare>more</Compare>
<MaxValue>2</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>0</DefaultValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_DEP_FRAMES" id="0x02048000">
<Entry path="/sys/module/mtk_fpsgo/parameters/xgf_dep_frames"></Entry>
<Compare>more</Compare>
<MaxValue>20</MaxValue>
<MinValue>2</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_SP_NAME_ID" id="0x02048100">
<Entry path="/sys/module/mtk_fpsgo/parameters/xgf_sp_name_id"></Entry>
<Compare>more</Compare>
<MaxValue>50</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>0</DefaultValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_SP_SUB" id="0x02048200">
<Entry path="/sys/module/mtk_fpsgo/parameters/xgf_spid_sub"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>0</DefaultValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_SP_CK_PERIOD" id="0x02048300">
<Entry path="/sys/module/mtk_fpsgo/parameters/xgf_spid_ck_period"></Entry>
<Compare>more</Compare>
<MaxValue>1000000000</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>1000000000</DefaultValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_SUB_QUE_DEQUE_PERIOD" id="0x02048400">
<Entry path="/sys/module/mtk_fpsgo/parameters/xgf_extra_sub"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>0</DefaultValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_EMA_DIVIDEND" id="0x02048500">
<Entry path="/sys/module/mtk_fpsgo/parameters/xgf_ema_dividend"></Entry>
<Compare>more</Compare>
<MaxValue>9</MaxValue>
<MinValue>1</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_STDDEV_MULTI" id="0x02048600">
<Entry path="/sys/module/mtk_fpsgo/parameters/xgf_stddev_multi"></Entry>
<Compare>more</Compare>
<MaxValue>5</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_UBOOST_F" id="0x02048800">
<Entry path="/sys/module/mtk_fpsgo/parameters/uboost_enhance_f"></Entry>
<Compare>more</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>25</DefaultValue>
</CMD>
<CMD name="PERF_RES_FPS_GBE1_ENABLE" id="0x0204c000">
<Entry path="/sys/kernel/gbe/gbe_enable1"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_GBE2_ENABLE" id="0x0204c100">
<Entry path="/sys/kernel/gbe/gbe_enable2"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_GBE2_TIMER2_MS" id="0x0204c200">
<Entry path="/sys/kernel/gbe/gbe2_timer2"></Entry>
<Compare>more</Compare>
<MaxValue>10000</MaxValue>
<MinValue>400</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_GBE2_MAX_BOOST_CNT" id="0x0204c400">
<Entry path="/sys/kernel/gbe/gbe2_max_boost_cnt"></Entry>
<Compare>more</Compare>
<MaxValue>15</MaxValue>
<MinValue>1</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_GBE2_LOADING_TH" id="0x0204c300">
<Entry path="/sys/kernel/gbe/gbe2_loading_th"></Entry>
<Compare>more</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_GBE_POLICY_MASK" id="0x0204c500">
<Entry path="/sys/kernel/gbe/gbe_policy_mask"></Entry>
<Compare>more</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_GBE2_TIMER1_MS" id="0x0204c600">
<Entry path="/sys/kernel/gbe/gbe2_timer1"></Entry>
<Compare>more</Compare>
<MaxValue>300</MaxValue>
<MinValue>10</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_GBE_THRM_HDRM_THRS" id="0x0204c700">
<Entry path="/sys/kernel/gbe/gbe_thrm_hdrm_thrs"></Entry>
<Compare>more</Compare>
<MaxValue>1000</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_IDLEPREFER" id="0x02050000">
<Entry path="/sys/kernel/fpsgo/fbt/switch_idleprefer"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>1</DefaultValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_THRM_TEMP_TH" id="0x02054000">
<Entry path="/sys/kernel/fpsgo/fbt/thrm_temp_th"></Entry>
<Compare>more</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_THRM_LIMIT_CPU" id="0x02054100">
<Entry path="/sys/kernel/fpsgo/fbt/thrm_limit_cpu"></Entry>
<Compare>more</Compare>
<MaxValue>7</MaxValue>
<MinValue>-1</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_THRM_SUB_CPU" id="0x02054200">
<Entry path="/sys/kernel/fpsgo/fbt/thrm_sub_cpu"></Entry>
<Compare>more</Compare>
<MaxValue>7</MaxValue>
<MinValue>-1</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_THRM_ENABLE" id="0x02054400">
<Entry path="/sys/kernel/fpsgo/fbt/thrm_enable"></Entry>
<Compare>less</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_CM_BIG_CAP" id="0x02058000">
<Entry path="/sys/module/mtk_fpsgo/parameters/cm_big_cap"></Entry>
<Compare>more</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>95</DefaultValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_CM_TDIFF" id="0x02058100">
<Entry path="/sys/module/mtk_fpsgo/parameters/cm_tdiff"></Entry>
<Compare>more</Compare>
<MaxValue>50000000</MaxValue>
<MinValue>-50000000</MinValue>
<DefaultValue>1000000</DefaultValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_BOOST_AFFINITY" id="0x0205c000">
<Entry path="/sys/module/mtk_fpsgo/parameters/boost_affinity"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>0</DefaultValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_BOOST_LR" id="0x0205c300">
<Entry path="/sys/module/mtk_fpsgo/parameters/boost_LR"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>0</DefaultValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_SPID" id="0x02060000">
<Entry path="/sys/module/mtk_fpsgo/parameters/xgf_cfg_spid"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>0</DefaultValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_LIMIT_CFREQ" id="0x02064000">
<Entry path="/sys/kernel/fpsgo/fbt/limit_cfreq"></Entry>
<Compare>more</Compare>
<MaxValue>3000000</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_LIMIT_RFREQ" id="0x02064100">
<Entry path="/sys/kernel/fpsgo/fbt/limit_rfreq"></Entry>
<Compare>more</Compare>
<MaxValue>3000000</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_LIMIT_CFREQ_M" id="0x02064200">
<Entry path="/sys/kernel/fpsgo/fbt/limit_cfreq_m"></Entry>
<Compare>more</Compare>
<MaxValue>3000000</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_LIMIT_RFREQ_M" id="0x02064300">
<Entry path="/sys/kernel/fpsgo/fbt/limit_rfreq_m"></Entry>
<Compare>more</Compare>
<MaxValue>3000000</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_CEILING_ENABLE" id="0x02064400">
<Entry path="/sys/kernel/fpsgo/fbt/enable_ceiling"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_MINITOP_ENABLE" id="0x02064500">
<Entry path="/sys/kernel/fpsgo/minitop/enable"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>1</DefaultValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_ENABLE" id="0x02004000">
<Entry path="/sys/kernel/fpsgo/common/fpsgo_enable"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_FORCE_ONOFF" id="0x02004100">
<Entry path="/sys/kernel/fpsgo/common/force_onoff"></Entry>
<Compare>more</Compare>
<MaxValue>2</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>2</DefaultValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_STOP_BOOST" id="0x02004200">
<Entry path="/sys/kernel/fpsgo/common/stop_boost"></Entry>
<Compare>more</Compare>
<MaxValue>65535</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_QR_ENABLE" id="0x02068000">
<Entry path="/sys/module/mtk_fpsgo/parameters/qr_enable"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_QR_T2WNT_X" id="0x02068200">
<Entry path="/sys/module/mtk_fpsgo/parameters/qr_t2wnt_x"></Entry>
<Compare>less</Compare>
<MaxValue>100</MaxValue>
<MinValue>-100</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_QR_T2WNT_Y_P" id="0x02068300">
<Entry path="/sys/module/mtk_fpsgo/parameters/qr_t2wnt_y_p"></Entry>
<Compare>more</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_QR_T2WNT_Y_N" id="0x02068400">
<Entry path="/sys/module/mtk_fpsgo/parameters/qr_t2wnt_y_n"></Entry>
<Compare>more</Compare>
<MaxValue>200</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_GCC_ENABLE" id="0x0206c000">
<Entry path="/sys/module/mtk_fpsgo/parameters/gcc_enable"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_GCC_ENQ_BOUND_THRS" id="0x0206c100">
<Entry path="/sys/module/mtk_fpsgo/parameters/gcc_enq_bound_thrs"></Entry>
<Compare>more</Compare>
<MaxValue>200</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_GCC_ENQ_BOUND_QUOTA" id="0x0206c200">
<Entry path="/sys/module/mtk_fpsgo/parameters/gcc_enq_bound_quota"></Entry>
<Compare>more</Compare>
<MaxValue>200</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_GCC_DEQ_BOUND_THRS" id="0x0206c300">
<Entry path="/sys/module/mtk_fpsgo/parameters/gcc_deq_bound_thrs"></Entry>
<Compare>more</Compare>
<MaxValue>200</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_GCC_DEQ_BOUND_QUOTA" id="0x0206c400">
<Entry path="/sys/module/mtk_fpsgo/parameters/gcc_deq_bound_quota"></Entry>
<Compare>more</Compare>
<MaxValue>200</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_GCC_FPS_MARGIN" id="0x0206c500">
<Entry path="/sys/module/mtk_fpsgo/parameters/gcc_fps_margin"></Entry>
<Compare>more</Compare>
<MaxValue>6000</MaxValue>
<MinValue>-6000</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_GCC_UP_SEC_PCT" id="0x0206c600">
<Entry path="/sys/module/mtk_fpsgo/parameters/gcc_up_sec_pct"></Entry>
<Compare>more</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_GCC_DOWN_SEC_PCT" id="0x0206cc00">
<Entry path="/sys/module/mtk_fpsgo/parameters/gcc_down_sec_pct"></Entry>
<Compare>more</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_GCC_HWUI_HINT" id="0x0206ce00">
<Entry path="/sys/module/mtk_fpsgo/parameters/gcc_hwui_hint"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_ADJ_LOADING" id="0x02040000">
<Entry path="/sys/module/mtk_fpsgo/parameters/adjust_loading"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_ADJ_LOADING_HWUI_HINT" id="0x02040400">
<Entry path="/sys/module/mtk_fpsgo/parameters/adjust_loading_hwui_hint"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_GCC_UP_STEP" id="0x0206cd00">
<Entry path="/sys/module/mtk_fpsgo/parameters/gcc_up_step"></Entry>
<Compare>more</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_GCC_DOWN_STEP" id="0x0206c700">
<Entry path="/sys/module/mtk_fpsgo/parameters/gcc_down_step"></Entry>
<Compare>more</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_GCC_UPPER_CLAMP" id="0x0206c800">
<Entry path="/sys/module/mtk_fpsgo/parameters/gcc_upper_clamp"></Entry>
<Compare>more</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_GCC_UP_QUOTA_PCT" id="0x0206c900">
<Entry path="/sys/module/mtk_fpsgo/parameters/gcc_reserved_up_quota_pct"></Entry>
<Compare>more</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FBT_GCC_DOWN_QUOTA_PCT" id="0x0206cA00">
<Entry path="/sys/module/mtk_fpsgo/parameters/gcc_reserved_down_quota_pct"></Entry>
<Compare>more</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_FPS_BYPASS_MIN" id="0x02088000">
<Entry path="/sys/kernel/fpsgo/fstb/fstb_fps_bypass_min"></Entry>
<Compare>more</Compare>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FPSGO_EMA2_ENABLE" id="0x02078000">
<Entry path="/sys/module/mtk_fpsgo/parameters/xgf_ema2_enable"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FSTB_SELF_CTRL_FPS_ENABLE" id="0x0207c000">
<Entry path="/sys/kernel/fpsgo/fstb/fstb_self_ctrl_fps_enable"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FSTB_CONSIDER_DEQ" id="0x0207c100">
<Entry path="/sys/module/mtk_fpsgo/parameters/fstb_consider_deq"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FSTB_NO_R_TIMER" id="0x0207c200">
<Entry path="/sys/module/mtk_fpsgo/parameters/fstb_no_r_timer_enable"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_FPS_FSTB_TFPS_TO_POWERHAL_ENABLE" id="0x02080000">
<Entry path="/sys/kernel/fpsgo/fstb/tfps_to_powerhal_enable"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_GPU_BLOCK_API_BOOST" id="0x00c24000">
<Entry path="/sys/kernel/ged/hal/gpu_boost_level"></Entry>
<Compare>more</Compare>
<MaxValue>100</MaxValue>
<MinValue>-1</MinValue>
<DefaultValue>-1</DefaultValue>
</CMD>
<CMD name="PERF_RES_DRAM_VM_KSWAPD0_BIND_CORE_ENABLE" id="0x10000002">
<Entry path="/proc/sys/vm/kswapd0_bind_core_enable"></Entry>
<Compare>more</Compare>
<MaxValue>1</MaxValue>
<MinValue>0</MinValue>
</CMD>
<CMD name="PERF_RES_DRAM_VM_WATERMARK_SCALEFACTOR" id="0x0102c300">
<Entry path="/proc/sys/vm/watermark_scale_factor"></Entry>
<Compare>more</Compare>
<MaxValue>200</MaxValue>
<MinValue>0</MinValue>
</CMD>
</CONTABLE>

View file

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<SCNTABLE>
<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="INTERACTION">
<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>
<data cmd="PERF_RES_POWERHAL_TOUCH_BOOST_DURATION" param1="100000"></data>
<data cmd="PERF_RES_POWERHAL_TOUCH_BOOST_EAS_BOOST" param1="50"></data>
<data cmd="PERF_RES_POWERHAL_TOUCH_BOOST_NOTIFY_TOUCH_EVENT" param1="1"></data>
</scenario>
</SCNTABLE>

View file

@ -403,21 +403,19 @@ PRODUCT_COPY_FILES += \
# Power # Power
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.power-service.lineage-libperfmgr android.hardware.power-service-mediatek \
android.hardware.power-V2-ndk_platform.vendor \
android.hardware.power@1.3.vendor
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
vendor.mediatek.hardware.mtkpower@1.2-service.stub \
vendor.mediatek.hardware.mtkpower@1.0.vendor \ vendor.mediatek.hardware.mtkpower@1.0.vendor \
vendor.mediatek.hardware.mtkpower@1.1.vendor vendor.mediatek.hardware.mtkpower@1.1.vendor \
vendor.mediatek.hardware.mtkpower@1.2.vendor
PRODUCT_PACKAGES += \ PRODUCT_COPY_FILES += \
android.hardware.power@1.3.vendor \ $(LOCAL_PATH)/configs/perf/power_app_cfg.xml:$(TARGET_COPY_OUT_VENDOR)/etc/power_app_cfg.xml \
libperfctl_vendor $(LOCAL_PATH)/configs/perf/powercontable.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powercontable.xml \
$(LOCAL_PATH)/configs/perf/powerscntbl.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerscntbl.xml
# Power | Dummy mtkperf lib
PRODUCT_PACKAGES += \
libmtkperf_client_vendor \
libmtkperf_client
# Power configurations # Power configurations
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
@ -473,11 +471,7 @@ PRODUCT_SHIPPING_API_LEVEL := 31
# Soong namespaces # Soong namespaces
PRODUCT_SOONG_NAMESPACES += \ PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH) \ $(LOCAL_PATH) \
hardware/lineage/interfaces/power-libperfmgr \
hardware/google/interfaces \
hardware/google/pixel \
hardware/mediatek \ hardware/mediatek \
hardware/mediatek/libmtkperf_client \
hardware/transsion hardware/transsion
# Thermal # Thermal

47
power/power-mode.cpp Normal file
View file

@ -0,0 +1,47 @@
/*
* Copyright (C) 2021 The LineageOS Project
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <aidl/android/hardware/power/BnPower.h>
#include <android-base/file.h>
#include <android-base/logging.h>
#include <sys/ioctl.h>
namespace aidl {
namespace android {
namespace hardware {
namespace power {
namespace impl {
namespace mediatek {
using ::aidl::android::hardware::power::Mode;
bool isDeviceSpecificModeSupported(Mode type, bool* _aidl_return) {
switch (type) {
case Mode::DOUBLE_TAP_TO_WAKE:
*_aidl_return = true;
return true;
default:
return false;
}
}
bool setDeviceSpecificMode(Mode type, bool enabled) {
switch (type) {
case Mode::DOUBLE_TAP_TO_WAKE: {
::android::base::WriteStringToFile(enabled ? "cc1" : "cc2", TAP_TO_WAKE_NODE, true);
return true;
}
default:
return false;
}
}
} // namespace mediatek
} // namespace impl
} // namespace power
} // namespace hardware
} // namespace android
} // namespace aidl

View file

@ -2635,10 +2635,14 @@ vendor/lib64/libvcodecdrv_header_stub.so
# Misc and Potentially Requred Blobs # Misc and Potentially Requred Blobs
vendor/bin/hw/vendor.mediatek.hardware.tranHwInfo@1.0-service vendor/bin/hw/vendor.mediatek.hardware.tranHwInfo@1.0-service
vendor/bin/fpsgo
vendor/bin/gbe
vendor/bin/md_monitor vendor/bin/md_monitor
vendor/bin/meta_tst vendor/bin/meta_tst
vendor/bin/mt6660_calibration vendor/bin/mt6660_calibration
vendor/bin/rt5512_calibration vendor/bin/rt5512_calibration
vendor/etc/init/fpsgo.rc
vendor/etc/init/gbe.rc
vendor/etc/init/init.otg.rc vendor/etc/init/init.otg.rc
vendor/etc/init/md_monitor.rc vendor/etc/init/md_monitor.rc
vendor/etc/init/vendor.mediatek.hardware.tranHwInfo@1.0-service.rc vendor/etc/init/vendor.mediatek.hardware.tranHwInfo@1.0-service.rc
@ -2776,11 +2780,28 @@ vendor/lib64/vendor.mediatek.hardware.nvram@1.0.so
vendor/lib64/vendor.mediatek.hardware.nvram@1.1.so vendor/lib64/vendor.mediatek.hardware.nvram@1.1.so
# Power # Power
vendor/bin/hw/vendor.mediatek.hardware.mtkpower@1.0-service
vendor/etc/init/bootperf.rc vendor/etc/init/bootperf.rc
vendor/etc/init/init.fpsgo.rc vendor/etc/init/init.fpsgo.rc
vendor/etc/init/vendor.mediatek.hardware.mtkpower@1.0-init.rc
vendor/etc/init/vendor.mediatek.hardware.mtkpower@1.0-service.rc
-vendor/etc/vintf/manifest/power-default.xml:vendor/etc/vintf/manifest/power-mtk.xml
vendor/lib/hw/power.default.so:vendor/lib/hw/power.mt6789.so
vendor/lib/hw/vendor.mediatek.hardware.mtkpower@1.2-impl.so
vendor/lib/libperfctl_vendor.so
vendor/lib/libpower_timer.so vendor/lib/libpower_timer.so
vendor/lib/libpowerhal.so
vendor/lib/libpowerhalwrap_vendor.so
vendor/lib/libmtkperf_client_vendor.so
vendor/lib/vendor.mediatek.hardware.power@2.0.so vendor/lib/vendor.mediatek.hardware.power@2.0.so
vendor/lib64/hw/power.default.so:vendor/lib64/hw/power.mt6789.so
vendor/lib64/hw/vendor.mediatek.hardware.mtkpower@1.2-impl.so
vendor/lib64/android.hardware.power-service-mediatek.so
vendor/lib64/libperfctl_vendor.so
vendor/lib64/libpower_timer.so vendor/lib64/libpower_timer.so
vendor/lib64/libpowerhal.so
vendor/lib64/libpowerhalwrap_vendor.so
vendor/lib64/libmtkperf_client_vendor.so
vendor/lib64/libtranlog.so vendor/lib64/libtranlog.so
vendor/lib64/vendor.mediatek.hardware.power@2.0.so vendor/lib64/vendor.mediatek.hardware.power@2.0.so