peridot: Remove QTI perf service

Change-Id: I5b16eddced08885f85dc016a7fc5ef92c103e1dc
This commit is contained in:
AdarshGrewal
2026-01-27 01:56:58 +05:30
parent defba7ca57
commit 8c105a6373
38 changed files with 0 additions and 4512 deletions
@@ -1,67 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
an element represents an element in hashmap ,the key include Scence
and Trig struct, the key is cpu and Target
1. Cluster: "cpu0,cpu4,cpu7" in sm8475 platform; "cpu0,cpu3,cpu5,cpu7" in sm8550 platform
2. default scence: scence = 0
3. ex: < 37: return 33, < 39: return 37, < 41: return 39, < 43: return 41, < 45: return 43, abnormal_temp: return_45
4. target0 represents performance modetarget1 represents balanced modetarget2 represents power mode
-->
<BoostConfigs>
<ScrollBoost>
<!--默认场景-->
<Config Scence="0">
<Child Trig="35000"
Target0="boost:1 cpu0:1843200 cpu3:2361600 cpu7:2668800"
Target1="boost:1 cpu0:1843200 cpu3:2361600 cpu7:2668800"
Target2="boost:1 cpu0:1843200 cpu3:2361600 cpu7:2457600"/>
<Child Trig="37000"
Target0="boost:1 cpu0:1843200 cpu3:2361600 cpu7:2304000"
Target1="boost:1 cpu0:1843200 cpu3:2361600 cpu7:2304000"
Target2="boost:1 cpu0:1843200 cpu3:2188800 cpu7:2150400"/>
<Child Trig="39000"
Target0="boost:1 cpu0:1843200 cpu3:2188800 cpu7:2150400"
Target1="boost:1 cpu0:1843200 cpu3:2188800 cpu7:2150400"
Target2="boost:1 cpu0:1843200 cpu3:1920000 cpu7:1900800"/>
<Child Trig="41000"
Target0="boost:1 cpu0:1843200 cpu3:1920000 cpu7:1766400"
Target1="boost:1 cpu0:1843200 cpu3:1920000 cpu7:1766400"
Target2="boost:1 cpu0:1843200 cpu3:1920000 cpu7:1651200"/>
<Child Trig="43000"
Target0="boost:1 cpu0:1843200 cpu3:1920000 cpu7:1651200"
Target1="boost:1 cpu0:1843200 cpu3:1920000 cpu7:1651200"
Target2="boost:1 cpu0:1843200 cpu3:1824000 cpu7:1459200"/>
<Child Trig="45000"
Target0="boost:1 cpu0:1478400 cpu3:1056000 cpu7:960000"
Target1="boost:1 cpu0:1478400 cpu3:1056000 cpu7:960000"
Target2="boost:1 cpu0:1113600 cpu3:1056000 cpu7:960000"/>
</Config>
<!--定制场景 较激进-->
<Config Scence="1">
<Child Trig="35000"
Target0="boost:1 cpu0:1843200 cpu3:2572800 cpu7:2668800"
Target1="boost:1 cpu0:1843200 cpu3:2572800 cpu7:2668800"
Target2="boost:1 cpu0:1843200 cpu3:2361600 cpu7:2457600"/>
<Child Trig="37000"
Target0="boost:1 cpu0:1843200 cpu3:2361600 cpu7:2457600"
Target1="boost:1 cpu0:1843200 cpu3:2361600 cpu7:2457600"
Target2="boost:1 cpu0:1843200 cpu3:2361600 cpu7:2304000"/>
<Child Trig="39000"
Target0="boost:1 cpu0:1843200 cpu3:2361600 cpu7:2304000"
Target1="boost:1 cpu0:1843200 cpu3:2361600 cpu7:2304000"
Target2="boost:1 cpu0:1843200 cpu3:2188800 cpu7:2150400"/>
<Child Trig="41000"
Target0="boost:1 cpu0:1843200 cpu3:2188800 cpu7:2150400"
Target1="boost:1 cpu0:1843200 cpu3:2188800 cpu7:2150400"
Target2="boost:1 cpu0:1843200 cpu3:2073600 cpu7:1900800"/>
<Child Trig="43000"
Target0="boost:1 cpu0:1843200 cpu3:1920000 cpu7:1651200"
Target1="boost:1 cpu0:1843200 cpu3:1920000 cpu7:1651200"
Target2="boost:1 cpu0:1843200 cpu3:1824000 cpu7:1651200"/>
<Child Trig="45000"
Target0="boost:1 cpu0:1478400 cpu3:1056000 cpu7:960000"
Target1="boost:1 cpu0:1478400 cpu3:1056000 cpu7:960000"
Target2="boost:1 cpu0:1113600 cpu3:1056000 cpu7:960000"/>
</Config>
</ScrollBoost>
</BoostConfigs>
Binary file not shown.
@@ -1,31 +0,0 @@
# @file vendor.qti.hardware.perf2-hal-service.rc
# @brief Defination perf service
#
# DESCRIPTION
# ---------------------------------------------------------------------------
# Copyright (c) 2019-2021 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
# ---------------------------------------------------------------------------
service perf2-hal-1-0 /vendor/bin/hw/vendor.qti.hardware.perf2-hal-service
class hal
user root
group root system readproc oem_2907
interface aidl vendor.qti.hardware.perf2
on property:vendor.change.cgroup=fg && property:vendor.change.cgroup.for.pid=*
write /dev/cpuset/foreground/tasks ${vendor.change.cgroup.for.pid}
write /dev/cpuctl/foreground/tasks ${vendor.change.cgroup.for.pid}
write /proc/${vendor.change.cgroup.for.pid}/timerslack_ns 50000
on property:vendor.change.cgroup=bg && property:vendor.change.cgroup.for.pid=*
write /dev/blkio/background/tasks ${vendor.change.cgroup.for.pid}
write /dev/cpuctl/background/tasks ${vendor.change.cgroup.for.pid}
write /proc/${vendor.change.cgroup.for.pid}/timerslack_ns 40000000
on property:vendor.change.cgroup=def && property:vendor.change.cgroup.for.pid=*
write /dev/blkio/tasks ${vendor.change.cgroup.for.pid}
write /dev/cpuctl/tasks ${vendor.change.cgroup.for.pid}
write /dev/cpuset/tasks ${vendor.change.cgroup.for.pid}
write /proc/${vendor.change.cgroup.for.pid}/timerslack_ns 50000
-52
View File
@@ -1,52 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/* Copyright (c) 2021 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
*/
-->
<!--__________________________________Example format_______________________________________________
<SysNode Idx="0x8" Perm="6" WVal="10"/>
Perm: The permission to check on the above Node.
r w x
1 0 0 = 4
1 1 0 = 6
0 1 0 = 2
...
WVal: The value to be written for Avc denial testing. It can be string, int etc.
-->
<ResourceConfigs>
<PerfResources>
<SysNode Idx="0x0" Perm="4"/>
<SysNode Idx="0x1" Perm="4"/>
<SysNode Idx="0x2" Perm="4"/>
<SysNode Idx="0x3" Perm="4"/>
<SysNode Idx="0x4" Perm="4"/>
<SysNode Idx="0x5" Perm="4"/>
<SysNode Idx="0x6" Perm="6" WVal="Init:2:60,0,650,80,1700,120,2100:90,0,650,80,1700,120,2100"/>
<SysNode Idx="0x7" Perm="4"/>
<SysNode Idx="0x8" Perm="6" WVal="10"/>
<SysNode Idx="0x9" Perm="4"/>
<SysNode Idx="0xA" Perm="6" WVal="30"/>
<SysNode Idx="0xB" Perm="4"/>
<SysNode Idx="0xC" Perm="4"/>
<SysNode Idx="0xD" Perm="6" WVal="1"/>
<SysNode Idx="0xE" Perm="4"/>
<SysNode Idx="0xF" Perm="4"/>
<SysNode Idx="0x10" Perm="4"/>
<SysNode Idx="0x11" Perm="4"/>
<SysNode Idx="0x12" Perm="4"/>
<SysNode Idx="0x13" Perm="4"/>
<SysNode Idx="0x14" Perm="4"/>
<SysNode Idx="0x15" Perm="4"/>
<SysNode Idx="0x16" Perm="4"/>
<SysNode Idx="0x17" Perm="6" WVal="1"/>
<SysNode Idx="0x18" Perm="6" WVal="1"/>
<SysNode Idx="0x19" Perm="6" WVal="1"/>
<SysNode Idx="0x1A" Perm="6" WVal="1"/>
<SysNode Idx="0x1B" Perm="6" WVal="1"/>
</PerfResources>
</ResourceConfigs>
-372
View File
@@ -1,372 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2017 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!-- Supported XML tags with their fields.
* Major tag supports OpcodeValue.
* Minor tag supports OpcodeValue, Nodepath and Supported(Optional) fields.
* By default, all the resources are assumed as supported.
Supported field can be used to mark a resource as not supported.
* All the interactive nodes, ondemand nodes and some nodes of sched major
group which aren't being used are marked as Not supported by default and
can be enabled by using the target specific config files. -->
<!-- For resources which update multiple nodes or which require speical
acquire/release funcitons, need to mention the keyword SPECIAL_NODE
in their node path field and accordingly their ApplyOts and ResetOpts
functions need to be defined in the code.-->
<!-- For adding a new resource, a new minor tag with all mandatory fields
need to be added just before the end of it's major group. -->
<ResourceConfigs>
<PerfResources>
<!-- display off major start -->
<Major OpcodeValue="0x0" />
<Minor OpcodeValue="0x0" Node="SPECIAL_NODE - display_off" />
<!-- display off major end -->
<!-- power collapse major start -->
<Major OpcodeValue="0x1" />
<Minor OpcodeValue="0x0" Node="/dev/cpu_dma_latency" />
<Minor OpcodeValue="0x1" Node="/sys/module/lpm_levels/system/perf/perf-l2-pc/idle_enabled" />
<Minor OpcodeValue="0x2" Node="/sys/module/lpm_levels/parameters/bias_hyst" />
<Minor OpcodeValue="0x3" Node="/sys/module/lpm_levels/parameters/ref_stddev" />
<Minor OpcodeValue="0x4" Node="/sys/module/lpm_levels/parameters/tmr_add" />
<Minor OpcodeValue="0x5" Node="/sys/module/lpm_levels/parameters/lpm_ipi_prediction" Supported="no" />
<!-- power collapse major end -->
<!-- cpufreq major start -->
<Major OpcodeValue="0x2" />
<Minor OpcodeValue="0x0" Node="/sys/module/msm_performance/parameters/cpu_min_freq" />
<Minor OpcodeValue="0x1" Node="/sys/module/msm_performance/parameters/cpu_max_freq" />
<Minor OpcodeValue="0x2" Node="/sys/devices/system/cpu/cpufreq/policy0/walt/adaptive_low_freq" />
<Minor OpcodeValue="0x3" Node="/sys/devices/system/cpu/cpufreq/policy0/walt/adaptive_high_freq" />
<Minor OpcodeValue="0x4" Node="/sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq" Supported="no" />
<!-- cpufreq major end -->
<!-- sched major start -->
<Major OpcodeValue="0x3" />
<!--Sysfsnode paths may change basing on the target for minors 0x1, 0x4, 0x5, 0x9.
So, for targets with different node paths than default, need to be specified
in the target specific resource config xml file. -->
<Minor OpcodeValue="0x0" Node="/proc/sys/kernel/sched_boost" />
<Minor OpcodeValue="0x1" Node="/proc/sys/kernel/sched_prefer_idle" Supported="no" />
<Minor OpcodeValue="0x2" Node="/proc/sys/kernel/sched_migration_cost_ns" />
<Minor OpcodeValue="0x3" Node="/proc/sys/kernel/sched_small_task" />
<Minor OpcodeValue="0x4" Node="/proc/sys/kernel/sched_mostly_idle_load" Supported="no" />
<Minor OpcodeValue="0x5" Node="/proc/sys/kernel/sched_mostly_idle_nr_run" Supported="no" />
<Minor OpcodeValue="0x6" Node="/proc/sys/kernel/sched_init_task_load" />
<Minor OpcodeValue="0x7" Node="/proc/sys/kernel/sched_upmigrate" />
<Minor OpcodeValue="0x8" Node="/proc/sys/kernel/sched_downmigrate" />
<Minor OpcodeValue="0x9" Node="/proc/sys/kernel/sched_mostly_idle_freq" Supported="no" />
<Minor OpcodeValue="0xA" Node="SPECIAL_NODE - sched_add_group" Supported="no" />
<Minor OpcodeValue="0xB" Node="/proc/sys/kernel/sched_spill_nr_run" />
<Minor OpcodeValue="0xC" Node="/sys/devices/system/cpu/cpu0/sched_static_cpu_pwr_cost" />
<Minor OpcodeValue="0xD" Node="/proc/sys/kernel/sched_restrict_cluster_spill" />
<Minor OpcodeValue="0xE" Node="SPECIAL_NODE - sched_freq_add_group" Supported="no" />
<Minor OpcodeValue="0xF" Node="/dev/cpuset/top-app/cpus" />
<Minor OpcodeValue="0x10" Node="/dev/cpuset/foreground/cpus" />
<Minor OpcodeValue="0x11" Node="/dev/cpuset/system-background/cpus" />
<Minor OpcodeValue="0x12" Node="/dev/cpuset/background/cpus" />
<Minor OpcodeValue="0x13" Node="/proc/sys/kernel/sched_freq_aggregate" />
<Minor OpcodeValue="0x14" Node="/proc/sys/kernel/sched_enable_thread_grouping" />
<Minor OpcodeValue="0x15" Node="/proc/sys/kernel/sched_group_upmigrate" />
<Minor OpcodeValue="0x16" Node="/proc/sys/kernel/sched_group_downmigrate" />
<!-- sched_freq_aggr_threshold perflock will have contention with sched_boost level 3,
so disable this resource for the target which is going to use sched boost 3 level.-->
<Minor OpcodeValue="0x17" Node="/proc/sys/kernel/sched_freq_aggregate_threshold" />
<Minor OpcodeValue="0x18" Node="/dev/stune/top-app/schedtune.prefer_idle" />
<Minor OpcodeValue="0x19" Node="/proc/sys/kernel/sched_initial_task_util" />
<Minor OpcodeValue="0x1A" Node="/sys/devices/system/cpu/cpu0/sched_load_boost" />
<Minor OpcodeValue="0x1B" Node="/proc/sys/kernel/sched_little_cluster_coloc_fmin_khz" />
<Minor OpcodeValue="0x1C" Node="/dev/stune/top-app/schedtune.boost" />
<Minor OpcodeValue="0x1D" Node="/proc/sys/kernel/sched_busy_hysteresis_enable_cpus" />
<Minor OpcodeValue="0x1E" Node="/proc/sys/kernel/sched_min_task_util_for_colocation" />
<Minor OpcodeValue="0x1F" Node="/proc/sys/kernel/sched_min_task_util_for_boost" />
<Minor OpcodeValue="0x20" Node="SPECIAL_NODE - apply_value" />
<Minor OpcodeValue="0x21" Node="/proc/sys/kernel/sched_user_hint" /> <!--sched_user_hint -->
<Minor OpcodeValue="0x22" Node="/proc/sys/kernel/sched_task_unfilter_nr_windows" /> <!--sched_task_unfilter_nr_windows -->
<Minor OpcodeValue="0x23" Node="/proc/sys/kernel/sched_coloc_downmigrate_ns" /> <!--sched_coloc_downmigrate_ns -->
<Minor OpcodeValue="0x24" Node="/proc/sys/kernel/sched_coloc_busy_hysteresis_enable_cpus" />
<Minor OpcodeValue="0x25" Node="/proc/sys/kernel/sched_coloc_busy_hyst_ns" />
<Minor OpcodeValue="0x26" Node="/proc/sys/kernel/sched_window_stats_policy" />
<Minor OpcodeValue="0x27" Node="/proc/sys/kernel/sched_many_wakeup_threshold" />
<Minor OpcodeValue="0x28" Node="/proc/sys/kernel/sched_sync_hint_enable" />
<Minor OpcodeValue="0x29" Node="/proc/sys/kernel/sched_ravg_window_nr_ticks" />
<Minor OpcodeValue="0x2A" Node="/proc/sys/kernel/sched_prefer_spread" />
<Minor OpcodeValue="0x2B" Node="/dev/cpuctl/top-app/cpu.uclamp.min" />
<Minor OpcodeValue="0x2C" Node="/proc/%d/sched_boost" Supported="yes" /> <!-- enable sched_task_boost for top-app render thread-->
<Minor OpcodeValue="0x2D" Node="/proc/%d/sched_boost" Supported="yes" /> <!-- disable sched_task_boost for top-app render thread-->
<Minor OpcodeValue="0x2E" Node="/proc/sys/walt/sched_task_unfilter_period" />
<Minor OpcodeValue="0x2F" Node="/proc/sys/walt/sched_conservative_pl" />
<Minor OpcodeValue="0x30" Node="/proc/sys/walt/sched_coloc_busy_hyst_cpu_busy_pct" />
<Minor OpcodeValue="0x31" Node="/proc/sys/walt/sched_coloc_busy_hyst_cpu_ns" />
<Minor OpcodeValue="0x32" Node="/proc/sys/kernel/walt_rtg_cfs_boost_prio" />
<Minor OpcodeValue="0x33" Node="/proc/sys/kernel/sched_force_lb_enable" Supported="yes" />
<Minor OpcodeValue="0x34" Node="SPECIAL_NODE - apply_value" />
<Minor OpcodeValue="0x35" Node="/proc/sys/kernel/sched_min_granularity_ns" />
<Minor OpcodeValue="0x36" Node="/proc/sys/kernel/walt_low_latency_task_threshold" />
<Minor OpcodeValue="0x37" Node="/dev/stune/foreground/schedtune.prefer_idle" />
<Minor OpcodeValue="0x38" Node="/proc/sys/kernel/%s" Supported="no"/>
<Minor OpcodeValue="0x39" Node="/dev/stune/top-app/schedtune.colocate" Supported="no" />
<Minor OpcodeValue="0x3A" Node="/dev/cpuctl/top-app/cpu.uclamp.latency_sensitive" />
<Minor OpcodeValue="0x3B" Node="/dev/cpuctl/foreground/cpu.uclamp.latency_sensitive" />
<Minor OpcodeValue="0x3C" Node="/proc/%d/sched_wake_up_idle" />
<Minor OpcodeValue="0x3D" Node="/proc/sys/kernel/%s" Supported="no"/>
<Minor OpcodeValue="0x3E" Node="/proc/sys/walt/sched_util_busy_hyst_cpu_ns" />
<Minor OpcodeValue="0x3F" Node="/proc/sys/walt/sched_min_task_util_for_uclamp" />
<!-- sched major end -->
<!-- core hotplug major start -->
<Major OpcodeValue="0x4" />
<Minor OpcodeValue="0x0" Node="SPECIAL_NODE - lock_min_cores" />
<Minor OpcodeValue="0x1" Node="SPECIAL_NODE - lock_max_cores" />
<Minor OpcodeValue="0x2" Node="/sys/devices/system/cpu/cpu0/core_ctl/enable" />
<Minor OpcodeValue="0x3" Node="/sys/devices/system/cpu/cpu0/core_ctl/not_preferred" />
<Minor OpcodeValue="0x5" Node="/sys/devices/system/cpu/cpu0/core_ctl/offline_delay_ms" />
<Minor OpcodeValue="0x4" Node="/sys/devices/system/cpu/cpu0/core_ctl/min_partial_cpus" />
<!-- core hotplug major end-->
<!-- interactive major start -->
<Major OpcodeValue="0x5" />
<!-- For following minors node paths might change basing on GovInstanceType and
Supported field might change basing on the type of CpufreqGov.-->
<Minor OpcodeValue="0x0" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay" Supported="no" />
<Minor OpcodeValue="0x1" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/boost" Supported="no" />
<Minor OpcodeValue="0x2" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/boostpulse" Supported="no" />
<Minor OpcodeValue="0x3" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/boostpulse_duration" Supported="no" />
<Minor OpcodeValue="0x4" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load" Supported="no" />
<Minor OpcodeValue="0x5" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq" Supported="no" />
<Minor OpcodeValue="0x6" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/io_is_busy" Supported="no" />
<Minor OpcodeValue="0x7" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time" Supported="no" />
<Minor OpcodeValue="0x8" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads" Supported="no" />
<Minor OpcodeValue="0x9" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_rate" Supported="no" />
<Minor OpcodeValue="0xA" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_slack" Supported="no" />
<Minor OpcodeValue="0xB" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/max_freq_hysteresis" Supported="no" />
<Minor OpcodeValue="0xC" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/use_sched_load" Supported="no" />
<Minor OpcodeValue="0xD" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/use_migration_notif" Supported="no" />
<Minor OpcodeValue="0xE" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/ignore_hispeed_on_notif" Supported="no" />
<Minor OpcodeValue="0xF" Node="/sys/devices/system/cpu/cpu0/cpufreq/schedutil/hispeed_freq" />
<Minor OpcodeValue="0x10" Node="/sys/devices/system/cpu/cpu0/cpufreq/schedutil/hispeed_load" />
<Minor OpcodeValue="0x11" Node="/sys/devices/system/cpu/cpu0/cpufreq/schedutil/pl" />
<Minor OpcodeValue="0x12" Node="/sys/devices/system/cpu/cpu0/cpufreq/schedutil/down_rate_limit_us" />
<Minor OpcodeValue="0x13" Node="/sys/devices/system/cpu/cpu0/cpufreq/schedutil/rtg_boost_freq" />
<Minor OpcodeValue="0x14" Node="/sys/devices/system/cpu/cpu0/cpufreq/walt/target_load_thresh" />
<Minor OpcodeValue="0x15" Node="/sys/devices/system/cpu/cpu0/cpufreq/walt/target_load_shift" />
<Minor OpcodeValue="0x16" Node="/sys/devices/system/cpu/cpu0/cpufreq/walt/up_rate_limit_us" />
<!-- interactive major end -->
<!-- cpubw hwmon major start -->
<Major OpcodeValue="0x6" />
<!-- ALl the following minors might change based on target. -->
<Minor OpcodeValue="0x0" Node="/sys/class/devfreq/soc:qcom,cpubw/min_freq" />
<Minor OpcodeValue="0x1" Node="/sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/decay_rate" />
<Minor OpcodeValue="0x2" Node="/sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/io_percent" />
<Minor OpcodeValue="0x3" Node="SPECIAL_NODE - cpubw_hwmon_hyst_opt" />
<Minor OpcodeValue="0x4" Node="/sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/low_power_ceil_mbps" />
<Minor OpcodeValue="0x5" Node="/sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/low_power_io_percent" />
<Minor OpcodeValue="0x6" Node="/sys/class/devfreq/soc:qcom,cpubw/max_freq" />
<Minor OpcodeValue="0x7" Node="/sys/class/devfreq/soc:qcom,cpubw/polling_interval" />
<Minor OpcodeValue="0x8" Node="/sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/sample_ms" />
<Minor OpcodeValue="0x9" Node="/sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/idle_mbps" />
<!--Here onwards are the path for new opcodes to mark CPU_LLCC_BW nodes.Upper ones
of this major are marked as unsupported for the tergets using the new opcodes-->
<Minor OpcodeValue="0xA" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/min_freq" />
<Minor OpcodeValue="0xB" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/up_scale" />
<Minor OpcodeValue="0xC" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/use_ab" />
<Minor OpcodeValue="0xD" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/io_percent" />
<Minor OpcodeValue="0xE" Node="SPECIAL_NODE - llcbw_hwmon_hyst_opt" />
<Minor OpcodeValue="0xF" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/sample_ms" />
<Minor OpcodeValue="0x10" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/polling_interval" />
<!--Here onwards are the path for new frequency opcodes for CPU_LLCC_BW V2 nodes to support
new values from kernel 5.10 onwards-->
<Minor OpcodeValue="0x11" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/190b6400.qcom,bwmon-llcc/min_freq" />
<Minor OpcodeValue="0x12" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/190b6400.qcom,bwmon-llcc/max_freq" />
<!-- cpubw hwmon major end -->
<!-- video major start -->
<Major OpcodeValue="0x7" />
<Minor OpcodeValue="0x0" Node="SPECIAL_NODE - handle_vid_encplay_hint" />
<Minor OpcodeValue="0x1" Node="SPECIAL_NODE - handle_vid_decplay_hint" />
<Minor OpcodeValue="0x2" Node="SPECIAL_NODE - handle_disp_hint" />
<!-- video major end -->
<!-- ksm major start -->
<Major OpcodeValue="0x8" />
<Minor OpcodeValue="0x0" Node="SPECIAL_NODE - disable_ksm" />
<Minor OpcodeValue="0x1" Node="SPECIAL_NODE - set_ksm_param" />
<!-- ksm major end -->
<!-- ondemand major start -->
<Major OpcodeValue="0x9" />
<Minor OpcodeValue="0x0" Node="/sys/devices/system/cpu/cpufreq/ondemand/sampling_rate" Supported="no" />
<Minor OpcodeValue="0x1" Node="/sys/devices/system/cpu/cpufreq/ondemand/io_is_busy" Supported="no" />
<Minor OpcodeValue="0x2" Node="/sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor" Supported="no" />
<Minor OpcodeValue="0x3" Node="/sys/devices/system/cpu/cpufreq/ondemand/sync_freq" Supported="no" />
<Minor OpcodeValue="0x4" Node="/sys/devices/system/cpu/cpufreq/ondemand/optimal_freq" Supported="no" />
<Minor OpcodeValue="0x5" Node="/sys/devices/system/cpu/cpufreq/ondemand/enable_stepup" Supported="no" />
<Minor OpcodeValue="0x6" Node="/sys/devices/system/cpu/cpufreq/ondemand/max_intermediate_steps" Supported="no" />
<Minor OpcodeValue="0x7" Node="/dev/cpuctl/cpu.notify_on_migrate" Supported="no" />
<!-- ondemand major end -->
<!-- gpu major start -->
<Major OpcodeValue="0xA" />
<Minor OpcodeValue="0x0" Node="/sys/class/kgsl/kgsl-3d0/default_pwrlevel" />
<Minor OpcodeValue="0x1" Node="/sys/class/kgsl/kgsl-3d0/min_pwrlevel" />
<Minor OpcodeValue="0x2" Node="/sys/class/kgsl/kgsl-3d0/max_pwrlevel" />
<Minor OpcodeValue="0x3" Node="/sys/class/kgsl/kgsl-3d0/devfreq/min_freq" />
<Minor OpcodeValue="0x4" Node="/sys/class/kgsl/kgsl-3d0/devfreq/max_freq" />
<Minor OpcodeValue="0x5" Node="/sys/class/devfreq/soc:qcom,gpubw/min_freq" />
<Minor OpcodeValue="0x6" Node="/sys/class/devfreq/soc:qcom,gpubw/max_freq" />
<Minor OpcodeValue="0x7" Node="SPECIAL_NODE - gpu_disable_gpu_nap" />
<Minor OpcodeValue="0x8" Node="/sys/class/kgsl/kgsl/proc/%d/state" />
<Minor OpcodeValue="0x9" Node="/sys/class/kgsl/kgsl/proc/%d/state" />
<Minor OpcodeValue="0xA" Node="SPECIAL_NODE - apply_value" />
<Minor OpcodeValue="0xB" Node="/sys/class/kgsl/kgsl-3d0/idle_timer" />
<Minor OpcodeValue="0xC" Node="/sys/class/kgsl/kgsl-3d0/min_clock_mhz" />
<Minor OpcodeValue="0xD" Node="/sys/class/kgsl/kgsl-3d0/touch_wake" />
<!-- gpu major end -->
<!-- misc major start -->
<Major OpcodeValue="0xB" />
<Minor OpcodeValue="0x0" Node="SPECIAL_NODE - unsupported" />
<Minor OpcodeValue="0x1" Node="SPECIAL_NODE - irq_balancer" />
<Minor OpcodeValue="0x2" Node="/sys/module/cpu_boost/parameters/input_boost_freq" />
<Minor OpcodeValue="0x3" Node="/proc/sys/vm/swap_ratio" />
<Minor OpcodeValue="0x4" Node="StorageNode_path_is_figured_out_based_on_the_target_device" />
<Minor OpcodeValue="0x5" Node="SPECIAL_NODE - dummy_or_keep_alive" />
<Minor OpcodeValue="0x6" Node="/sys/module/process_reclaim/parameters/enable_process_reclaim" />
<Minor OpcodeValue="0x7" Node="SPECIAL_NODE - disable_pasr" />
<Minor OpcodeValue="0xB" Node="SPECIAL_NODE - apply_value" />
<Minor OpcodeValue="0xC" Node="/proc/sys/walt/sched_pipeline" />
<Minor OpcodeValue="0xF" Node="SPECIAL_NODE - content_fps" />
<Minor OpcodeValue="0x10" Node="/sys/devices/system/cpu/dynpf/enable_dynpf" />
<!-- misc major end -->
<!-- llcbw hwmon major start -->
<Major OpcodeValue="0xC" />
<!-- ALl the following minors node path might change based on target. -->
<Minor OpcodeValue="0x0" Node="/sys/class/devfreq/soc:qcom,llccbw/min_freq" />
<Minor OpcodeValue="0x1" Node="/sys/class/devfreq/soc:qcom,llccbw/bw_hwmon/io_percent" />
<Minor OpcodeValue="0x2" Node="SPECIAL_NODE - llcbw_hwmon_hyst_opt" />
<Minor OpcodeValue="0x3" Node="/sys/class/devfreq/soc:qcom,llccbw/bw_hwmon/sample_ms" />
<!--Here onwards are the path for new opcodes to mark LLCC_DDR_BW nodes.Upper ones
of this major are marked as unsupported for the tergets using the new opcodes-->
<Minor OpcodeValue="0x4" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/min_freq" />
<Minor OpcodeValue="0x5" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/up_scale" />
<Minor OpcodeValue="0x6" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/max_freq" />
<Minor OpcodeValue="0x7" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/decay_rate" />
<Minor OpcodeValue="0x8" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/io_percent" />
<Minor OpcodeValue="0x9" Node="SPECIAL_NODE - cpubw_hwmon_hyst_opt" />
<Minor OpcodeValue="0xA" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/low_power_ceil_mbps" />
<Minor OpcodeValue="0xB" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/low_power_io_percent" />
<Minor OpcodeValue="0xC" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/polling_interval" />
<Minor OpcodeValue="0xD" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/sample_ms" />
<Minor OpcodeValue="0xE" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/idle_mbps" />
<!--Here onwards are the path for new frequency opcodes for LLCC_DDR_BW V2 nodes to support
new values from kernel 5.10 onwards-->
<Minor OpcodeValue="0xF" Node="/sys/devices/system/cpu/bus_dcvs/DDR/19091000.qcom,bwmon-ddr/min_freq" />
<Minor OpcodeValue="0x10" Node="/sys/devices/system/cpu/bus_dcvs/DDR/19091000.qcom,bwmon-ddr/max_freq" />
<Minor OpcodeValue="0x11" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/use_ab" />
<Minor OpcodeValue="0x12" Node="/sys/devices/system/cpu/bus_dcvs/DDR/19091000.qcom,bwmon-ddr/ab_scale" />
<!-- llcbw hwmon major end -->
<!-- memlat major start -->
<Major OpcodeValue="0xD" />
<!-- ALl the following minors node path might change based on target. -->
<Minor OpcodeValue="0x0" Node="/sys/class/devfreq/soc:qcom,l3-cpu%d/min_freq" />
<Minor OpcodeValue="0x1" Node="/sys/class/devfreq/soc:qcom,memlat-cpu0/mem_latency/ratio_ceil" />
<Minor OpcodeValue="0x2" Node="/sys/class/devfreq/soc:qcom,memlat-cpu4/mem_latency/ratio_ceil" />
<Minor OpcodeValue="0x3" Node="/sys/class/devfreq/soc:qcom,memlat-cpu0/mem_latency/stall_floor" />
<Minor OpcodeValue="0x4" Node="/sys/class/devfreq/soc:qcom,memlat-cpu4/mem_latency/stall_floor" />
<Minor OpcodeValue="0x5" Node="/sys/class/devfreq/soc:qcom,memlat-cpu0/min_freq" />
<Minor OpcodeValue="0x6" Node="/sys/class/devfreq/soc:qcom,memlat-cpu4/min_freq" />
<Minor OpcodeValue="0x7" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-llcc-lat/min_freq" />
<Minor OpcodeValue="0x8" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-llcc-lat/mem_latency/ratio_ceil" />
<Minor OpcodeValue="0x9" Node="/sys/class/devfreq/soc:qcom,cpu4-cpu-llcc-lat/mem_latency/ratio_ceil" />
<Minor OpcodeValue="0xA" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-llcc-lat/mem_latency/stall_floor" />
<Minor OpcodeValue="0xB" Node="/sys/class/devfreq/soc:qcom,cpu4-cpu-llcc-lat/mem_latency/stall_floor" />
<Minor OpcodeValue="0xC" Node="/sys/class/devfreq/soc:qcom,cpu0-llcc-ddr-lat/min_freq" />
<Minor OpcodeValue="0xD" Node="/sys/class/devfreq/soc:qcom,cpu0-llcc-ddr-lat/mem_latency/ratio_ceil" />
<Minor OpcodeValue="0xE" Node="/sys/class/devfreq/soc:qcom,cpu4-llcc-ddr-lat/mem_latency/ratio_ceil" />
<Minor OpcodeValue="0xF" Node="/sys/class/devfreq/soc:qcom,cpu0-llcc-ddr-lat/mem_latency/stall_floor" />
<Minor OpcodeValue="0x10" Node="/sys/class/devfreq/soc:qcom,cpu4-llcc-ddr-lat/mem_latency/stall_floor" />
<Minor OpcodeValue="0x11" Node="/sys/class/devfreq/18321000.qcom,devfreq-l3:qcom,cpu%d-cpu-l3-lat/max_freq" />
<Minor OpcodeValue="0x12" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-ddr-latfloor/min_freq" />
<Minor OpcodeValue="0x13" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-ddr-latfloor/max_freq" />
<Minor OpcodeValue="0x14" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-llcc-lat/max_freq" />
<Minor OpcodeValue="0x15" Node="/sys/class/devfreq/soc:qcom,cpu0-llcc-ddr-lat/max_freq" />
<Minor OpcodeValue="0x16" Node="/sys/devices/system/cpu/bus_dcvs/L3/soc:qcom,memlat:l3:prime/min_freq" />
<Minor OpcodeValue="0x17" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/soc:qcom,memlat:llcc:silver/min_freq" />
<Minor OpcodeValue="0x18" Node="/sys/devices/system/cpu/bus_dcvs/DDR/soc:qcom,memlat:ddr:silver/min_freq" />
<Minor OpcodeValue="0x19" Node="/sys/devices/system/cpu/bus_dcvs/DDR/soc:qcom,memlat:ddr:gold/freq_scale_pct" />
<Minor OpcodeValue="0x1A" Node="/sys/devices/system/cpu/bus_dcvs/memlat_settings/sample_ms" />
<Minor OpcodeValue="0x1B" Node="/sys/devices/system/cpu/bus_dcvs/DDR/soc:qcom,memlat:ddr:gold-compute/max_freq" />
<Minor OpcodeValue="0x1C" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/soc:qcom,memlat:llcc:gold-compute/max_freq" />
<Minor OpcodeValue="0x1D" Node="/sys/devices/system/cpu/bus_dcvs/DDR/soc:qcom,memlat:ddr:prime-latfloor/ipm_ceil" />
<Minor OpcodeValue="0x1E" Node="/sys/devices/system/cpu/bus_dcvs/DDR/memlat/adaptive_high_freq" />
<Minor OpcodeValue="0x1F" Node="/sys/devices/system/cpu/bus_dcvs/DDR/memlat/adaptive_low_freq" />
<Minor OpcodeValue="0x20" Node="/sys/devices/system/cpu/bus_dcvs/L3/soc:qcom,memlat:l3:gold/min_freq" />
<Minor OpcodeValue="0x21" Node="/sys/devices/system/cpu/bus_dcvs/DDR/soc:qcom,memlat:ddr:prime/min_freq" />
<Minor OpcodeValue="0x22" Node="/sys/devices/system/cpu/bus_dcvs/DDR/soc:qcom,memlat:ddr:gold/min_freq" />
<Minor OpcodeValue="0x23" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/soc:qcom,memlat:llcc:gold/min_freq" />
<Minor OpcodeValue="0x24" Node="/sys/devices/system/cpu/bus_dcvs/DDR/soc:qcom,memlat:ddr:gold/spm_thres" />
<Minor OpcodeValue="0x25" Node="/sys/devices/system/cpu/bus_dcvs/DDR/soc:qcom,memlat:ddr:prime/spm_thres" />
<Minor OpcodeValue="0x26" Node="/sys/devices/system/cpu/bus_dcvs/DDR/boost_freq" />
<Minor OpcodeValue="0x27" Node="/sys/devices/system/cpu/bus_dcvs/L3/boost_freq" />
<Minor OpcodeValue="0x28" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/boost_freq" />
<Minor OpcodeValue="0x29" Node="/sys/devices/system/cpu/bus_dcvs/DDRQOS/boost_freq" />
<!-- memlat major end -->
<!-- npu major start -->
<Major OpcodeValue="0xE" />
<!-- ALl the following minors node path might change based on target. -->
<Minor OpcodeValue="0x0" Node="/sys/class/devfreq/soc:qcom,npu-npu-llcc-bw/bw_hwmon/sample_ms" />
<Minor OpcodeValue="0x1" Node="/sys/class/devfreq/soc:qcom,npu-npu-llcc-bw/bw_hwmon/io_percent" />
<Minor OpcodeValue="0x2" Node="SPECIAL_NODE - npu_llcbw_hwmon_hyst_opt" />
<!--Here onwards are the path for new opcodes to mark NPU_LLCC_DDR_BW nodes.-->
<Minor OpcodeValue="0x3" Node="/sys/class/devfreq/soc:qcom,npu-llcc-ddr-bw/bw_hwmon/sample_ms" />
<Minor OpcodeValue="0x4" Node="/sys/class/devfreq/soc:qcom,npu-llcc-ddr-bw/bw_hwmon/io_percent" />
<Minor OpcodeValue="0x5" Node="SPECIAL_NODE - npu_ddr_llcbw_hwmon_hyst_opt" />
<!-- npu major end -->
<!-- sched2 major start -->
<Major OpcodeValue="0xF" />
<Minor OpcodeValue="0x0" Node="/proc/sys/walt/sched_asymcap_boost" />
<Minor OpcodeValue="0x1" Node="/proc/sys/walt/task_load_boost" />
<Minor OpcodeValue="0x2" Node="/proc/sys/walt/sched_cluster_util_thres_pct" />
<Minor OpcodeValue="0x3" Node="/proc/sys/walt/sched_idle_enough" />
<Minor OpcodeValue="0x4" Node="/proc/sys/walt/sched_em_inflate_pct" />
<Minor OpcodeValue="0x5" Node="/proc/sys/walt/sched_em_inflate_thres" />
<Minor OpcodeValue="0x6" Node="/proc/sys/walt/sched_heavy_nr" />
<!-- MIUI ADD: Performance_BoostFramework -->
<Minor OpcodeValue="0x7" Node="/proc/sys/walt/sched_fmax_cap"/>
<Minor OpcodeValue="0x8" Node="/proc/sys/walt/sched_max_freq_partial_halt"/>
<!-- END Performance_BoostFramework -->
<Minor OpcodeValue="0x9" Node="/dev/cpuctl/camera-daemon/cpu.shares" />
<Minor OpcodeValue="0xA" Node="/dev/cpuctl/top-app/cpu.shares" />
<Minor OpcodeValue="0xB" Node="/dev/cpuctl/background/cpu.shares" />
<Minor OpcodeValue="0xC" Node="/proc/sys/walt/sched_idle_enough_clust" />
<Minor OpcodeValue="0xD" Node="/proc/sys/walt/sched_cluster_util_thres_pct_clust" />
<!-- MIUI ADD: Camera_Perflock -->
<Minor OpcodeValue="0xE" Node="/dev/cpuctl/camera-daemon/cpu.uclamp.min" />
<!-- END Camera_Perflock -->
<!-- sched2 major end -->
<!--Add new resource expected value and write value in configs/test/common/perfcommonresourceconfigs.xml
for support in regression framework-->
<!-- game solution major start -->
<Major OpcodeValue="0x10" />
<Minor OpcodeValue="0x0" Node="/proc/sys/walt/sched_auto_penalty" />
<!-- game solution major end -->
</PerfResources>
</ResourceConfigs>
-42
View File
@@ -1,42 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/* Copyright (c) 2021 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
*/
-->
<ResourceConfigs>
<PerfResources>
<SysNode Idx="0x0" Node="/sys/module/msm_performance/parameters/num_clusters" />
<SysNode Idx="0x1" Node="/sys/module/msm_performance/parameters/managed_cpus" />
<SysNode Idx="0x2" Node="/sys/module/msm_performance/parameters/cpu_max_freq" />
<SysNode Idx="0x3" Node="/sys/module/msm_performance/events/cpu_hotplug" />
<SysNode Idx="0x4" Node="/sys/module/msm_performance/parameters/max_cpus" />
<SysNode Idx="0x5" Node="/sys/module/msm_performance/parameters/inst" />
<SysNode Idx="0x6" Node="/sys/module/msm_performance/parameters/splh_notif" />
<SysNode Idx="0x7" Node="/sys/module/msm_performance/notify/gfx_evt" />
<SysNode Idx="0x8" Node="/sys/module/msm_performance/parameters/evnt_gplaf_pid" />
<SysNode Idx="0x9" Node="/proc/meminfo" />
<SysNode Idx="0xA" Node="/proc/sys/vm/compaction_proactiveness" />
<SysNode Idx="0xB" Node="/sys/module/msm_performance/notify/aggr_big_nr" />
<SysNode Idx="0xC" Node="/sys/module/msm_performance/notify/aggr_top_load" />
<SysNode Idx="0xD" Node="/sys/module/msm_performance/parameters/core_ctl_register" />
<SysNode Idx="0xE" Node="/sys/module/msm_performance/notify/top_load_cluster" />
<SysNode Idx="0xF" Node="/sys/module/msm_performance/notify/curr_cap_cluster" />
<SysNode Idx="0x10" Node="/sys/class/kgsl/kgsl-3d0/gpu_available_frequencies" />
<SysNode Idx="0x11" Node="/sys/class/kgsl/kgsl-3d0/gpu_clock_stats" />
<SysNode Idx="0x12" Node="/sys/class/kgsl/kgsl-3d0/gpuclk" />
<SysNode Idx="0x13" Node="/sys/class/kgsl/kgsl-3d0/gpu_busy_percentage" />
<SysNode Idx="0x14" Node="/sys/class/drm/sde-crtc-0/measured_fps" />
<SysNode Idx="0x15" Node="/sys/class/drm/sde-crtc-0/fps_periodicity_ms" />
<SysNode Idx="0x16" Node="/sys/class/drm/sde-crtc-0/retire_frame_event" />
<SysNode Idx="0x17" Node="/sys/kernel/msm_performance/parameters/lplh_notif" />
<SysNode Idx="0x18" Node="/sys/kernel/msm_performance/parameters/gplaf_notify" />
<SysNode Idx="0x19" Node="/sys/kernel/msm_performance/parameters/gplaf_data_node" />
<SysNode Idx="0x1A" Node="/sys/kernel/msm_performance/parameters/gplaf_health" />
<SysNode Idx="0x1B" Node="/sys/kernel/msm_performance/parameters/dplh_notif" />
<!-- Please add any new Node into the configs/test/avcsysnodesconfigs.xml as well which is used for testing -->
</PerfResources>
</ResourceConfigs>
-18
View File
@@ -1,18 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--MIUI ADD: Performance_BoostFramework -->
<BoostConfigs>
<PerfBoost>
<!-- ENABLE-->
<!-- white opcode list: -->
<!-- white process list: -->
<!-- white hint list: MTP boost、 Drag boost、FPS update、Decode-->
<Config
Enable = "true"
Resources = "0x40800000, 0x40800100, 0x40800200, 0x40800300, 0X42804000, 0x4303C000"
Processlist = "poweropt-service, cnss-daemon, miuibooster,
com.android.camera, com.xiaomi.cameramind, vendor.qti.camera.provider-service_64,
com.miui.powerkeeper, com.xiaomi.joyose, media.hwcodec"
Hintlist = "0x00001086, 0x00001087, 0x00001094, 0x0000109B, 0X00001505, 0X00001502, 0X00001504"/>
</PerfBoost>
</BoostConfigs>
<!--END Performance_BoostFramework -->
File diff suppressed because it is too large Load Diff
-337
View File
@@ -1,337 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*This doc literally is a whitelist,
*Parser configs to overlay the hint paramters
*/
-->
<!-- MIUI ADD: Performance_BoostFramework -->
<BoostConfigs>
<PerfBoost>
<!--app lauch boost-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ PRIME Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ TITANIUM Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ PRIME Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ TITANIUM Core resource opcode, value-->
<!-- CPU_LLCC_BW_MAX_FREQ_V2 resource opcode, value-->
<!-- CPU_LLCC_BW_MIN_FREQ_V2 resource opcode, value-->
<!-- STORAGE CLK SCALING resource opcode, value-->
<!-- LLCC DDR LAT CPU0 MIN FREQ resource opcode, value-->
<!-- L3 resource opcode, value-->
<!-- GPU DISABLE resource opcode, value-->
<!-- CPU_CORE_CONTROL_CPU_NOT_PREFERRED resource opcode, value-->
<!-- Type="1", main launch boost of 2sec -->
<Config
Id="0x00001081" Type="1" Enable="true" Timeout="600" Target="pineapple"
Resources="0x40C00000, 0x1, 0x40804000, 2707, 0x40804100, 2035, 0x40804200, 2937, 0x40804300, 2707,
0x40800000, 2707, 0x40800100, 2035, 0x40800200, 2937, 0x40800300, 2707, 0x41848000, 0x104410,
0x41844000, 0x104410, 0x42C10000, 0x1, 0x43460000, 0x401640,
0x43458000, 0x1B8A00, 0x4281C000, 2000, 0x4100C000, 0x3, 0x5FC00000, 0x7f, 0x5FC08000, 0x3"
Applist="com.miui.calculator, com.miui.weather2, com.miui.notes, com.miui.gallery, com.android.calendar, com.android.deskclock,
com.android.soundrecorder, com.android.contacts, com.android.mms, com.duokan.reader, com.miui.securitycenter, com.android.settings,
com.xiaomi.market, com.android.quicksearchbox, com.android.fileexplorer, com.xiaomi.gamecenter, com.miui.video"/>
<Config
Id="0x00001081" Type="1" Enable="true" Timeout="600" Target="cliffs"
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40804200, 0xFFF,
0x40800000, 0xFFF, 0x40800100, 0xFFF, 0x40800200, 0xFFF, 0x5FC00000, 0x7f, 0x5FC08000, 0x3"
Applist="com.miui.calculator, com.miui.weather2, com.miui.notes, com.miui.gallery, com.android.calendar, com.android.deskclock,
com.android.soundrecorder, com.android.contacts, com.android.mms, com.duokan.reader, com.miui.securitycenter, com.android.settings,
com.xiaomi.market, com.android.quicksearchbox, com.android.fileexplorer, com.xiaomi.gamecenter, com.miui.video" />
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ PRIME Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ TITANIUM Core resource opcode, value-->
<!-- GPU DISABLE resource opcode, value-->
<!-- Type="2", launch boost keep conservative state to 10th seconds -->
<Config
Id="0x00001081" Type="2" Enable="true" Timeout="10000" Target="pineapple"
Resources="0x40C00000, 0x2, 0x40800000, 0x610, 0x40800100, 0x4f3, 0x40800200, 0x64c, 0x40800300, 0x610,
0x4281C000, 2000"
Applist="com.tencent.mm, com.ss.android.article.news, com.taobao.taobao, com.sina.weibo, com.smile.gifmaker, com.ss.android.ugc.aweme,
com.kuaishou.nebula, com.ss.android.ugc.aweme.lite, com.ss.android.article.lite"/>
<Config
Id="0x00001081" Type="2" Enable="true" Timeout="10000" Target="cliffs"
Resources="0x40C00000, 0x2, 0x40800000, 0x610, 0x40800100, 0x4f3, 0x40800200, 0x64c, 0x40800300, 0x610,
0x4281C000, 2000"
Applist="com.tencent.mm, com.ss.android.article.news, com.taobao.taobao, com.sina.weibo, com.smile.gifmaker, com.ss.android.ugc.aweme,
com.kuaishou.nebula, com.ss.android.ugc.aweme.lite, com.ss.android.article.lite"/>
<!--Activity lauch boost-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ PRIME Core resource opcode, value-->
<!-- MPCTLV3_WALT_ADAPTIVE_LOW_FREQ_TITANIUM resource opcode, value -->
<!-- CPU_LLCC_BW_MAX_FREQ_V2 resource opcode, value-->
<!-- CPU_LLCC_BW_MIN_FREQ_V2 resource opcode, value-->
<!-- STORAGE CLK SCALING resource opcode, value-->
<!-- LLCC DDR LAT GOLD MIN FREQ resource opcode, value-->
<!-- L3 resource opcode, value-->
<!-- GPU DISABLE resource opcode, value-->
<!-- CPU_CORE_CONTROL_CPU_NOT_PREFERRED resource opcode, value-->
<!-- SCHED_TASK_BOOST resource opcode, value-->
<Config
Id="0x00001081" Type="10" Enable="true" Timeout="600" Target="pineapple"
Resources="0x40C00000, 0x1, 0x40800000, 0xFFF, 0x40800100, 0xFFF, 0x40800200, 3302, 0x40800300, 0xFFF,
0x41848000, 0x104410, 0x41844000, 0x104410, 0x42C10000, 0x1, 0x43488000, 0x401640,
0x43458000, 0x1B8A00, 0x4281C000, 2000, 0x4100C000, 0x3"
Applist="com.ss.android.ugc.aweme" />
<!--app resume boost-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ PRIME Core resource opcode, value-->
<!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- POWER COLLAPSE resource opcode, value-->
<!-- STORAGE CLK SCALING resource opcode, value-->
<!-- LLCCBW resource opcode, value-->
<!-- L3 resource opcode, value-->
<!-- GPU DISABLE resource opcode, value-->
<Config
Id="0x00001082" Type="2" Enable="true" Timeout="400" Target="pineapple"
Resources="0x40C00000, 0x1, 0x40800000, 0xFFF, 0x40800100, 0xFFF, 0x40800200, 3302, 0x40800300, 0xFFF,
0x41818000, 0x104410,0x41844000, 0x104410, 0x40400000, 0x1, 0x42C10000, 0x1, 0x43488000, 0x401640,
0x43458000, 0x193138, 0x4281C000, 2000"
Applist="com.ss.android.ugc.aweme" />
<!--Horizontal Scroll boost-->
<!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ PRIME Core resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ TITANIUM Core resource opcode, value-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- LPM Bias resource opcode, value-->
<Config
Id="0x00001080" Type="2" Enable="true" Target="pineapple" Fps="60"
Resources="0x4303C000, 0xA6428, 0x40800000, 1100, 0x40800100, 1000, 0x40800200, 800, 0x40800300, 1000,
0x40C00000, 2, 0x40C74000, 0xFF, 0x40408000, 0x63, 0x41000000, 3"
Applist="com.miui.home, com.zhihu.android"/>
<Config
Id="0x00001080" Type="2" Enable="true" Target="pineapple" Fps="90"
Resources="0x4303C000, 0xA6428, 0x40800000, 1190, 0x40800100, 1000, 0x40800200, 900, 0x40800300, 1190,
0x40C00000, 2, 0x40C74000, 0xFF, 0x40408000, 0x63"
Applist="com.miui.home, com.zhihu.android"/>
<Config
Id="0x00001080" Type="2" Enable="true" Target="pineapple" Fps="120"
Resources="0x4303C000, 0xA6428, 0x40800000, 1190, 0x40800100, 1000, 0x40800200, 1000, 0x40800300, 1190,
0x40C00000, 2, 0x40C74000, 0xFF, 0x40408000, 0x63, 0x40C78000, 0, 0x40C7C000, 0, 0x41000200, 1,
0x40CE0200, 0x0023000A"
Applist="com.miui.home, com.zhihu.android"/>
<Config
Id="0x00001080" Type="2" Enable="true" Target="cliffs" Fps="60"
Resources="0x4303C000, 0xA6428, 0x40800000, 1651, 0x40800100, 1516, 0x40800200, 1766,
0x40C00000, 2, 0x41848000, 0xE3C88, 0x5FC00000, 0x7f, 0x5FC0C000, 1"
Applist="com.miui.home, com.zhihu.android"/>
<Config
Id="0x00001080" Type="2" Enable="true" Target="cliffs" Fps="90"
Resources="0x4303C000, 0xA6428, 0x40800000, 1593, 0x40800100, 1344, 0x40800200, 1651,
0x40C00000, 2, 0x40C74000, 0xF8, 0x40408000, 0x27, 0x41848000, 0xE3C88,
0x5FC00000, 0x7f, 0x5FC0C000, 1"
Applist="com.miui.home, com.zhihu.android"/>
<Config
Id="0x00001080" Type="2" Enable="true" Target="cliffs" Fps="120"
Resources="0x4303C000, 0xA6428, 0x40800000, 2073, 0x40800100, 1593, 0x40800200, 1900,
0x40C00000, 2, 0x40C74000, 0xF8, 0x40408000, 0x27, 0x41000000, 3,
0x40C78000, 0, 0x40C7C000, 0, 0x41848000, 0xE3C88,
0x5FC00000, 0x7f, 0x5FC0C000, 1"
Applist="com.miui.home, com.zhihu.android,com.android.systemui"/>
<Config
Id="0x00001080" Type="2" Enable="true" Target="cliffs" Fps="144"
Resources="0x4303C000, 0xA6428, 0x40800000, 2073, 0x40800100, 1593, 0x40800200, 1900,
0x40C00000, 2, 0x40C74000, 0xF8, 0x40408000, 0x27, 0x41000000, 3,
0x40C78000, 0, 0x40C7C000, 0, 0x41848000, 0xE3C88,
0x5FC00000, 0x7f, 0x5FC0C000, 1"
Applist="com.miui.home, com.zhihu.android,com.android.systemui"/>
<!--Vertical Scroll boost-->
<!-- LLCBW_MIN_FREQ resource opcode, value-->
<!-- Below 3 nodes for < 120FPS -->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ PRIME CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ TITANIUM Core resource opcode, value-->
<!-- Below 3 nodes for >= 120FPS -->
<!-- MPCTLV3_WALT_ADAPTIVE_HIGH_FREQ_BIG resource opcode, value -->
<!-- MPCTLV3_WALT_ADAPTIVE_HIGH_FREQ_LITTLE resource opcode, value -->
<!-- MPCTLV3_WALT_ADAPTIVE_HIGH_FREQ_PRIME resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- L3_MEMLAT_MIN_FREQ resource opcode, value -->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- LPM Bias resource opcode, value-->
<!-- MIN_ONLINE_CPU_CLUSTER_BIG opcode, value-->
<!-- Below additional resources for 120+fps-->
<!-- SCHED_MIN_TASK_UTIL_FOR_COLOCATION, value-->
<!-- SCHED_MIN_TASK_UTIL_FOR_BOOST, value-->
<!-- MIN_ONLINE_CPU_CLUSTER_PRIME opcode, value-->
<!-- SCHED_UP_DOWN_MIGRATE PRIME resource opcode, value -->
<!-- MPCTLV3_WALT_ADAPTIVE_LOW_FREQ_BIG resource opcode, value -->
<!-- MPCTLV3_WALT_ADAPTIVE_LOW_FREQ_LITTLE resource opcode, value -->
<!-- MPCTLV3_WALT_ADAPTIVE_LOW_FREQ_PRIME resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ TITANIUM Core resource opcode, value-->
<!-- Type="1", Vertical Scroll boost -->
<Config
Id="0x00001080" Type="1" Enable="true" Target="pineapple" Fps="60" Mitb="0x1"
Resources="0x4303C000, 0xA6428, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000, 0x40800300, 1000,
0x40C00000, 0x2, 0x43458000, 0xD2F00, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3, 0x5FC00000, 0x63, 0x5FC08000, 0x3"
Applist="com.tencent.mm, com.ss.android.ugc.aweme, com.tencent.mobileqq, com.ss.android.article.news, com.tencent.qqlive, com.xunmeng.pinduoduo, com.UCMobile, com.dragon.read, com.sina.weibo"/>
<Config
Id="0x00001080" Type="1" Enable="true" Target="pineapple" Fps="90" Mitb="0x1"
Resources="0x4303C000, 0xA6428, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000, 0x40800300, 1000,
0x40C00000, 0x2, 0x43458000, 0xD2F00, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3, 0x5FC00000, 0x63, 0x5FC08000, 0x3"
Applist="com.tencent.mm, com.ss.android.ugc.aweme, com.tencent.mobileqq, com.ss.android.article.news, com.tencent.qqlive, com.xunmeng.pinduoduo, com.UCMobile, com.dragon.read, com.sina.weibo"/>
<Config
Id="0x00001080" Type="1" Enable="true" Target="pineapple" Fps="120" Mitb="0x1"
Resources="0x4303C000, 0xA6428, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000, 0x40800300, 1000,
0x40C00000, 0x2, 0x43458000, 0xD2F00, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3, 0x40C78000, 0, 0x40C7C000, 0, 0x41000200, 1,
0x40CE0200, 0x0023000A, 0x5FC00000, 0x63, 0x5FC08000, 0x3"
Applist="com.tencent.mm, com.ss.android.ugc.aweme, com.tencent.mobileqq, com.ss.android.article.news, com.tencent.qqlive, com.xunmeng.pinduoduo, com.UCMobile, com.dragon.read, com.sina.weibo"/>
<Config
Id="0x00001080" Type="1" Enable="true" Target="cliffs" Fps="60" Mitb="0x1"
Resources="0x4303C000, 0xA6428, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000,
0x40C00000, 0x2, 0x40C74000, 0xF8, 0x40408000, 0x27,
0x41000000, 3, 0x5FC00000, 0x7f, 0x5FC08000, 0x3"
Applist="com.tencent.mm, com.ss.android.ugc.aweme, com.tencent.mobileqq, com.ss.android.article.news, com.tencent.qqlive, com.xunmeng.pinduoduo, com.UCMobile, com.dragon.read, com.sina.weibo"/>
<Config
Id="0x00001080" Type="1" Enable="true" Target="cliffs" Fps="90" Mitb="0x1"
Resources="0x4303C000, 0xA6428, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000,
0x40C00000, 0x2, 0x40C74000, 0xF8, 0x40408000, 0x27,
0x41000000, 3, 0x5FC00000, 0x7f, 0x5FC08000, 0x3"
Applist="com.tencent.mm, com.ss.android.ugc.aweme, com.tencent.mobileqq, com.ss.android.article.news, com.tencent.qqlive, com.xunmeng.pinduoduo, com.UCMobile, com.dragon.read, com.sina.weibo"/>
<Config
Id="0x00001080" Type="1" Enable="true" Target="cliffs" Fps="120" Mitb="0x1"
Resources="0x4303C000, 0xA6428, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000,
0x40C00000, 0x2, 0x40C74000, 0xF8, 0x40408000, 0x27,
0x41000000, 3, 0x5FC00000, 0x7f, 0x5FC08000, 0x3"
Applist="com.tencent.mm, com.ss.android.ugc.aweme, com.tencent.mobileqq, com.ss.android.article.news, com.tencent.qqlive, com.xunmeng.pinduoduo, com.UCMobile, com.dragon.read, com.sina.weibo"/>
<Config
Id="0x00001080" Type="1" Enable="true" Target="cliffs" Fps="144" Mitb="0x1"
Resources="0x4303C000, 0xA6428, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000,
0x40C00000, 0x2, 0x40C74000, 0xF8, 0x40408000, 0x27,
0x41000000, 3, 0x5FC00000, 0x7f, 0x5FC08000, 0x3"
Applist="com.tencent.mm, com.ss.android.ugc.aweme, com.tencent.mobileqq, com.ss.android.article.news, com.tencent.qqlive, com.xunmeng.pinduoduo, com.UCMobile, com.dragon.read, com.sina.weibo"/>
<Config
Id="0x00001080" Type="1" Enable="true" Target="pineapple" Fps="60" Mitb="0x1"
Resources="0x4303C000, 0xA6428, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000, 0x40800300, 1000,
0x40C00000, 2, 0x43458000, 0xD2F00, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3, 0x5FC00000, 0x63"
Applist="com.miui.home"/>
<Config
Id="0x00001080" Type="1" Enable="true" Target="pineapple" Fps="90" Mitb="0x1"
Resources="0x4303C000, 0xA6428, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000, 0x40800300, 1000,
0x40C00000, 0x2, 0x43458000, 0xD2F00, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3, 0x5FC00000, 0x63"
Applist="com.miui.home"/>
<Config
Id="0x00001080" Type="1" Enable="true" Target="pineapple" Fps="120" Mitb="0x1"
Resources="0x4303C000, 0xA6428, 0x40800000, 1190, 0x40800100, 1000, 0x40800200, 1000, 0x40800300, 1190,
0x40C00000, 2, 0x43458000, 0xD2F00, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3, 0x40C78000, 0, 0x40C7C000, 0, 0x41000200, 1,
0x40CE0200, 0x0023000A, 0x5FC00000, 0x63"
Applist="com.miui.home"/>
<Config
Id="0x00001080" Type="1" Enable="true" Target="cliffs" Fps="60" Mitb="0x1"
Resources="0x4303C000, 0xA6428, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000,
0x40C00000, 0x2, 0x40C74000, 0xF8, 0x40408000, 0x27,
0x41000000, 3, 0x5FC00000, 0x7f"
Applist="com.miui.home"/>
<Config
Id="0x00001080" Type="1" Enable="true" Target="cliffs" Fps="90" Mitb="0x1"
Resources="0x4303C000, 0xA6428, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000,
0x40C00000, 0x2, 0x40C74000, 0xF8, 0x40408000, 0x27,
0x41000000, 3, 0x5FC00000, 0x7f"
Applist="com.miui.home"/>
<Config
Id="0x00001080" Type="1" Enable="true" Target="cliffs" Fps="120" Mitb="0x1"
Resources="0x4303C000, 0xA6428, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000,
0x40C00000, 0x2, 0x40C74000, 0xF8, 0x40408000, 0x27,
0x41000000, 3, 0x5FC00000, 0x7f"
Applist="com.miui.home"/>
<Config
Id="0x00001080" Type="1" Enable="true" Target="cliffs" Fps="144" Mitb="0x1"
Resources="0x4303C000, 0xA6428, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000,
0x40C00000, 0x2, 0x40C74000, 0xF8, 0x40408000, 0x27,
0x41000000, 3, 0x5FC00000, 0x7f"
Applist="com.miui.home"/>
<!--For com.android.browser-->
<Config
Id="0x00001080" Type="1" Enable="true" Target="cliffs" Fps="60"
Resources="0x4303C000, 0xA6428, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000,
0x40C00000, 0x2, 0x43458000, 0xD2F00, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3, 0x5FC00000, 0x7f"
Applist="com.android.browser"/>
<Config
Id="0x00001080" Type="1" Enable="true" Target="cliffs" Fps="90"
Resources="0x4303C000, 0xA6428, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000,
0x40C00000, 0x2, 0x43458000, 0xD2F00, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3, 0x5FC00000, 0x7f"
Applist="com.android.browser"/>
<Config
Id="0x00001080" Type="1" Enable="true" Target="cliffs" Fps="120"
Resources="0x4303C000, 0xA6428, 0x40800000, 1000, 0x40800100, 1100, 0x40800200, 1000,
0x40C00000, 0x2, 0x43458000, 0xD2F00, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3, 0x40C78000, 0, 0x40C7C000, 0, 0x41000200, 1,
0x40CE0200, 0x0023000A, 0x40808000, 600000, 0x40808100, 1000000, 0x40808200, 800000, 0x5FC00000, 0x701"
Applist="com.android.browser"/>
<Config
Id="0x00001080" Type="4" Enable="true" Timeout="80" Target="cliffs" Fps="60"
Resources="0x4303C000, 0xA6428, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000,
0x40C00000, 0x2, 0x43458000, 0xD2F00, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3"
Applist="com.android.browser"/>
<Config
Id="0x00001080" Type="4" Enable="true" Timeout="80" Target="cliffs" Fps="120"
Resources="0x4303C000, 0xA6428, 0x4080C000, 1000000, 0x4080C100, 1100000, 0x4080C200, 1000000,
0x40C00000, 0x2, 0x43458000, 0xD2F00, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3, 0x40C78000, 0, 0x40C7C000, 0, 0x41000200, 1,
0x40CE0200, 0x0023000A, 0x40808000, 600000, 0x40808100, 1000000, 0x40808200, 800000"
Applist="com.android.browser"/>
<Config
Id="0x00001087" Type="1" Enable="true" Timeout="0" Target="cliffs" Fps="60"
Resources="0x4303C000, 0x858B8, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000,
0x40C00000, 0x2, 0x43458000, 0xD2F00, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3"
Applist="com.android.browser"/>
<Config
Id="0x00001087" Type="1" Enable="true" Timeout="0" Target="cliffs" Fps="120"
Resources="0x4303C000, 0x858B8, 0x4080C000, 1000000, 0x4080C100, 1100000, 0x4080C200, 1000000,
0x40C00000, 0x2, 0x43458000, 0xD2F00, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3, 0x40C78000, 0, 0x40C7C000, 0, 0x41000200, 1,
0x40CE0200, 0x0023000A, 0x40808000, 600000, 0x40808100, 1000000, 0x40808200, 800000"
Applist="com.android.browser"/>
</PerfBoost>
</BoostConfigs>
<!-- END Performance_BoostFramework -->
-135
View File
@@ -1,135 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2019-2022 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!-- This is PerfConfigsStore file which returns the value when a
particular property name is invoked -->
<!-- This file supports only Prop tag, which has the following fields
* Name, to identify the name of the property. The names of the
properties have been classified into Vendor and System property.
* Value, the new value to be returned as string when respective
property Name is called. -->
<!--__________________________________Example format_______________________________________________
<Prop Name="vendor.debug.enable.lm" Value="true" Target="lagoon" Variant="lito" Resolution="1080p"
Ram="3" Kernel="4.19"/>
Target: target code name (decided based on soc id, doesn't depend on lunch combo name)
ex: lito, lagoon, kona, etc
Variant: For Variants of Target go/32bit/64bit/nongo, examples below
Variant=bengal_32go -> bengal 32 bit go target
Variant=bengal_32 -> bengal 32 bit target
Variant=bengal -> bengal 64 bit target
Resolution="1080p", "2560", "720p", "HD+"
Kernel: kernel version, examples: "4.19", "5.4", etc
Ram: ram size in GB, examples: "1","2","3","4","6","8","10","12" (12 for target with >= 12GB of RAM as well)
_______________________________________________________________________________________________ -->
<PerfConfigsStore>
<PerfConfigs>
<!--Vendor Properties -->
<!-- MIUI ADD: Performance_BoostFramework -->
<Prop Name="vendor.iop.enable_uxe" Value="0" />
<!-- END Performance_BoostFramework -->
<Prop Name="vendor.debug.enable.lm" Value="true" />
<Prop Name="vendor.enable.prefetch" Value="false" />
<!-- MIUI MOD: Performance_BoostFramework -->
<Prop Name="vendor.iop.enable_speed" Value="false" /> <!--rename to perf-->
<Prop Name="vendor.perf.iop_v3.enable" Value="true" />
<!-- END Performance_BoostFramework -->
<Prop Name="vendor.perf.fps_switch_hyst_time_secs" Value="10" />
<!-- MIUI MOD: Performance_BoostFramework -->
<Prop Name="ro.vendor.perf.enable.prekill" Value="false" />
<!-- END Performance_BoostFramework -->
<Prop Name="ro.vendor.perf.enable.procomp" Value="true"/>
<!-- MIUI MOD: Performance_BoostFramework -->
<Prop Name="ro.vendor.perf.enable.prefapps" Value="false" />
<!-- END Performance_BoostFramework -->
<Prop Name="vendor.prekill_MIN_ADJ_to_Kill" Value="800" />
<Prop Name="vendor.prekill_MAX_ADJ_to_Kill" Value="1000" />
<Prop Name="ro.vendor.perf.count.prefapps" Value="12" />
<Prop Name="ro.vendor.use_perf_hal_for_preferredapps" Value="true" />
<Prop Name="vendor.prefapps.pkg_retention_mins" Value="28800" />
<Prop Name="vendor.prefapps.last_launch_threshold" Value="21600" />
<Prop Name="vendor.debug.enable.memperfd" Value="true" />
<Prop Name="vendor.enable.memperfd_MIN_RAM_in_KB" Value="1048576" />
<Prop Name="vendor.enable.memperfd_MAX_RAM_in_KB" Value="4000000" />
<Prop Name="ro.vendor.perf.ss" Value="false" Target="pineapple,cliffs"/>
<Prop Name="ro.vendor.perf.ssv2" Value="false" Target="pineapple,cliffs"/>
<Prop Name="ro.vendor.perf.lal" Value="false" Target="pineapple,cliffs"/>
<Prop Name="ro.vendor.perf.lgl" Value="false" Target="pineapple,cliffs" SkewType="10"/>
<!--System Properties -->
<!--LMKD Properties -->
<Prop Name="ro.lmk.enable_userspace_lmk" Value="true" />
<Prop Name="ro.lmk.kill_heaviest_task_dup" Value="true" />
<Prop Name="ro.lmk.enable_preferred_apps" Value="true" />
<Prop Name="ro.lmk.kill_timeout_ms_dup" Value="100" />
<Prop Name="ro.lmk.thrashing_threshold" Value="30" />
<Prop Name="ro.lmk.thrashing_decay" Value="5" />
<Prop Name="ro.lmk.nstrat_low_swap" Value="10" />
<Prop Name="ro.lmk.nstrat_psi_partial_ms" Value="70" />
<Prop Name="ro.lmk.nstrat_psi_complete_ms" Value="70" />
<Prop Name="ro.lmk.psi_scrit_complete_stall_ms" Value="400" />
<Prop Name="ro.lmk.nstrat_wmark_boost_factor" Value="2" />
<Prop Name="ro.lmk.cache_percent" Value="10" />
<Prop Name="vendor.perf.gestureflingboost.enable" Value="true" />
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="96"/>
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="60" Ram="8" Target="cliffs"/>
<Prop Name="ro.vendor.at_library" Value="libqti-at.so" />
<!-- MIUI ADD: Performance_AppLaunchEnhance -->
<Prop Name="ro.vendor.perf.batch.set.enable" Value="true" />
<!-- END Performance_AppLaunchEnhance -->
<Prop Name="vendor.perf.performancemode.support" Value="true" Target="pineapple,cliffs" />
<Prop Name="vendor.appcompact.enable_app_compact" Value="false" />
<Prop Name="vendor.appcompact.full_compact_type" Value="2" />
<Prop Name="vendor.appcompact.some_compact_type" Value="4" />
<Prop Name="vendor.appcompact.compact_throttle_somesome" Value="5000" />
<Prop Name="vendor.appcompact.compact_throttle_somefull" Value="10000" />
<Prop Name="vendor.appcompact.compact_throttle_fullsome" Value="500" />
<Prop Name="vendor.appcompact.compact_throttle_fullfull" Value="10000" />
<Prop Name="vendor.appcompact.compact_throttle_bfgs" Value="600000" />
<Prop Name="vendor.appcompact.compact_throttle_persistent" Value="600000" />
<Prop Name="vendor.appcompact.rss_throttle_kb" Value="12000" />
<Prop Name="vendor.appcompact.delta_rss_throttle_kb" Value="8000" />
<Prop Name="vendor.perf.topAppRenderThreadBoost.enable" Value="false" Target="pineapple,cliffs" />
<!-- MIUI MOD: Touch_MIUITouchFrame -->
<Prop Name="vendor.perf.phr.enable" Value="1" Target="pineapple,cliffs"/>
<Prop Name="vendor.perf.phr.hr_min_rate" Value="0.5" Target="pineapple,cliffs"/>
<Prop Name="vendor.perf.pfar2.enable" Value="1" Target="pineapple,cliffs"/>
<Prop Name="vendor.perf.pfar2.boost_level" Value="1" Target="pineapple,cliffs"/>
<Prop Name="vendor.perf.pfar2.disable_pl" Value="1" Target="pineapple,cliffs"/>
<Prop Name="vendor.perf.pfar2.disable_core_ctl" Value="1" Target="pineapple,cliffs"/>
<!-- END Touch_MIUITouchFrame -->
<Prop Name="ro.vendor.perf.splh" Value="none" Target="pineapple,cliffs" />
<Prop Name="ro.vendor.perf.qhf" Value="true" Target="pineapple,cliffs"/>
<!-- MIUI MOD: Touch_MIUITouchFrame -->
<Prop Name="ro.vendor.perf.qgpe" Value="false" Target="pineapple,cliffs"/>
<!-- END Touch_MIUITouchFrame -->
<Prop Name="ro.vendor.perf.qape" Value="true" Target="pineapple,cliffs"/>
<Prop Name="ro.vendor.perf.qape.boost_duration" Value="10" />
<Prop Name="ro.vendor.perf.qape.max_boost_count" Value="3" />
<Prop Name="ro.vendor.perf.qape.max_pipeline_number" Value="4" />
<Prop Name="vendor.perf.bgt.enable" Value="true" />
<Prop Name="ro.vendor.perf.sagt" Value="true"/>
<Prop Name="ro.vendor.qti.sys.fw.use_trim_settings" Value="true" Target="cliffs"/>
<Prop Name="ro.vendor.qti.sys.fw.empty_app_percent" Value="50" Target="cliffs"/>
<Prop Name="ro.vendor.qti.sys.fw.trim_empty_percent" Value="100" Target="cliffs"/>
<Prop Name="ro.vendor.qti.sys.fw.trim_cache_percent" Value="100" Target="cliffs"/>
<Prop Name="ro.vendor.qti.sys.fw.trim_enable_memory" Value="4294967296" Target="cliffs"/>
<Prop Name="ro.vendor.qti.am.reschedule_service" Value="true" Target="cliffs"/>
<Prop Name="ro.vendor.qti.sys.fw.bservice_age" Value="300000" Target="cliffs"/>
<Prop Name="ro.vendor.qti.sys.fw.bservice_age" Value="5000" Ram="3" Target="cliffs"/>
<Prop Name="ro.vendor.qti.sys.fw.bservice_age" Value="5000" Ram="4" Target="cliffs"/>
<Prop Name="ro.vendor.qti.sys.fw.bservice_limit" Value="15" Target="cliffs"/>
<Prop Name="ro.vendor.qti.sys.fw.bservice_limit" Value="5" Ram="3" Target="cliffs"/>
<Prop Name="ro.vendor.qti.sys.fw.bservice_limit" Value="5" Ram="4" Target="cliffs"/>
<Prop Name="ro.vendor.qti.sys.fw.bservice_enable" Value="true" Target="cliffs"/>
</PerfConfigs>
</PerfConfigsStore>
@@ -1,25 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/* Copyright (c) 2023 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
*/
-->
<!--__________________________________Example format_______________________________________________
<SysNode Idx="0x8" Perm="6" WVal="10"/>
Perm: The permission to check on the above Node.
r w x
1 0 0 = 4
1 1 0 = 6
0 1 0 = 2
...
WVal: The value to be written for Avc denial testing. It can be string, int etc.
-->
<ResourceConfigs>
<PerfResources>
<SysNode Idx="0xD" Perm="6" WVal="1" RVal="Y" />
</PerfResources>
</ResourceConfigs>
-85
View File
@@ -1,85 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2017-2022 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<TargetConfig>
<!-- All the target related information goes in TargetInfo tag.
Following are the supported fields for TargetInfo tag.
Mandatory Fields
* NumClusters, number of clusters
* TotalNumCores, total number of cores
* SocIds, a comma seperated list of supported socids for this target.
Other Fields
* Target, target name.
* SynCore, default value is "1" implies sync core and change to "0" for async core.
* CoreCtlCpu, core_ctl is enabled on which physical core, defalut value is "-1".
* MinCoreOnline, minimum number of cores needed to be online, default value is "0"
* GovInstanceType, default value "0" which implies "CLUSTER_BASED_GOV_INSTANCE",
can be changed to "1" for "SINGLE_GOV_INSTANCE".
* CpufreqGov, default value is "0" which implies "INTERACTIVE", can be changed it
to "1" for "SCHEDUTIL".
* TargetMaxArgsPerReq, can be used to update max arg per req value, default is 64.
-->
<!-- For each cluster,write a seperate ClustersInfo tag.
Following are the supported fields for ClustersInfo tag.
Mandatory Fields
* Id, cluster number starts with index 0.
* NumCores, total number of cores for that cluster.
Other Fields
* Type, whther a "little" or "big" cluster.
(Type is mandatory, If there is more than one cluster.)
* MaxFrequency, Any limitations for max frequency for that cluster.
-->
<!-- For targets sharing the same platfrom, we can have seperate config tag for each
of those targets with different number in the Config tag and basing on the socId
of the target device, we decide which configs to consider. -->
<Config1>
<TargetInfo
Target="pineapple"
NumClusters="4"
TotalNumCores="8"
SocIds="557,577"
SynCore="1"
CoreCtlCpu="4"
MinCoreOnline="0"
CpufreqGov="1"
TargetMaxArgsPerReq="64"
/>
<ClustersInfo Id="0" NumCores="2" Type="little" />
<ClustersInfo Id="1" NumCores="3" Type="big" />
<ClustersInfo Id="2" NumCores="2" Type="titanium" />
<ClustersInfo Id="3" NumCores="1" Type="prime" />
</Config1>
<Config2>
<TargetInfo
Target="cliffs"
NumClusters="3"
TotalNumCores="8"
SocIds="614,632,642,643"
SynCore="1"
CoreCtlCpu="3"
MinCoreOnline="0"
CpufreqGov="1"
TargetMaxArgsPerReq="64"
/>
<ClustersInfo Id="0" NumCores="3" Type="little" />
<ClustersInfo Id="1" NumCores="4" Type="big" />
<ClustersInfo Id="2" NumCores="1" Type="prime" />
</Config2>
</TargetConfig>
-177
View File
@@ -1,177 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2017-2022 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!-- This is a target specific resource config file which can be
used to overwrite the node paths mentioned in common resources file
and also to modify the Supported field information. -->
<!-- This file supports only Config tag, which has the following fields
* MajorValue and MinorValue, both are required to uniquely
identify the resource.
* Node, the new node path to overwrite the already existing path
of commonresourceconfigs.xml file.
* Supported, to indicate whether the resource is supported or not.
* For each config tag, either of Node or Supported fields need
to be mentioned.
NOTE - It is not Mandatory to write all the resources which are not supported,
as anyway perflock calls of these resources would fail. -->
<ResourceConfigs>
<PerfResources>
<Config MajorValue="0x1" MinorValue="0x1" Supported="no" /> <!-- toggle_l2_pc_perf -->
<Config MajorValue="0x1" MinorValue="0x3" Supported="no" /> <!-- lpm_ref_stddev -->
<Config MajorValue="0x1" MinorValue="0x4" Supported="no" /> <!-- lpm_tmr_add -->
<Config MajorValue="0x1" MinorValue="0x2" Node="/proc/sys/walt/sched_busy_hyst_ns" />
<Config MajorValue="0x2" MinorValue="0x0" Node="/sys/kernel/msm_performance/parameters/cpu_min_freq" /> <!-- cpu_min_freq -->
<Config MajorValue="0x2" MinorValue="0x1" Node="/sys/kernel/msm_performance/parameters/cpu_max_freq" /> <!-- cpu_max_freq -->
<Config MajorValue="0x2" MinorValue="0x2" Node="/sys/devices/system/cpu/cpufreq/policy0/walt/adaptive_low_freq" />
<Config MajorValue="0x2" MinorValue="0x3" Node="/sys/devices/system/cpu/cpufreq/policy0/walt/adaptive_high_freq" />
<Config MajorValue="0x2" MinorValue="0x4" Supported="yes" Target="cliffs" />
<Config MajorValue="0x3" MinorValue="0x0" Node="/proc/sys/walt/sched_boost" />
<Config MajorValue="0x3" MinorValue="0x2" Supported="no" /> <!-- sched_migration_cost_ns -->
<Config MajorValue="0x3" MinorValue="0x3" Supported="no" /> <!-- sched_small_task -->
<Config MajorValue="0x3" MinorValue="0x6" Supported="no" /> <!-- sched_init_task_load -->
<Config MajorValue="0x3" MinorValue="0x7" Supported="no" /> <!-- sched_upmigrate -->
<Config MajorValue="0x3" MinorValue="0x8" Supported="no" /> <!-- sched_downmigrate -->
<Config MajorValue="0x3" MinorValue="0xB" Supported="no" /> <!-- sched_spill_nr_run -->
<Config MajorValue="0x3" MinorValue="0xC" Supported="no" /> <!-- sched_static_cpu_pwr_cost -->
<Config MajorValue="0x3" MinorValue="0xD" Supported="no" /> <!-- sched_restrict_cluster_spill -->
<Config MajorValue="0x3" MinorValue="0x13" Supported="no" /> <!-- sched_set_freq_aggr -->
<Config MajorValue="0x3" MinorValue="0x14" Supported="no" /> <!-- sched_enable_thread_grouping -->
<Config MajorValue="0x3" MinorValue="0x15" Supported="no" /> <!-- sched_group_upmigrate -->
<Config MajorValue="0x3" MinorValue="0x16" Supported="no" /> <!-- sched_group_downmigrate -->
<Config MajorValue="0x3" MinorValue="0x17" Supported="no" /> <!-- sched_freq_aggr_threshold -->
<Config MajorValue="0x3" MinorValue="0x18" Supported="no" />
<Config MajorValue="0x3" MinorValue="0x19" Supported="no" />
<Config MajorValue="0x3" MinorValue="0x1A" Node="/sys/devices/system/cpu/cpu0/cpufreq/walt/boost" />
<Config MajorValue="0x3" MinorValue="0x1B" Supported="no" />
<Config MajorValue="0x3" MinorValue="0x1C" Supported="no" />
<Config MajorValue="0x3" MinorValue="0x1D" Node="/proc/sys/walt/sched_busy_hysteresis_enable_cpus" />
<Config MajorValue="0x3" MinorValue="0x1E" Node="/proc/sys/walt/sched_min_task_util_for_colocation" />
<Config MajorValue="0x3" MinorValue="0x1F" Node="/proc/sys/walt/sched_min_task_util_for_boost" />
<Config MajorValue="0x3" MinorValue="0x20" Node="/proc/sys/walt/sched_per_task_boost" />
<Config MajorValue="0x3" MinorValue="0x21" Node="/proc/sys/walt/sched_user_hint" />
<Config MajorValue="0x3" MinorValue="0x22" Supported="no" /> <!-- sched_task_unfilter_nr_windows -->
<Config MajorValue="0x3" MinorValue="0x23" Node="/proc/sys/walt/sched_coloc_downmigrate_ns" />
<Config MajorValue="0x3" MinorValue="0x24" Node="/proc/sys/walt/sched_coloc_busy_hysteresis_enable_cpus" />
<Config MajorValue="0x3" MinorValue="0x25" Supported="no" />
<Config MajorValue="0x3" MinorValue="0x26" Node="/proc/sys/walt/sched_window_stats_policy" />
<Config MajorValue="0x3" MinorValue="0x27" Node="/proc/sys/walt/sched_many_wakeup_threshold" />
<Config MajorValue="0x3" MinorValue="0x28" Node="/proc/sys/walt/sched_sync_hint_enable" />
<Config MajorValue="0x3" MinorValue="0x29" Node="/proc/sys/walt/sched_ravg_window_nr_ticks" />
<Config MajorValue="0x3" MinorValue="0x2A" Supported="no" /> <!-- sched_prefer_spread -->
<Config MajorValue="0x3" MinorValue="0x2C" Supported="no" />
<Config MajorValue="0x3" MinorValue="0x2D" Supported="no" />
<Config MajorValue="0x3" MinorValue="0x32" Node="/proc/sys/walt/walt_rtg_cfs_boost_prio" />
<Config MajorValue="0x3" MinorValue="0x33" Node="/proc/sys/walt/sched_force_lb_enable" />
<Config MajorValue="0x3" MinorValue="0x34" Node="/proc/sys/walt/sched_low_latency" />
<Config MajorValue="0x3" MinorValue="0x35" Supported="no" />
<Config MajorValue="0x3" MinorValue="0x36" Node="/proc/sys/walt/walt_low_latency_task_threshold" />
<Config MajorValue="0x3" MinorValue="0x37" Supported="no" /> <!-- Enabled till Kernel 4.19 -->
<Config MajorValue="0x3" MinorValue="0x38" Node="/proc/sys/walt/%s" Supported="yes"/>
<Config MajorValue="0x3" MinorValue="0x39" Supported="no" /> <!-- Enabled till Kernel 4.19 -->
<Config MajorValue="0x3" MinorValue="0x3C" Node="/proc/sys/walt/sched_wake_up_idle" />
<Config MajorValue="0x3" MinorValue="0x3D" Node="/proc/sys/walt/%s" Supported="yes"/>
<Config MajorValue="0x5" MinorValue="0xF" Node="/sys/devices/system/cpu/cpu0/cpufreq/walt/hispeed_freq" />
<Config MajorValue="0x5" MinorValue="0x10" Node="/sys/devices/system/cpu/cpu0/cpufreq/walt/hispeed_load" />
<Config MajorValue="0x5" MinorValue="0x11" Node="/sys/devices/system/cpu/cpu0/cpufreq/walt/pl" />
<Config MajorValue="0x5" MinorValue="0x12" Node="/sys/devices/system/cpu/cpu0/cpufreq/walt/down_rate_limit_us" />
<Config MajorValue="0x5" MinorValue="0x13" Node="/sys/devices/system/cpu/cpu0/cpufreq/walt/rtg_boost_freq" />
<!-- CPU_LLCC_BW major old opcodes unsupported-->
<Config MajorValue="0x6" MinorValue="0x0" Supported="no" />
<Config MajorValue="0x6" MinorValue="0x1" Supported="no" />
<Config MajorValue="0x6" MinorValue="0x2" Supported="no" />
<Config MajorValue="0x6" MinorValue="0x3" Supported="no" />
<Config MajorValue="0x6" MinorValue="0x4" Supported="no" />
<Config MajorValue="0x6" MinorValue="0x5" Supported="no" />
<Config MajorValue="0x6" MinorValue="0x6" Supported="no" />
<Config MajorValue="0x6" MinorValue="0x7" Supported="no" />
<Config MajorValue="0x6" MinorValue="0x8" Supported="no" />
<Config MajorValue="0x6" MinorValue="0x9" Supported="no" />
<!-- CPU_LLCC_BW major new opcodes-->
<Config MajorValue="0x6" MinorValue="0xA" Supported="no" />
<Config MajorValue="0x6" MinorValue="0xB" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/240b7400.qcom,bwmon-llcc/up_scale" />
<Config MajorValue="0x6" MinorValue="0xC" Supported="no" />
<Config MajorValue="0x6" MinorValue="0xD" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/240b7400.qcom,bwmon-llcc/io_percent" />
<Config MajorValue="0x6" MinorValue="0xE" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/240b7400.qcom,bwmon-llcc" />
<Config MajorValue="0x6" MinorValue="0xF" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/240b7400.qcom,bwmon-llcc/sample_ms" />
<Config MajorValue="0x6" MinorValue="0x10" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/240b7400.qcom,bwmon-llcc/window_ms" />
<Config MajorValue="0x6" MinorValue="0x11" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/240b7400.qcom,bwmon-llcc/min_freq" />
<Config MajorValue="0x6" MinorValue="0x12" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/240b7400.qcom,bwmon-llcc/max_freq" />
<Config MajorValue="0xA" MinorValue="0x5" Supported="no" />
<Config MajorValue="0xA" MinorValue="0x6" Supported="no" />
<Config MajorValue="0xA" MinorValue="0x8" Supported="no" />
<Config MajorValue="0xA" MinorValue="0x9" Supported="no" />
<Config MajorValue="0xB" MinorValue="0x2" Node="/proc/sys/walt/input_boost/input_boost_freq" />
<Config MajorValue="0xB" MinorValue="0x3" Supported="no" />
<Config MajorValue="0xB" MinorValue="0x6" Supported="no" /><!-- disable_ppr -->
<Config MajorValue="0xB" MinorValue="0xB" Node="SPECIAL_NODE - apply_value" />
<!-- GPU -->
<Config MajorValue="0xA" MinorValue="0xA" Node="SPECIAL_NODE - apply_value" />
<!-- LLCC_DDR_BW old opcodes unsupported-->
<Config MajorValue="0xC" MinorValue="0x0" Supported="no" />
<Config MajorValue="0xC" MinorValue="0x1" Supported="no" />
<Config MajorValue="0xC" MinorValue="0x2" Supported="no" />
<Config MajorValue="0xC" MinorValue="0x3" Supported="no" />
<Config MajorValue="0xC" MinorValue="0x4" Supported="no" />
<!-- LLCC_DDR_BW new opcodes-->
<Config MajorValue="0xC" MinorValue="0x5" Node="/sys/devices/system/cpu/bus_dcvs/DDR/24091000.qcom,bwmon-ddr/up_scale" />
<Config MajorValue="0xC" MinorValue="0x6" Supported="no" /> <!-- llcc ddr max freq -->
<Config MajorValue="0xC" MinorValue="0x7" Node="/sys/devices/system/cpu/bus_dcvs/DDR/24091000.qcom,bwmon-ddr/decay_rate" />
<Config MajorValue="0xC" MinorValue="0x8" Node="/sys/devices/system/cpu/bus_dcvs/DDR/24091000.qcom,bwmon-ddr/io_percent" />
<Config MajorValue="0xC" MinorValue="0x9" Node="/sys/devices/system/cpu/bus_dcvs/DDR/24091000.qcom,bwmon-ddr" />
<Config MajorValue="0xC" MinorValue="0xA" Supported="no" />
<Config MajorValue="0xC" MinorValue="0xB" Supported="no" />
<Config MajorValue="0xC" MinorValue="0xC" Node="/sys/devices/system/cpu/bus_dcvs/DDR/24091000.qcom,bwmon-ddr/window_ms" />
<Config MajorValue="0xC" MinorValue="0xD" Node="/sys/devices/system/cpu/bus_dcvs/DDR/24091000.qcom,bwmon-ddr/sample_ms" />
<Config MajorValue="0xC" MinorValue="0xE" Node="/sys/devices/system/cpu/bus_dcvs/DDR/24091000.qcom,bwmon-ddr/idle_mbps" />
<Config MajorValue="0xC" MinorValue="0xF" Node="/sys/devices/system/cpu/bus_dcvs/DDR/24091000.qcom,bwmon-ddr/min_freq" />
<Config MajorValue="0xC" MinorValue="0x10" Node="/sys/devices/system/cpu/bus_dcvs/DDR/24091000.qcom,bwmon-ddr/max_freq" />
<Config MajorValue="0xC" MinorValue="0x11" Supported="no" />
<Config MajorValue="0xC" MinorValue="0x12" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x0" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x1" Node="/sys/devices/system/cpu/bus_dcvs/L3/soc:qcom,memlat:l3:silver/ipm_ceil" />
<Config MajorValue="0xD" MinorValue="0x2" Node="/sys/devices/system/cpu/bus_dcvs/L3/soc:qcom,memlat:l3:gold/ipm_ceil" />
<Config MajorValue="0xD" MinorValue="0x3" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x4" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x5" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x6" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x7" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x8" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/soc:qcom,memlat:llcc:silver/ipm_ceil" />
<Config MajorValue="0xD" MinorValue="0x9" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/soc:qcom,memlat:llcc:gold/ipm_ceil" />
<Config MajorValue="0xD" MinorValue="0xA" Supported="no" />
<Config MajorValue="0xD" MinorValue="0xB" Supported="no" />
<Config MajorValue="0xD" MinorValue="0xC" Supported="no" />
<Config MajorValue="0xD" MinorValue="0xD" Node="/sys/devices/system/cpu/bus_dcvs/DDR/soc:qcom,memlat:ddr:silver/ipm_ceil" />
<Config MajorValue="0xD" MinorValue="0xE" Node="/sys/devices/system/cpu/bus_dcvs/DDR/soc:qcom,memlat:ddr:gold/ipm_ceil" />
<Config MajorValue="0xD" MinorValue="0xF" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x10" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x11" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x12" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x13" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x14" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x15" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x24" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x25" Supported="no" />
<Config MajorValue="0xE" MinorValue="0x0" Supported="no" />
<Config MajorValue="0xE" MinorValue="0x1" Supported="no" />
<Config MajorValue="0xE" MinorValue="0x3" Supported="no" />
<Config MajorValue="0xE" MinorValue="0x4" Supported="no" />
</PerfResources>
</ResourceConfigs>
-33
View File
@@ -1,33 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/* Copyright (c) 2021-2022 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
*/
-->
<ResourceConfigs>
<PerfResources>
<SysNode Idx="0x0" Supported="no" />
<SysNode Idx="0x1" Supported="no" />
<SysNode Idx="0x2" Node="/sys/kernel/msm_performance/parameters/cpu_max_freq" />
<SysNode Idx="0x3" Node="/sys/kernel/msm_performance/events/cpu_hotplug" />
<SysNode Idx="0x4" Supported="no" />
<SysNode Idx="0x5" Node="/sys/kernel/msm_performance/parameters/inst" />
<SysNode Idx="0x6" Node="/sys/kernel/msm_performance/parameters/splh_notif" />
<SysNode Idx="0x7" Node="/sys/kernel/msm_performance/notify/gfx_evt" />
<SysNode Idx="0x8" Node="/sys/kernel/msm_performance/parameters/evnt_gplaf_pid" />
<SysNode Idx="0xB" Node="/sys/kernel/msm_performance/notify/aggr_big_nr" />
<SysNode Idx="0xC" Node="/sys/kernel/msm_performance/notify/aggr_top_load" />
<SysNode Idx="0xD" Node="/sys/kernel/msm_performance/parameters/core_ctl_register" />
<SysNode Idx="0xE" Node="/sys/kernel/msm_performance/notify/top_load_cluster" />
<SysNode Idx="0xF" Node="/sys/kernel/msm_performance/notify/curr_cap_cluster" />
<SysNode Idx="0x12" Supported="no" />
<SysNode Idx="0x17" Supported="no" />
<SysNode Idx="0x18" Supported="no" />
<SysNode Idx="0x19" Supported="no" />
<SysNode Idx="0x1A" Supported="no" />
<SysNode Idx="0x1B" Supported="no" />
</PerfResources>
</ResourceConfigs>
@@ -1,379 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2022 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!-- Supported XML tags with their fields.
* Major tag supports OpcodeValue.
* Minor tag supports OpcodeValue, Nodepath and Supported(Optional) fields.
* By default, all the resources are assumed as supported.
Supported field can be used to mark a resource as not supported.
* All the interactive nodes, ondemand nodes and some nodes of sched major
group which aren't being used are marked as Not supported by default and
can be enabled by using the target specific config files. -->
<!-- For resources which update multiple nodes or which require speical
acquire/release funcitons, need to mention the keyword SPECIAL_NODE
in their node path field and accordingly their ApplyOts and ResetOpts
functions need to be defined in the code.-->
<!-- For adding a new resource, a new minor tag with all mandatory fields
need to be added just before the end of it's major group.
Exception tag is used to pass the exception why ths node cannot be tested.
Cluster tag is used when node in resource xml is cluster specific(put logical cluster here).
Cluster 0=> Big
Cluster 1=> Little
Cluster 2=> Prime
| RVal | Wval | Reason
| Yes | Yes | Different Value read and write
| No | Yes | Read Val Same as write Value
| Blank| Blank| Unsupported Node
(Yes) => Tag is Added
(No) => Tag is not Added
(Blank) => Tag is added but written value is blank (eg: WVal="").
-->
<ResourceConfigs>
<PerfResources>
<!-- display off major start -->
<Major OpcodeValue="0x0" />
<Minor OpcodeValue="0x0" Exception="This is Display Off resource"/>
<!-- display off major end -->
<!-- power collapse major start -->
<Major OpcodeValue="0x1" />
<Minor OpcodeValue="0x0" Exception="Cannot Check value part of this node" />
<Minor OpcodeValue="0x1" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x2" WVal="0x5" RVal="5000000" />
<Minor OpcodeValue="0x3" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x4" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x5" WVal="" RVal="" /> <!-- not supported -->
<!-- power collapse major end -->
<!-- cpufreq major start -->
<Major OpcodeValue="0x2" />
<Minor OpcodeValue="0x0" Cluster="1" WVal="960" RVal="960000" />
<Minor OpcodeValue="0x1" Cluster="1" WVal="1478" RVal="1478400" />
<Minor OpcodeValue="0x2" WVal="0xDF4" RVal="3572" />
<Minor OpcodeValue="0x3" WVal="0xFFA" RVal="4090" />
<Minor OpcodeValue="0x4" WVal="" RVal="" /> <!-- not supported -->
<!-- cpufreq major end -->
<!-- sched major start -->
<Major OpcodeValue="0x3" />
<!--Sysfsnode paths may change basing on the target for minors 0x1, 0x4, 0x5, 0x9.
So, for targets with different node paths than default, need to be specified
in the target specific resource config xml file. -->
<Minor OpcodeValue="0x0" WVal="2" RVal="2" />
<Minor OpcodeValue="0x1" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x2" WVal="0xC351" RVal="0" />
<Minor OpcodeValue="0x3" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x4" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x5" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x6" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x7" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x8" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x9" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xA" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xB" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xC" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xD" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xE" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xF" WVal="0x8" RVal="3" />
<Minor OpcodeValue="0x10" WVal="0x4" RVal="2" />
<Minor OpcodeValue="0x11" WVal="0x8" RVal="3" />
<Minor OpcodeValue="0x12" WVal="0x10" RVal="4" />
<Minor OpcodeValue="0x13" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x14" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x15" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x16" WVal="" RVal="" /> <!-- not supported -->
<!-- sched_freq_aggr_threshold perflock will have contention with sched_boost level 3,
so disable this resource for the target which is going to use sched boost 3 level.-->
<Minor OpcodeValue="0x17" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x18" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x19" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x1A" WVal="255" RVal="255" />
<Minor OpcodeValue="0x1B" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x1C" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x1D" WVal="0xF4" RVal="244" />
<Minor OpcodeValue="0x1E" WVal="0xAF" RVal="175" />
<Minor OpcodeValue="0x1F" WVal="0x311" RVal="785"/>
<Minor OpcodeValue="0x20" WVal="0x1" RVal="3" /> <!-- sched_task_boost --> <!-- target -->
<Minor OpcodeValue="0x21" WVal="1" RVal="1" /> <!--sched_user_hint -->
<Minor OpcodeValue="0x22" WVal="" RVal="" /> <!--sched_task_unfilter_nr_windows --> <!-- not supported -->
<Minor OpcodeValue="0x23" WVal="" RVal="" /> <!--sched_coloc_downmigrate_ns -->
<Minor OpcodeValue="0x24" WVal="23" />
<Minor OpcodeValue="0x25" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x26" WVal="0x3" RVal="3" />
<Minor OpcodeValue="0x27" WVal="0x3E1" RVal="993" />
<Minor OpcodeValue="0x28" WVal="0" RVal="0" />
<Minor OpcodeValue="0x29" WVal="8" />
<Minor OpcodeValue="0x2A" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x2B" WVal="2" RVal="2.00" />
<Minor OpcodeValue="0x2C" /> <!-- enable sched_task_boost for top-app render thread-->
<Minor OpcodeValue="0x2D" /> <!-- disable sched_task_boost for top-app render thread-->
<Minor OpcodeValue="0x2E" WVal="0x5F5E1FF" RVal="100000255" />
<Minor OpcodeValue="0x2F" WVal="1" RVal="1" />
<Minor OpcodeValue="0x30" WVal="0x51" />
<Minor OpcodeValue="0x31" WVal="0x2531FFF"/>
<Minor OpcodeValue="0x32" WVal="119" RVal="119" />
<Minor OpcodeValue="0x33" WVal="0x0" RVal="0" />
<Minor OpcodeValue="0x34" Exception="Need to pass pid to test it" />
<Minor OpcodeValue="0x35" WVal="0x2DCFFF" RVal="3002367" />
<Minor OpcodeValue="0x36" WVal="0x2D" RVal="45" />
<Minor OpcodeValue="0x37" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x38" />
<Minor OpcodeValue="0x39" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x3A" WVal="0xFA" RVal="1" />
<Minor OpcodeValue="0x3B" WVal="0xFA" RVal="1" />
<Minor OpcodeValue="0x3C" />
<Minor OpcodeValue="0x3D" />
<Minor OpcodeValue="0x3E" WVal="0xFFAE " />
<Minor OpcodeValue="0x3F" WVal="0x1FF" />
<!-- sched major end -->
<!-- core hotplug major start -->
<Major OpcodeValue="0x4" />
<Minor OpcodeValue="0x0" />
<Minor OpcodeValue="0x1" />
<Minor OpcodeValue="0x2" Cluster="1" WVal="1" RVal="1" />
<Minor OpcodeValue="0x3" Cluster="1" Exception="Cant compare. Node written as decimal read as binary with spaces." />
<Minor OpcodeValue="0x4" Cluster="0" WVal="1" RVal="1" />
<Minor OpcodeValue="0x5" Cluster="0" WVal="50" RVal="50" />
<!-- core hotplug major end-->
<!-- interactive major start -->
<Major OpcodeValue="0x5" />
<!-- For following minors node paths might change basing on GovInstanceType and
Supported field might change basing on the type of CpufreqGov.-->
<Minor OpcodeValue="0x0" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x1" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x2" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x3" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x4" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x5" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x6" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x7" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x8" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x9" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xA" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xB" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xC" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xD" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xE" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xF" Cluster="1" WVal="1478" RVal="1478400" />
<Minor OpcodeValue="0x10" Cluster="1" WVal="0x27" RVal="39" />
<Minor OpcodeValue="0x11" Cluster="1" WVal="0x0" RVal="0" />
<Minor OpcodeValue="0x12" Cluster="1" WVal="0xFA" />
<Minor OpcodeValue="0x13" Cluster="1" WVal="0xBB801" />
<Minor OpcodeValue="0x14" Cluster = "1" WVal="0x4566FF" />
<Minor OpcodeValue="0x15" Cluster = "1" WVal="0x5AA" />
<Minor OpcodeValue="0x16" Cluster = "1" WVal="0xFFA1" RVal="65441" />
<!-- interactive major end -->
<!-- cpubw hwmon major start -->
<Major OpcodeValue="0x6" />
<!-- ALl the following minors might change based on target. -->
<Minor OpcodeValue="0x0" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x1" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x2" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x3" />
<Minor OpcodeValue="0x4" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x5" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x6" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x7" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x8" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x9" WVal="" RVal="" /> <!-- not supported -->
<!--Here onwards are the path for new opcodes to mark CPU_LLCC_BW nodes.Upper ones
of this major are marked as unsupported for the tergets using the new opcodes-->
<Minor OpcodeValue="0xA" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xB" WVal="0x1A2" RVal="418"/>
<Minor OpcodeValue="0xC" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xD" WVal="0x151" RVal="337" />
<Minor OpcodeValue="0xE" Exception="Resource is direcory to LLCC HYST_OPT nodes" />
<Minor OpcodeValue="0xF" WVal="0x26" RVal="38" />
<Minor OpcodeValue="0x10" WVal="0xAF" RVal="175" /> <!-- target -->
<!--Here onwards are the path for new frequency opcodes for CPU_LLCC_BW V2 nodes to support
new values from kernel 5.10 onwards-->
<Minor OpcodeValue="0x11" WVal="300031" RVal="300031" />
<Minor OpcodeValue="0x12" WVal="806088" RVAL = "806088" />
<!-- cpubw hwmon major end -->
<!-- video major start -->
<Major OpcodeValue="0x7" />
<Minor OpcodeValue="0x0" />
<Minor OpcodeValue="0x1" />
<Minor OpcodeValue="0x2" />
<Minor OpcodeValue="0x3" Exception="DISPLAY_EARLY_WAKEUP_HINT Resource"/>
<!-- video major end -->
<!-- ksm major start -->
<Major OpcodeValue="0x8" />
<Minor OpcodeValue="0x0" />
<Minor OpcodeValue="0x1" />
<!-- ksm major end -->
<!-- ondemand major start -->
<Major OpcodeValue="0x9" />
<Minor OpcodeValue="0x0" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x1" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x2" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x3" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x4" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x5" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x6" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x7" WVal="" RVal="" /> <!-- not supported -->
<!-- ondemand major end -->
<!-- gpu major start -->
<Major OpcodeValue="0xA" />
<Minor OpcodeValue="0x0" WVal="0x8" RVal="8" />
<Minor OpcodeValue="0x1" WVal="0x4" RVal="4" />
<Minor OpcodeValue="0x2" WVal="1" RVal="1" />
<Minor OpcodeValue="0x3" WVal="0xFF" RVal="285000000" />
<Minor OpcodeValue="0x4" WVal="0x1BB" RVal="443000000" />
<Minor OpcodeValue="0x5" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x6" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x7" />
<Minor OpcodeValue="0x8" />
<Minor OpcodeValue="0x9" />
<Minor OpcodeValue="0xA" Exception="Node is QESDK-SEC Protected, Should be tested by that." />
<Minor OpcodeValue="0xB" WVal="32" RVal="32" />
<Minor OpcodeValue="0xC" WVal="440" Rval="450" />
<Minor OpcodeValue="0xD" WVal="" Rval="" /> <!-- not supported -->
<!-- gpu major end -->
<!-- misc major start -->
<Major OpcodeValue="0xB" />
<Minor OpcodeValue="0x0" />
<Minor OpcodeValue="0x1" />
<Minor OpcodeValue="0x2" Exception="Node is INPUT_BOOST_RESET for all clusters" />
<Minor OpcodeValue="0x3" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x4" Exception="StorageNode_path_is_figured_out_based_on_the_target_device" />
<Minor OpcodeValue="0x5" />
<Minor OpcodeValue="0x6" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x7" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x8" Exception="MISC PID_AFFINE Resource" />
<Minor OpcodeValue="0x9" Exception="MISC FPS_HYST_OPCODE Resource" />
<Minor OpcodeValue="0xA" Exception="MISC ALWAYS_ALLOW_OPCODE Resource" />
<Minor OpcodeValue="0xB" Exception="MISC SET_SCHEDULER Resource" />
<Minor OpcodeValue="0xC" WVal="0x1" RVal="4" />
<Minor OpcodeValue="0xD" Exception="DISPLAY_DOZE resource" />
<Minor OpcodeValue="0xE" Exception="MISC DISPLAY_HEAVY_RT_AFFINE Resource" />
<Minor OpcodeValue="0xF" Exception="MISC content_fps Resource" />
<Minor OpcodeValue="0x10" WVal="0x1" RVal="1" />
<!-- misc major end -->
<!-- llcbw hwmon major start -->
<Major OpcodeValue="0xC" />
<!-- ALl the following minors node path might change based on target. -->
<Minor OpcodeValue="0x0" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x1" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x2" />
<Minor OpcodeValue="0x3" WVal="" RVal="" /> <!-- not supported -->
<!--Here onwards are the path for new opcodes to mark LLCC_DDR_BW nodes.Upper ones
of this major are marked as unsupported for the tergets using the new opcodes-->
<Minor OpcodeValue="0x4" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x5" WVal="0x1EA" RVal="490" />
<Minor OpcodeValue="0x6" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x7" WVal="0x54" RVal="84" />
<Minor OpcodeValue="0x8" WVal="0x18F" RVal="399" />
<Minor OpcodeValue="0x9" Exception="Resource is direcory to DDR HYST_OPT nodes" />
<Minor OpcodeValue="0xA" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xB" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xC" WVal="0x1AE" RVal="430" />
<Minor OpcodeValue="0xD" WVal="0x25" RVal="37" />
<Minor OpcodeValue="0xE" WVal="0x4EA" RVal="1258" />
<!--Here onwards are the path for new frequency opcodes for LLCC_DDR_BW V2 nodes to support
new values from kernel 5.10 onwards-->
<Minor OpcodeValue="0xF" WVal="0x858FF" RVal="547071" />
<Minor OpcodeValue="0x10" WVal="0x1FEABF3" RVal="3196000" /> <!-- target -->
<Minor OpcodeValue="0x11" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x12" WVal="0x43" />
<!-- llcbw hwmon major end -->
<!-- memlat major start -->
<Major OpcodeValue="0xD" />
<!-- ALl the following minors node path might change based on target. -->
<Minor OpcodeValue="0x0" WVal="-1" RVal="-1" />
<Minor OpcodeValue="0x1" WVal="0xA350" RVal="41808" />
<Minor OpcodeValue="0x2" WVal="0xC35" RVal="3125" />
<Minor OpcodeValue="0x3" WVal="0x48" RVal="72" />
<Minor OpcodeValue="0x4" WVal="0x39" RVal="57" />
<Minor OpcodeValue="0x5" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x6" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x7" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x8" WVal="0x1FEA" RVal="8170" />
<Minor OpcodeValue="0x9" WVal="0x1EAB" RVal="7851" />
<Minor OpcodeValue="0xA" WVal="0x33" RVal="51" />
<Minor OpcodeValue="0xB" WVal="0x2B" RVal="43" />
<Minor OpcodeValue="0xC" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xD" WVal="0xFAE" RVal="4014" />
<Minor OpcodeValue="0xE" WVal="0xABC" RVal="2748" />
<Minor OpcodeValue="0xF" WVal="0x18" RVal="24" />
<Minor OpcodeValue="0x10" WVal="0x53" RVal="83" /> <!-- target -->
<Minor OpcodeValue="0x11" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x12" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x13" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x14" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x15" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x16" WVal="0x1149FF" RVal="1133055" />
<Minor OpcodeValue="0x17" WVal="0x49ABC" RVal="301756" />
<Minor OpcodeValue="0x18" WVal="768000" RVal="768000" />
<Minor OpcodeValue="0x19" WVal="0x18C" RVal="396" />
<Minor OpcodeValue="0x1A" WVal="0x4" RVal="4" />
<Minor OpcodeValue="0x1B" WVal="0x25F" RVal="547000" />
<Minor OpcodeValue="0x1C" WVal="0xAF" RVal="300000" />
<Minor OpcodeValue="0x1D" WVal="0x61A9" RVal="25001" />
<Minor OpcodeValue="0x1E" WVal="0x1A0FE0" RVal="0x1A0FE0" />
<Minor OpcodeValue="0x1F" WVal="0x1A0FE0" RVal="0x1A0FE0" />
<Minor OpcodeValue="0x20" WVal="825600" RVal="825600" />
<Minor OpcodeValue="0x21" WVal="768000" />
<Minor OpcodeValue="0x22" WVal="768000" />
<Minor OpcodeValue="0x23" WVal="466000" />
<Minor OpcodeValue="0x24" WVal="30" />
<Minor OpcodeValue="0x25" WVal="30" />
<Minor OpcodeValue="0x26" WVal="60000" RVal="451200" />
<Minor OpcodeValue="0x27" WVal="60000" RVal="556800" />
<Minor OpcodeValue="0x28" WVal="60000" RVal="150000" />
<Minor OpcodeValue="0x29" WVal="1" RVal="1" />
<!-- memlat major end -->
<!-- npu major start -->
<Major OpcodeValue="0xE" />
<!-- ALl the following minors node path might change based on target. -->
<Minor OpcodeValue="0x0" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x1" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x2" />
<!--Here onwards are the path for new opcodes to mark NPU_LLCC_DDR_BW nodes.-->
<Minor OpcodeValue="0x3" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x4" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x5" />
<!-- npu major end -->
<!-- sched2 major start -->
<Major OpcodeValue="0xF" />
<Minor OpcodeValue="0x0" WVal="0x1" RVal="1" />
<Minor OpcodeValue="0x1" Exception="TASK LOAD BOOST NEED PID" />
<Minor OpcodeValue="0x2" WVal="0x20" RVal="32" />
<Minor OpcodeValue="0x3" WVal="0x23" RVal="35" />
<Minor OpcodeValue="0x4" WVal="0x12C" RVal="300" />
<Minor OpcodeValue="0x5" WVal="0xDC" RVal="220" />
<Minor OpcodeValue="0x6" WVal="2" RVal="2" />
<Minor OpcodeValue="0x7" Cluster="0" WVal="0x208500" RVal="2131200" />
<Minor OpcodeValue="0x8" WVal="0x208500" RVal="2131200" />
<Minor OpcodeValue="0x9" Cluster="0" WVal="40" RVal="40" />
<Minor OpcodeValue="0xA" Cluster="0" WVal="50" RVal="50" />
<!-- sched2 major end -->
</PerfResources>
</ResourceConfigs>
@@ -1,61 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2023 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!-- This is a target specific resource config file which can be
used to overwrite the node paths mentioned in common resources file
and also to modify the Supported field information. -->
<!-- This file supports only Config tag, which has the following fields
* MajorValue and MinorValue, both are required to uniquely
identify the resource.
* Node, the new node path to overwrite the already existing path
of commonresourceconfigs.xml file.
* Supported, to indicate whether the resource is supported or not.
* For each config tag, either of Node or Supported fields need
to be mentioned.
NOTE - It is not Mandatory to write all the resources which are not supported,
as anyway perflock calls of these resources would fail.
Exception tag is used to pass the exception why ths node cannot be tested.
Cluster tag is used when node in resource xml is cluster specific(put logical cluster here).
Cluster 0=> Big
Cluster 1=> Little
Cluster 2=> Prime
| RVal | Wval | Reason
| Yes | Yes | Different Value read and write
| No | Yes | Read Val Same as write Value
| Blank| Blank| Unsupported Node
(Yes) => Tag is Added
(No) => Tag is not Added
(Blank) => Tag is added but written value is blank (eg: WVal="").
-->
<ResourceConfigs>
<PerfResources>
<Config MajorValue="0x1" MinorValue="0x2" WVal="0x63" RVal="99000000" />
<Config MajorValue="0x2" MinorValue="0x4" Cluster="0" WVal="480" RVal="480000" Target="cliffs"/>
<Config MajorValue="0x3" MinorValue="0x23" WVal="120000000" RVal="120000000" Taregt="cliffs" />
<Config MajorValue="0x3" MinorValue="0x3C" Exception="To be tested Manually - Special read Node" />
<Config MajorValue="0x3" MinorValue="0x36" WVal="145" RVal="145" Target="cliffs" />
<Config MajorValue="0x4" MinorValue="0x5" Cluster="3" WVal="50" RVal="50" Target="pineapple"/>
<Config MajorValue="0x4" MinorValue="0x5" Cluster="2" WVal="50" RVal="50" Target="cliffs"/>
<Config MajorValue="0x4" MinorValue="0x4" Cluster="3" WVal="0" RVal="0" Target="pineapple"/>
<Config MajorValue="0x4" MinorValue="0x4" Cluster="2" WVal="0" RVal="0" Target="cliffs"/>
<Config MajorValue="0xA" MinorValue="0x0" WVal="1" RVal="1" Target="cliffs"/>
<Config MajorValue="0xA" MinorValue="0x3" WVal="353" RVal="353000000" Target="cliffs" />
<Config MajorValue="0xC" MinorValue="0x10" WVal="0x1FEABF3" RVal="4243000" />
<Config MajorValue="0xD" MinorValue="0x26" WVal="600000" RVal="600000" />
<Config MajorValue="0xD" MinorValue="0x27" WVal="600000" RVal="600000" />
<Config MajorValue="0xD" MinorValue="0x28" WVal="600000" RVal="600000" />
<Config MajorValue="0xF" MinorValue="0x6" Exception="Node not present on target yet, so avoid testing for now" />
<Config MajorValue="0xA" MinorValue="0xC" WVal="440" RVal="500" />
</PerfResources>
</ResourceConfigs>
Binary file not shown.
-67
View File
@@ -1,67 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
an element represents an element in hashmap ,the key include Scence
and Trig struct, the key is cpu and Target
1. Cluster: "cpu0,cpu4,cpu7" in sm8475 platform; "cpu0,cpu2,cpu5,cpu7" in sm8550 platform
2. default scence: scence = 0
3. ex: < 37: return 33, < 39: return 37, < 41: return 39, < 43: return 41, < 45: return 43, abnormal_temp: return_45
4. target0 represents performance modetarget1 represents balanced modetarget2 represents power mode
-->
<BoostConfigs>
<ScrollBoost>
<!--默认场景-->
<Config Scence="0">
<Child Trig="35000"
Target0="boost:1 cpu0:1804800 cpu2:2438400 cpu5:2438400 cpu7:2688000"
Target1="boost:1 cpu0:1804800 cpu2:2438400 cpu5:2438400 cpu7:2688000"
Target2="boost:1 cpu0:1804800 cpu2:2323200 cpu5:2438400 cpu7:2553600"/>
<Child Trig="37000"
Target0="boost:1 cpu0:1804800 cpu2:2323200 cpu5:2323200 cpu7:2304000"
Target1="boost:1 cpu0:1804800 cpu2:2323200 cpu5:2323200 cpu7:2304000"
Target2="boost:1 cpu0:1804800 cpu2:2188800 cpu5:2323200 cpu7:2169600"/>
<Child Trig="39000"
Target0="boost:1 cpu0:1804800 cpu2:2188800 cpu5:2188800 cpu7:2035200"
Target1="boost:1 cpu0:1804800 cpu2:2188800 cpu5:2188800 cpu7:2035200"
Target2="boost:1 cpu0:1804800 cpu2:2035200 cpu5:2188800 cpu7:1939200"/>
<Child Trig="41000"
Target0="boost:1 cpu0:1804800 cpu2:2035200 cpu5:2035200 cpu7:1824000"
Target1="boost:1 cpu0:1804800 cpu2:2035200 cpu5:2035200 cpu7:1824000"
Target2="boost:1 cpu0:1804800 cpu2:1920000 cpu5:2035200 cpu7:1708800"/>
<Child Trig="43000"
Target0="boost:1 cpu0:1804800 cpu2:1920000 cpu5:1920000 cpu7:1593600"
Target1="boost:1 cpu0:1804800 cpu2:1920000 cpu5:1920000 cpu7:1593600"
Target2="boost:1 cpu0:1804800 cpu2:1824000 cpu5:1920000 cpu7:1478400"/>
<Child Trig="45000"
Target0="boost:1 cpu0:1459200 cpu2:1075200 cpu5:1075200 cpu7:1017600"
Target1="boost:1 cpu0:1459200 cpu2:1075200 cpu5:1075200 cpu7:1017600"
Target2="boost:1 cpu0:1132800 cpu2:1075200 cpu5:1075200 cpu7:1017600"/>
</Config>
<!--定制场景 较激进-->
<Config Scence="1">
<Child Trig="35000"
Target0="boost:1 cpu0:1804800 cpu2:2572800 cpu5:2572800 cpu7:2688000"
Target1="boost:1 cpu0:1804800 cpu2:2572800 cpu5:2572800 cpu7:2688000"
Target2="boost:1 cpu0:1804800 cpu2:2438400 cpu5:2572800 cpu7:2553600"/>
<Child Trig="37000"
Target0="boost:1 cpu0:1804800 cpu2:2438400 cpu5:2438400 cpu7:2438400"
Target1="boost:1 cpu0:1804800 cpu2:2438400 cpu5:2438400 cpu7:2438400"
Target2="boost:1 cpu0:1804800 cpu2:2323200 cpu5:2438400 cpu7:2304000"/>
<Child Trig="39000"
Target0="boost:1 cpu0:1804800 cpu2:2323200 cpu5:2323200 cpu7:2304000"
Target1="boost:1 cpu0:1804800 cpu2:2323200 cpu5:2323200 cpu7:2304000"
Target2="boost:1 cpu0:1804800 cpu2:2188800 cpu5:2323200 cpu7:2169600"/>
<Child Trig="41000"
Target0="boost:1 cpu0:1804800 cpu2:2188800 cpu5:2188800 cpu7:2035200"
Target1="boost:1 cpu0:1804800 cpu2:2188800 cpu5:2188800 cpu7:2035200"
Target2="boost:1 cpu0:1804800 cpu2:2035200 cpu5:2188800 cpu7:1939200"/>
<Child Trig="43000"
Target0="boost:1 cpu0:1804800 cpu2:1920000 cpu5:1920000 cpu7:1708800"
Target1="boost:1 cpu0:1804800 cpu2:1920000 cpu5:1920000 cpu7:1708800"
Target2="boost:1 cpu0:1804800 cpu2:1824000 cpu5:1920000 cpu7:1593600"/>
<Child Trig="45000"
Target0="boost:1 cpu0:1459200 cpu2:1075200 cpu5:1075200 cpu7:1017600"
Target1="boost:1 cpu0:1459200 cpu2:1075200 cpu5:1075200 cpu7:1017600"
Target2="boost:1 cpu0:1132800 cpu2:1075200 cpu5:1075200 cpu7:1017600"/>
</Config>
</ScrollBoost>
</BoostConfigs>
@@ -1,39 +0,0 @@
<!--
Copyright (c) 2019-2021, The Linux Foundation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of The Linux Foundation nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<manifest version="1.0" type="device">
<!-- Perf HAL service -->
<hal format="aidl">
<name>vendor.qti.hardware.perf2</name>
<version>1</version>
<interface>
<name>IPerf</name>
<instance>default</instance>
</interface>
</hal>
</manifest>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.