Revert "Spacewar: Remove QTI perfd"

UI stutters appear with lineage-libperfmgr

This reverts commit 54f61e88079df5b2e95b6d2077b58ccd141f2046.

Change-Id: Ib9cb5ade6d576db63348cca3867640ba04e74418
This commit is contained in:
BrainKub
2025-10-15 22:23:19 +03:00
committed by nyxalune
parent c8b754d0a5
commit c1bdf6a0bb
30 changed files with 3830 additions and 0 deletions

View File

@@ -0,0 +1,121 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2017-2020 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="0x2" Node="/proc/sys/kernel/sched_busy_hyst_ns" />
<Config MajorValue="0x1" MinorValue="0x3" Supported="no" Target="shima" /> <!-- lpm_ref_stddev -->
<Config MajorValue="0x1" MinorValue="0x4" Supported="no" Target="shima" /> <!-- lpm_tmr_add -->
<Config MajorValue="0x1" MinorValue="0x3" Supported="no" Target="yupik" /> <!-- lpm_ref_stddev -->
<Config MajorValue="0x1" MinorValue="0x4" Supported="no" Target="yupik" /> <!-- lpm_tmr_add -->
<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="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="0x17" Supported="no" /> <!-- sched_freq_aggr_threshold -->
<Config MajorValue="0x3" MinorValue="0x22" Supported="no" Target="shima" /> <!-- sched_task_unfilter_nr_windows -->
<Config MajorValue="0x3" MinorValue="0x22" Supported="no" Target="yupik" /> <!-- sched_task_unfilter_nr_windows -->
<Config MajorValue="0x3" MinorValue="0x37" Supported="no" /> <!-- Enabled till Kernel 4.19 -->
<Config MajorValue="0x3" MinorValue="0x39" Supported="no" /> <!-- Enabled till Kernel 4.19 -->
<Config MajorValue="0x6" MinorValue="0x0" Supported="no" Target="lahaina" />
<Config MajorValue="0x6" MinorValue="0x1" Supported="no" Target="lahaina" />
<Config MajorValue="0x6" MinorValue="0x2" Supported="no" Target="lahaina" />
<Config MajorValue="0x6" MinorValue="0x3" Supported="no" Target="lahaina" />
<Config MajorValue="0x6" MinorValue="0x4" Supported="no" Target="lahaina" /> <!-- cpubw_hmon_low_power_ceil_mbps -->
<Config MajorValue="0x6" MinorValue="0x5" Supported="no" Target="lahaina" /> <!-- cpubw_hmon_low_power_io_percent -->
<Config MajorValue="0x6" MinorValue="0x6" Supported="no" Target="lahaina" />
<Config MajorValue="0x6" MinorValue="0x7" Supported="no" Target="lahaina" />
<Config MajorValue="0x6" MinorValue="0x8" Supported="no" Target="lahaina" />
<Config MajorValue="0x6" MinorValue="0x9" Supported="no" Target="lahaina" />
<Config MajorValue="0x6" MinorValue="0x0" Supported="no" Target="shima" />
<Config MajorValue="0x6" MinorValue="0x1" Supported="no" Target="shima" />
<Config MajorValue="0x6" MinorValue="0x2" Supported="no" Target="shima" />
<Config MajorValue="0x6" MinorValue="0x3" Supported="no" Target="shima" />
<Config MajorValue="0x6" MinorValue="0x4" Supported="no" Target="shima" /> <!-- cpubw_hmon_low_power_ceil_mbps -->
<Config MajorValue="0x6" MinorValue="0x5" Supported="no" Target="shima" /> <!-- cpubw_hmon_low_power_io_percent -->
<Config MajorValue="0x6" MinorValue="0x6" Supported="no" Target="shima" />
<Config MajorValue="0x6" MinorValue="0x7" Supported="no" Target="shima" />
<Config MajorValue="0x6" MinorValue="0x8" Supported="no" Target="shima" />
<Config MajorValue="0x6" MinorValue="0x9" Supported="no" Target="shima" />
<Config MajorValue="0x6" MinorValue="0x0" Supported="no" Target="yupik" />
<Config MajorValue="0x6" MinorValue="0x1" Supported="no" Target="yupik" />
<Config MajorValue="0x6" MinorValue="0x2" Supported="no" Target="yupik" />
<Config MajorValue="0x6" MinorValue="0x3" Supported="no" Target="yupik" />
<Config MajorValue="0x6" MinorValue="0x4" Supported="no" Target="yupik" /> <!-- cpubw_hmon_low_power_ceil_mbps -->
<Config MajorValue="0x6" MinorValue="0x5" Supported="no" Target="yupik" /> <!-- cpubw_hmon_low_power_io_percent -->
<Config MajorValue="0x6" MinorValue="0x6" Supported="no" Target="yupik" />
<Config MajorValue="0x6" MinorValue="0x7" Supported="no" Target="yupik" />
<Config MajorValue="0x6" MinorValue="0x8" Supported="no" Target="yupik" />
<Config MajorValue="0x6" MinorValue="0x9" Supported="no" Target="yupik" />
<Config MajorValue="0xB" MinorValue="0x2" Node="/sys/devices/system/cpu/cpu_boost/input_boost_freq" />
<Config MajorValue="0xB" MinorValue="0x6" Supported="no" Target="lahaina" /><!-- disable_ppr -->
<!-- llcbw L3 and DDR major end -->
<Config MajorValue="0xC" MinorValue="0x0" Supported="no" Target="lahaina" />
<Config MajorValue="0xC" MinorValue="0x1" Supported="no" Target="lahaina" />
<Config MajorValue="0xC" MinorValue="0x2" Supported="no" Target="lahaina" />
<Config MajorValue="0xC" MinorValue="0x3" Supported="no" Target="lahaina" />
<Config MajorValue="0xC" MinorValue="0x0" Supported="no" Target="shima" />
<Config MajorValue="0xC" MinorValue="0x1" Supported="no" Target="shima" />
<Config MajorValue="0xC" MinorValue="0x2" Supported="no" Target="shima" />
<Config MajorValue="0xC" MinorValue="0x3" Supported="no" Target="shima" />
<Config MajorValue="0xC" MinorValue="0xA" Supported="no" Target="shima" /> <!-- cpubw_hmon_low_power_ceil_mbps -->
<Config MajorValue="0xC" MinorValue="0xB" Supported="no" Target="shima" /> <!-- cpubw_hmon_low_power_io_percent -->
<Config MajorValue="0xC" MinorValue="0x0" Supported="no" Target="yupik" />
<Config MajorValue="0xC" MinorValue="0x1" Supported="no" Target="yupik" />
<Config MajorValue="0xC" MinorValue="0x2" Supported="no" Target="yupik" />
<Config MajorValue="0xC" MinorValue="0x3" Supported="no" Target="yupik" />
<Config MajorValue="0xC" MinorValue="0xA" Supported="no" Target="yupik" /> <!-- cpubw_hmon_low_power_ceil_mbps -->
<Config MajorValue="0xC" MinorValue="0xB" Supported="no" Target="yupik" /> <!-- cpubw_hmon_low_power_io_percent -->
<Config MajorValue="0xD" MinorValue="0x0" Node="/sys/class/devfreq/18590100.qcom,cpu%d-cpu-l3-lat/min_freq" />
<Config MajorValue="0xD" MinorValue="0x1" Node="/sys/class/devfreq/18590100.qcom,cpu0-cpu-l3-lat/mem_latency/ratio_ceil" />
<Config MajorValue="0xD" MinorValue="0x2" Node="/sys/class/devfreq/18590100.qcom,cpu4-cpu-l3-lat/mem_latency/ratio_ceil" />
<Config MajorValue="0xD" MinorValue="0x3" Node="/sys/class/devfreq/18590100.qcom,cpu0-cpu-l3-lat/mem_latency/stall_floor" />
<Config MajorValue="0xD" MinorValue="0x4" Node="/sys/class/devfreq/18590100.qcom,cpu4-cpu-l3-lat/mem_latency/stall_floor" />
<Config MajorValue="0xD" MinorValue="0x11" Node="/sys/class/devfreq/18590100.qcom,cpu%d-cpu-l3-lat/max_freq" />
<Config MajorValue="0xD" MinorValue="0x0" Node="/sys/devices/system/cpu/memlat/c%d_memlat/cpu%d-cpu-l3-lat/min_freq" Target="yupik"/>
<Config MajorValue="0xD" MinorValue="0x1" Node="/sys/devices/system/cpu/memlat/c0_memlat/cpu0-cpu-l3-lat/ratio_ceil" Target="yupik" />
<Config MajorValue="0xD" MinorValue="0x2" Node="/sys/devices/system/cpu/memlat/c4_memlat/cpu4-cpu-l3-lat/ratio_ceil" Target="yupik" />
<Config MajorValue="0xD" MinorValue="0x3" Node="/sys/devices/system/cpu/memlat/c0_memlat/cpu0-cpu-l3-lat/stall_floor" Target="yupik" />
<Config MajorValue="0xD" MinorValue="0x4" Node="/sys/devices/system/cpu/memlat/c4_memlat/cpu4-cpu-l3-lat/stall_floor" Target="yupik" />
<Config MajorValue="0xD" MinorValue="0x11" Node="/sys/devices/system/cpu/memlat/c%d_memlat/cpu%d-cpu-l3-lat/max_freq" Target="yupik" />
<Config MajorValue="0xD" MinorValue="0x5" Supported="no" Target="shima" />
<Config MajorValue="0xD" MinorValue="0x6" Supported="no" Target="shima" />
<Config MajorValue="0xD" MinorValue="0x5" Supported="no" Target="yupik" />
<Config MajorValue="0xD" MinorValue="0x6" Supported="no" Target="yupik" />
</PerfResources>
</ResourceConfigs>