vendor: perf: bengal: Partial update 4.19 configs to 5.15

[1] - Adapt nodes to 4.19

Change-Id: I9ff154f53550bfba62c57017e011e17b814512d1
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
This commit is contained in:
chrisl7 2023-11-09 00:32:12 +00:00
parent 26420ebafe
commit 5cf257e473
14 changed files with 916 additions and 37 deletions

View File

@ -0,0 +1,83 @@
<!--
/******************************************************************************
@file PreKillMeter.xml
@brief Implementation of Android Framework Learning Module
DESCRIPTION
Each feature has an xml file to define the components
=========================================================================
Copyright (c) 2020 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
=========================================================================
******************************************************************************/
-->
<Feature>
<Name>PreKill</Name>
<Libname>libprekill.so</Libname>
<Meters>
<SamplesRequired>3</SamplesRequired>
<Meter>
<Name>Memory</Name>
<Triggers>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_FIRST_LAUNCH_BOOST</AsyncId>
<AsyncType>1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_FIRST_LAUNCH_BOOST</AsyncId>
<AsyncType>2</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_FIRST_LAUNCH_BOOST</AsyncId>
<AsyncType>101</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_FIRST_LAUNCH_BOOST</AsyncId>
<AsyncType>102</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_KILL</AsyncId>
<AsyncType>0</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_APP_UPDATE</AsyncId>
<AsyncType>0</AsyncType>
</Trigger>
<Trigger>
<Primary>false</Primary>
<AsyncId>VENDOR_HINT_FIRST_DRAW</AsyncId>
<AsyncType>1</AsyncType>
</Trigger>
<Trigger>
<Primary>false</Primary>
<AsyncId>VENDOR_HINT_TAP_EVENT</AsyncId>
</Trigger>
</Triggers>
<Samples>1</Samples>
<Configs>
<TotalSamplesToRun>120</TotalSamplesToRun>
</Configs>
<Fields>
<Field>ion_kgsl</Field>
<Field>rss_swap</Field>
</Fields>
</Meter>
</Meters>
<DependsOn>PreferredApps</DependsOn>
</Feature>

View File

@ -0,0 +1,78 @@
<!--
/******************************************************************************
@file PrefAppsFeature.xml
@brief Implementation of preferred apps feature
DESCRIPTION
Each feature has an xml file to define the components
=========================================================================
Copyright (c) 2022 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
=========================================================================
******************************************************************************/
-->
<Feature>
<Name>PreferredApps</Name>
<Libname>libprefapps.so</Libname>
<Meters>
<Meter>
<Name>PreferredApps</Name>
<Triggers>
<Trigger>
<Primary>False</Primary>
<AsyncId>VENDOR_HINT_BINDAPP</AsyncId>
<AsyncType>0</AsyncType>
</Trigger>
<Trigger>
<Primary>False</Primary>
<AsyncId>VENDOR_HINT_FIRST_DRAW</AsyncId>
<AsyncType>0</AsyncType>
</Trigger>
<Trigger>
<Primary>False</Primary>
<AsyncId>VENDOR_HINT_KILL</AsyncId>
<AsyncType>0</AsyncType>
</Trigger>
<Trigger>
<Primary>False</Primary>
<AsyncId>VENDOR_HINT_WARM_LAUNCH</AsyncId>
<AsyncType>0</AsyncType>
</Trigger>
<Trigger>
<Primary>False</Primary>
<AsyncId>VENDOR_HINT_PKG_INSTALL</AsyncId>
<AsyncType>0</AsyncType>
</Trigger>
<Trigger>
<Primary>False</Primary>
<AsyncId>VENDOR_HINT_PKG_UNINSTALL</AsyncId>
<AsyncType>0</AsyncType>
</Trigger>
<Trigger>
<Primary>False</Primary>
<AsyncId>VENDOR_HINT_APP_UPDATE</AsyncId>
<AsyncType>0</AsyncType>
</Trigger>
<Trigger>
<Primary>False</Primary>
<AsyncId>VENDOR_HINT_PKG_SPEED</AsyncId>
<AsyncType>1</AsyncType>
</Trigger>
<Trigger>
<Primary>False</Primary>
<AsyncId>VENDOR_HINT_PKG_SPEED</AsyncId>
<AsyncType>2</AsyncType>
</Trigger>
<Trigger>
<Primary>False</Primary>
<AsyncId>VENDOR_HINT_FIRST_LAUNCH_BOOST</AsyncId>
<AsyncType>0</AsyncType>
</Trigger>
</Triggers>
<Samples>1</Samples>
</Meter>
</Meters>
</Feature>

View File

@ -0,0 +1,58 @@
<!--
/******************************************************************************
@file ProCompFeature.xml
@brief Implementation of Android Framework Learning Module
DESCRIPTION
Each feature has an xml file to define the components
=========================================================================
Copyright (c) 2022 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
=========================================================================
******************************************************************************/
-->
<Feature>
<Name>ProComp</Name>
<Libname>libprocomp.so</Libname>
<Meters>
<SamplesRequired>2</SamplesRequired>
<Meter>
<Name>ProComp</Name>
<Triggers>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_FIRST_LAUNCH_BOOST</AsyncId>
<AsyncType>101</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_FIRST_LAUNCH_BOOST</AsyncId>
<AsyncType>102</AsyncType>
</Trigger>
<Trigger>
<Primary>false</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_RESUME</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
<Trigger>
<Primary>false</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_STOP</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
<Trigger>
<Primary>false</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_PAUSE</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
</Triggers>
<Samples>1</Samples>
</Meter>
</Meters>
</Feature>

115
vendor/perf/configs/bengal/lm/QAPE.xml vendored Normal file
View File

@ -0,0 +1,115 @@
<!--
/******************************************************************************
@file QAPE.xml
@brief Adaptive Performance Engine
DESCRIPTION
Each feature has an xml file to define the feature components
===========================================================================
Copyright (c) 2022 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
===========================================================================
******************************************************************************/
-->
<!--
Follows "Data goes into elements, metadata goes into attributes"
-->
<Feature>
<Name>QAPE</Name>
<Libname>libqapesdk.so</Libname>
<Profiles>
<Profile>
<!-- SCHED_WINDOW_TICKS_UPDATE -->
<RENDER_RATE>
0x40CA4000,0
</RENDER_RATE>
<!-- SLB -->
<LOAD_RATE_CPU>
0x40C68000,0,0x40C68010,0,0x40C68020,0,0x40C68030,0
</LOAD_RATE_CPU>
<!-- GPU_LOAD_MOD_PERCENT -->
<LOAD_RATE_GPU>
0X42828000,0
</LOAD_RATE_GPU>
<!-- DDR boost -->
<LOAD_RATE_MEM>
0x43488000,0xBB800
</LOAD_RATE_MEM>
<!-- SCHED_TASK_BOOST -->
<HIGH_CPU_UTIL>
0x40C80000,0
</HIGH_CPU_UTIL>
<!-- SCHED_LOW_LATENCY -->
<LOW_LAT>
0x40CD0000,0
</LOW_LAT>
<!-- SET_SCHEDULER -->
<LOW_CPU_UTIL>
0x42C2C000,0
</LOW_CPU_UTIL>
<!-- SCHED_THREAD_PIPELINE -->
<THREAD_PIPELINE>
0x42C30000,0
</THREAD_PIPELINE>
</Profile>
</Profiles>
<Triggers>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_START</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_PAUSE</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_RESUME</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_STOP</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_PICARD_TOP_APP</AsyncId>
<AsyncType>1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_PICARD_RENDER_RATE</AsyncId>
<AsyncType>1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_PICARD_LOW_LAT</AsyncId>
<AsyncType>1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_PICARD_HIGH_CPUUTIL</AsyncId>
<AsyncType>1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_PICARD_LOAD_CHANGED</AsyncId>
<AsyncType>1</AsyncType>
</Trigger>
</Triggers>
<IgnoredApps>
<App>com.google.android.gms</App>
<App>com.android.vending</App>
<App>com.google.android.projection.gearhead</App>
</IgnoredApps>
</Feature>

241
vendor/perf/configs/bengal/lm/QGPE.xml vendored Normal file
View File

@ -0,0 +1,241 @@
<!--
/******************************************************************************
@file QGPE.xml
@brief Gaming Performance Engine xml
DESCRIPTION
Each feature has an xml file to define the feature components
===========================================================================
Copyright (c) 2022 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
===========================================================================
******************************************************************************/
-->
<!--
Follows "Data goes into elements, metadata goes into attributes"
-->
<Feature>
<Name>APEngine</Name>
<Libname>libapengine.so</Libname>
<Configs>
<STUTTER_SCALE>10</STUTTER_SCALE>
<GROUP_UPMIGRATE_PATH>/proc/sys/kernel/sched_group_upmigrate</GROUP_UPMIGRATE_PATH>
<GROUP_DOWNMIGRATE_PATH>/proc/sys/kernel/sched_group_downmigrate</GROUP_DOWNMIGRATE_PATH>
<BIG_CLUSTER_ID>4,5,6,7</BIG_CLUSTER_ID>
</Configs>
<Profiles>
<Profile>
<!-- CORE_CTL_ENABLE_BIG, 0-->
<!-- SCHED_MIN_TASK_UTIL_FOR_COLOCATION, 0, SCHED_MIN_TASK_UTIL_FOR_BOOST, 0-->
<!-- SCHED_MANY_WAKE_UP, 4-->
<PROACTIVE_DEFAULT>
0x41008000, 0,
0x40C78000, 0, 0x40C7C000, 0,
0x40C9C000, 4
</PROACTIVE_DEFAULT>
<!-- CORE_CTL_ENABLE_BIG, 0-->
<!-- SCHED_MIN_TASK_UTIL_FOR_COLOCATION, 0, SCHED_MIN_TASK_UTIL_FOR_BOOST, 0-->
<!-- SCHED_MANY_WAKE_UP, 4-->
<PROACTIVE_SKEW2>
0x41008000, 0,
0x40C78000, 0, 0x40C7C000, 0,
0x40C9C000, 4
</PROACTIVE_SKEW2>
<!-- MIN_FREQ_CLUSTER_BIG_CORE_0 1766 -->
<PREDICTIVE_PROFILE1>
0x40800000,1766
</PREDICTIVE_PROFILE1>
<!-- MIN_FREQ_CLUSTER_LITTLE_CORE_0 1516 -->
<PREDICTIVE_PROFILE2>
0x40800100,1516
</PREDICTIVE_PROFILE2>
<!-- GPU MIN_FREQUENCY resource opcode,value-->
<PREDICTIVE_PROFILE3>
0x42804000,0
</PREDICTIVE_PROFILE3>
<!-- DDR_LAT_MIN_FREQ_GOLD resource opcode,value-->
<PREDICTIVE_PROFILE4>
0x43488000,2092000
</PREDICTIVE_PROFILE4>
<!-- SCHED_LOAD_BOOST GOLD resource opcode,value-->
<PREDICTIVE_PROFILE5>
0x40C68000, -3
</PREDICTIVE_PROFILE5>
</Profile>
</Profiles>
<Meters>
<SamplesRequired>4</SamplesRequired>
<Meter>
<Name>Fps</Name>
<Triggers>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_START</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_PAUSE</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_RESUME</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_STOP</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
</Triggers>
<Configs>
<FPS_NODE>/sys/class/drm/sde-crtc-0/measured_fps</FPS_NODE>
<FPS_PERIODICITY_NODE>/sys/class/drm/sde-crtc-0/fps_periodicity_ms</FPS_PERIODICITY_NODE>
</Configs>
<Samples>100</Samples>
</Meter>
<Meter>
<Name>SchedParams</Name>
<Triggers>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_START</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_PAUSE</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_RESUME</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_STOP</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
</Triggers>
<Samples>100</Samples>
</Meter>
<Meter>
<Name>Gpu</Name>
<Triggers>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_START</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_PAUSE</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_RESUME</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_ACTIVITY_STOP</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
</Triggers>
<Configs>
<GPU_AVAILABLE_FREQUENCIES>/sys/class/kgsl/kgsl-3d0/gpu_available_frequencies</GPU_AVAILABLE_FREQUENCIES>
<GPU_CLOCK_STATS>/sys/class/kgsl/kgsl-3d0/gpu_clock_stats</GPU_CLOCK_STATS>
<GPU_CLK>/sys/class/kgsl/kgsl-3d0/gpuclk</GPU_CLK>
<GPU_BUSY_PERCENTAGE>/sys/class/kgsl/kgsl-3d0/gpu_busy_percentage</GPU_BUSY_PERCENTAGE>
</Configs>
<Samples>100</Samples>
</Meter>
</Meters>
<Triggers>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_THERMAL_UPDATE</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_APP_WORKLOAD_TYPE</AsyncId>
<AsyncType>1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_HEADROOM_REGULATOR</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_TAP_EVENT</AsyncId>
<AsyncType>-1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_SENSOR_DATA</AsyncId>
<AsyncType>1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_TOGGLE_GAMEOPT</AsyncId>
<AsyncType>1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_PICARD_TOP_APP</AsyncId>
<AsyncType>1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_PICARD_RENDER_RATE</AsyncId>
<AsyncType>1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_PICARD_LOW_LAT</AsyncId>
<AsyncType>1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_PICARD_HIGH_CPUUTIL</AsyncId>
<AsyncType>1</AsyncType>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_PICARD_LOAD_CHANGED</AsyncId>
<AsyncType>1</AsyncType>
</Trigger>
</Triggers>
<IgnoredApps>
<App>com.google.android.gms</App>
<App>com.android.vending</App>
<App>com.google.android.projection.gearhead</App>
</IgnoredApps>
</Feature>

View File

@ -0,0 +1,93 @@
<!--
/******************************************************************************
@file QGPEActionMap.xml
@brief Gaming Performance Engine Action Map
DESCRIPTION
===========================================================================
Copyright (c) 2022 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
===========================================================================
******************************************************************************/
-->
<QGPEActionProfiles>
<Group ActionCat="CPUFreqScaling">
<Opcode Resource="0x40C68000,0x40C68010,0x40C68020,0x40C68030" Name="SLB_BIG" Supported="Yes">
<Level Val="-3" Pos="0"/>
<Level Val="0" Pos="1"/>
<Level Val="2" Pos="2"/>
<Level Val="4" Pos="3"/>
</Opcode>
<Opcode Resource="0x40C68100,0x40C68110,0x40C68120,0x40C68130" Name="SLB_LITTLE" Target="khaje" Supported="Yes">
<Level Val="0" Pos="0"/>
<Level Val="2" Pos="1"/>
<Level Val="4" Pos="2"/>
</Opcode>
<Opcode Resource="0x40C84000" Name="SCHED_USER_HINT" Supported="Yes">
<Level Val="120" Pos="0"/>
</Opcode>
<Opcode Resource="0x4144C100" Name="RTG_BOOST_FREQ" Supported="Yes">
<Level Val="860000" Pos="0"/>
<Level Val="1000000" Pos="1"/>
<Level Val="1200000" Pos="2"/>
</Opcode>
<Opcode Resource="0x40800000" Name="MIN_FREQ_CLUSTER_BIG_CORE_0" Supported="Yes">
<Level Val="1000" Pos="0"/>
<Level Val="1651" Pos="1"/>
<Level Val="2246" Pos="2"/>
</Opcode>
<Opcode Resource="0x40800100" Name="MIN_FREQ_CLUSTER_LITTLE_CORE_0" Supported="Yes">
<Level Val="1000" Pos="0"/>
<Level Val="1324" Pos="1"/>
<Level Val="1804" Pos="2"/>
</Opcode>
</Group>
<Group ActionCat="Sched">
<Opcode Resource="0x40C78000" Name="SCHED_MIN_TASK_UTIL_FOR_COLOCATION" Supported="Yes">
<Level Val="0" Pos="0"/>
</Opcode>
<Opcode Resource="0x40C7C000" Name="SCHED_MIN_TASK_UTIL_FOR_BOOST" Supported="Yes">
<Level Val="0" Pos="0"/>
</Opcode>
<Opcode Resource="0x40C74000" Name="SCHED_BUSY_HYSTERSIS_CPU_MASK" Supported="Yes">
<Level Val="0xf0" Pos="0"/>
</Opcode>
<Opcode Resource="0x40C9C000" Name="SCHED_MANY_WAKE_UP" Supported="Yes">
<Level Val="4" Pos="0"/>
</Opcode>
<Opcode Resource="0x40CF4000" Name="SCHED_GROUP_UP_DOWN_MIGRATE" Supported="Yes">
</Opcode>
</Group>
<Group ActionCat="SchedUtil">
<Opcode Resource="0x41448000" Name="SCHEDUTIL_DOWN_RATE_LIMIT_CLUSTER_BIG" Supported="Yes">
<Level Val="19000" Pos="0"/>
</Opcode>
<Opcode Resource="0x41448100" Name="SCHEDUTIL_DOWN_RATE_LIMIT_CLUSTER_LITTLE" Supported="Yes">
<Level Val="19000" Pos="0"/>
</Opcode>
</Group>
<Group ActionCat="Misc">
<Opcode Resource="0x41444000" Name="PL_BIG" Supported="Yes">
<Level Val="1" Pos="0"/>
</Opcode>
<Opcode Resource="0x40408000" Name="LPM_BIAS_HYST" Supported="Yes">
<Level Val="99" Pos="0"/>
</Opcode>
<Opcode Resource="0x4303C000" Name="DDR_BW_MIN_FREQ_V2" Supported="Yes">
<Level Val="90" Pos="0"/>
</Opcode>
<Opcode Resource="0x43488000" Name="DDR_LAT_MINFREQ_GOLD" Supported="Yes">
<Level Val="2092000" Pos="0"/>
</Opcode>
</Group>
<Group ActionCat="Gpu">
<Opcode Resource="0x42804000" Name="GPU_PWR_LVL" Supported="Yes">
<Level Val="4" Pos="0"/>
<Level Val="2" Pos="1"/>
<Level Val="0" Pos="2"/>
</Opcode>
</Group>
</QGPEActionProfiles>

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/* Copyright (c) 2019 Qualcomm Technologies, Inc.
/* Copyright (c) 2019-2022 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
*/
@ -39,16 +39,23 @@
<!--app lauch boost (disabling packing)-->
<!-- POWER COLLAPSE resource opcode, value-->
<!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- CPUBW_MIN_FREQ resource opcode, value -->
<!-- Type="2", launch boost for disable packing 1.5sec -->
<Config
Id="0x00001081" Type="2" Enable="true" Timeout="1500" Target="bengal,khaje"
Id="0x00001081" Type="2" Enable="true" Timeout="1500" Target="bengal"
Resources="0x40400000, 0x1, 0x41800000, 59" />
<Config
Id="0x00001081" Type="2" Enable="true" Timeout="1500" Target="scuba"
Resources="0x40400000, 0x1, 0x41800000, 59" />
<!-- POWER COLLAPSE resource opcode, value-->
<!-- CPUBW_MIN_FREQ resource opcode, value for khaje -->
<Config
Id="0x00001081" Type="2" Enable="true" Timeout="1500" Target="khaje"
Resources="0x40400000, 0x1, 0x41800000, 0x26" />
<!-- config_enableLaunchBoostv3-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- SCHED GROUP DOWNMIGRATE resource opcode, value-->
@ -106,8 +113,7 @@
<Config
Id="0x00001081" Type="6" Enable="true" Timeout="2000" Target="khaje"
Resources="0x40408000, 0x63, 0x40C74000, 0xF0,
0x40C68040, 60, 0x40C68050, 60,
0x40C68060, 60, 0x40C68070, 60,
0x40C68000, 60, 0x40C68010, 60,0x40C68020, 60, 0x40C68030, 60,
0x40C58000, 65, 0x40C54000, 71,
0x40800000, 1344,
0x41448000, 20000"/>
@ -128,7 +134,7 @@
Resources="0x40804000, 2016, 0x40804100, 1804, 0x40800000, 0xFFF, 0x40800100, 0xFFF" />
<!--Vertical Scroll boost-->
<!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- CPUBW_MIN_FREQ resource opcode, value for bengal/scuba -->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
@ -136,15 +142,20 @@
<!-- Type="1", Vertical Scroll boost -->
<Config
Id="0x00001080" Type="1" Enable="true" Target="bengal"
Resources="0x41800000, 0x26, 0x40800000, 1056, 0x40800100, 1017, 0x40C00000, 2" />
Resources="0x43010000, 0x26, 0x40800000, 1056, 0x40800100, 1017, 0x40C00000, 2" />
<Config
Id="0x00001080" Type="1" Enable="true" Target="scuba"
Resources="0x41800000, 0x8c, 0x40800000, 1056" />
<!-- CPUBW_MIN_FREQ resource opcode, value for khaje -->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<Config
Id="0x00001080" Type="1" Enable="true" Target="khaje" Fps="60"
Resources="0x41800000, 0x26, 0x40800000, 1344, 0x40800100, 1190, 0x40C00000, 2" />
Resources="0x43010000, 0x26, 0x40800000, 1344, 0x40800100, 1190, 0x40C00000, 2" />
<!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- CPUBW_MIN_FREQ resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
@ -154,10 +165,10 @@
<Config
Id="0x00001080" Type="1" Enable="true" Target="khaje" Fps="90"
Resources="0x41800000, 0x26, 0x40800000, 1766, 0x40800100, 1516,
Resources="0x43010000, 0x26, 0x40800000, 1766, 0x40800100, 1516,
0x40C00000, 2, 0x40C74000, 0xF0, 0x40408000, 0x27, 0x42804000, 2" />
<!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- CPUBW_MIN_FREQ resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
@ -175,7 +186,7 @@
0x40C78000, 0, 0x40C7C000, 0, 0x42804000, 2" />
<!--Horizontal Scroll boost-->
<!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- CPUBW_MIN_FREQ resource opcode, value for bengal/scuba -->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
@ -183,15 +194,20 @@
<!-- Type="2", Horizontal Scroll boost -->
<Config
Id="0x00001080" Type="2" Enable="true" Target="bengal"
Resources="0x41800000, 0x26, 0x40800000, 1056, 0x40800100, 1017, 0x40C00000, 2" />
Resources="0x43010000, 0x26, 0x40800000, 1056, 0x40800100, 1017, 0x40C00000, 2" />
<Config
Id="0x00001080" Type="2" Enable="true" Target="scuba"
Resources="0x41800000, 0x26, 0x40800000, 1056" />
Resources="0x43010000, 0x26, 0x40800000, 1056" />
<!-- CPUBW_MIN_FREQ resource opcode, value for khaje -->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<Config
Id="0x00001080" Type="2" Enable="true" Target="khaje" Fps="60"
Resources="0x41800000, 0x26, 0x40800000, 1344, 0x40800100, 1190, 0x40C00000, 2" />
Resources="0x43010000, 0x26, 0x40800000, 1344, 0x40800100, 1190, 0x40C00000, 2" />
<!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- CPUBW_MIN_FREQ resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
@ -200,7 +216,7 @@
<Config
Id="0x00001080" Type="1" Enable="true" Target="khaje" Fps="90"
Resources="0x41800000, 0x26, 0x40800000, 1766, 0x40800100, 1516,
Resources="0x43010000, 0x26, 0x40800000, 1766, 0x40800100, 1516,
0x40C00000, 2, 0x40C74000, 0xF0, 0x40408000, 0x27" />
<!-- CPUBW_MIN_FREQ resource opcode, value-->
@ -220,7 +236,7 @@
0x40C78000, 0, 0x40C7C000, 0" />
<!--Pre-Fling boost-->
<!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- CPUBW_MIN_FREQ resource opcode, value for bengal/scuba -->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
@ -228,13 +244,18 @@
<!-- Type="4", Pre-Fling boost -->
<Config
Id="0x00001080" Type="4" Enable="true" Timeout="80" Target="bengal"
Resources="0x41800000, 0x26, 0x40800000, 1056, 0x40800100, 1017, 0x40C00000, 2" />
Resources="0x43010000, 0x26, 0x40800000, 1056, 0x40800100, 1017, 0x40C00000, 2" />
<Config
Id="0x00001080" Type="4" Enable="true" Timeout="80" Target="scuba"
Resources="0x41800000, 0x26, 0x40800000, 1056" />
Resources="0x43010000, 0x26, 0x40800000, 1056" />
<!-- CPUBW_MIN_FREQ resource opcode, value for khaje -->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<Config
Id="0x00001080" Type="4" Enable="true" Timeout="80" Target="khaje" Fps="60"
Resources="0x41800000, 0x26, 0x40800000, 1344, 0x40800100, 1190, 0x40C00000, 2" />
Resources="0x43010000, 0x26, 0x40800000, 1344, 0x40800100, 1190, 0x40C00000, 2" />
<!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
@ -246,7 +267,7 @@
<Config
Id="0x00001080" Type="1" Enable="true" Target="khaje" Fps="90"
Resources="0x41800000, 0x26, 0x40800000, 1766, 0x40800100, 1516,
Resources="0x43010000, 0x26, 0x40800000, 1766, 0x40800100, 1516,
0x40C00000, 2, 0x40C74000, 0xF0, 0x40408000, 0x27,
0x42804000, 2" />
@ -289,7 +310,8 @@
<Config
Id="0x00001086" Enable="true" Target="khaje"
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000, 1766,
0x40800100, 1516, 0x42C10000, 0x1" />
0x40800100, 1516, 0x42C10000, 0x1, 0x40408000, 99, 0x40c74000, 0x3F,
0x40C48000, 0x3F" />
<!--PackageInstall boost-->
<!-- SCHEDBOOST resource opcode, value-->
@ -385,54 +407,65 @@
<!--FPS Update Resource-->
<!-- PREDECITIVE_LOAD BIG CORE resource opcode, value -->
<!-- PREDECITIVE_LOAD LITTLE Core resource opcode, value -->
<!-- SCHED_PREFER_SPREAD resource opcode, value -->
<!-- SCHED_WINDOW_TICKS_UPDATE resource opcode, value -->
<!-- Type="60" -->
<Config
Id="0x00001094" Type="60" Enable="true" Target="khaje" Timeout="0"
Resources="0x41444000, 0, 0x41444100, 0, 0x40CA8000, 0" />
Resources="0x41444000, 0, 0x41444100, 0, 0x40CA4000, 5" />
<!-- PREDECITIVE_LOAD BIG CORE resource opcode, value -->
<!-- PREDECITIVE_LOAD LITTLE Core resource opcode, value -->
<!-- WALT_RTG_CFS_BOOST_PRIO resource opcode, value -->
<!-- SCHED_WINDOW_TICKS_UPDATE resource opcode, value -->
<!-- Type="90" -->
<Config
Id="0x00001094" Type="90" Enable="true" Target="khaje" Timeout="0"
Resources="0x41444000, 1, 0x41444100, 1, 0x40CA8000, 2, 0x40CC8000, 119" />
Resources="0x41444000, 1, 0x41444100, 1, 0x40CC8000, 119,
0x40CA4000, 3" />
<!-- PREDECITIVE_LOAD BIG CORE resource opcode, value -->
<!-- PREDECITIVE_LOAD LITTLE Core resource opcode, value -->
<!-- WALT_RTG_CFS_BOOST_PRIO resource opcode, value -->
<!-- SCHED_WINDOW_TICKS_UPDATE resource opcode, value -->
<!-- WALT_LOW_LATENCY_TASK_THRESHOLD resource opcode, value -->
<!-- Type="120" -->
<Config
Id="0x00001094" Type="120" Enable="true" Target="khaje" Timeout="0"
Resources="0x41444000, 1, 0x41444100, 1, 0x40CA8000, 2, 0x40CC8000, 119,
Resources="0x41444000, 1, 0x41444100, 1, 0x40CC8000, 119,
0x40CA4000, 2, 0x40CD8000, 100" />
<!-- FPS Immediate Update from within Perfd-->
<!-- PREDECITIVE_LOAD BIG CORE resource opcode, value -->
<!-- PREDECITIVE_LOAD LITTLE Core resource opcode, value -->
<!-- PREDECITIVE_LOAD PRIME CORE resource opcode, value -->
<!-- SCHED_PREFER_SPREAD resource opcode, value -->
<!-- SCHED_WINDOW_TICKS_UPDATE resource opcode, value -->
<!-- Type="60" -->
<Config
Id="0x0000109B" Type="60" Enable="true" Target="khaje" Timeout="0"
Resources="0x41444000, 0, 0x41444100, 0, 0x40CA8000, 0" />
Resources="0x41444000, 0, 0x41444100, 0, 0x40CA4000, 5" />
<!-- PREDECITIVE_LOAD BIG CORE resource opcode, value -->
<!-- PREDECITIVE_LOAD LITTLE Core resource opcode, value -->
<!-- WALT_RTG_CFS_BOOST_PRIO resource opcode, value -->
<!-- SCHED_WINDOW_TICKS_UPDATE resource opcode, value -->
<!-- Type="90" -->
<Config
Id="0x0000109B" Type="90" Enable="true" Target="khaje" Timeout="0"
Resources="0x41444000, 1, 0x41444100, 1, 0x40CA8000, 2, 0x40CC8000, 119" />
Resources="0x41444000, 1, 0x41444100, 1, 0x40CC8000, 119,
0x40CA4000, 3" />
<!-- Type="120" -->
<!-- PREDECITIVE_LOAD BIG CORE resource opcode, value -->
<!-- PREDECITIVE_LOAD LITTLE Core resource opcode, value -->
<!-- SCHED_PREFER_SPREAD resource opcode, value -->
<!-- WALT_RTG_CFS_BOOST_PRIO resource opcode, value -->
<!-- SCHED_WINDOW_TICKS_UPDATE resource opcode, value -->
<!-- WALT_LOW_LATENCY_TASK_THRESHOLD resource opcode, value -->
<Config
Id="0x0000109B" Type="120" Enable="true" Target="khaje" Timeout="0"
Resources="0x41444000, 1, 0x41444100, 1, 0x40CA8000, 2, 0x40CC8000, 119,
Resources="0x41444000, 1, 0x41444100, 1, 0x40CC8000, 119,
0x40CA4000, 2 , 0x40CD8000, 100" />
<!--Large Comp Hint -->
@ -440,9 +473,12 @@
<!-- GPU_MIN_POWER_LEVEL resource opcode,value -->
<!-- PID Affine opcode,value -->
<Config
Id="0x00001097" Type="0" Enable="true" Timeout="12" Target="khaje" Fps="90"
Id="0x00001097" Type="0" Enable="true" Timeout="5000" Target="khaje" Fps="90"
Resources="0x40800000, 1500, 0x42804000, 0, 0x42C20000, 1" />
<Config
Id="0x00001097" Type="0" Enable="true" Timeout="5000" Target="khaje" Fps="120"
Resources="0x40800000, 1500, 0x42804000, 0, 0x42C20000, 1" />
</PerfBoost>
</BoostConfigs>

View File

@ -21,13 +21,26 @@ property Name is called. -->
<Prop Name="vendor.debug.enable.lm" Value="true" />
<Prop Name="vendor.iop.enable_uxe" Value="1" />
<Prop Name="ro.lmk.enable_preferred_apps" Value="true" />
<Prop Name="ro.vendor.perf.enable.prefapps" Value="false" />
<Prop Name="ro.vendor.use_perf_hal_for_preferredapps" Value="false" />
<Prop Name="ro.vendor.perf.enable.prekill" Value="true" />
<Prop Name="vendor.prekill_MIN_ADJ_to_Kill" Value="800" />
<Prop Name="vendor.prekill_MAX_ADJ_to_Kill" Value="1000" />
<Prop Name="vendor.enable.prefetch" Value="false" />
<Prop Name="vendor.iop.enable_prefetch_ofr" Value="0" />
<Prop Name="vendor.perf.iop_v3.enable" Value="false" />
<Prop Name="vendor.perf.iop_v3.enable.debug" Value="false" />
<Prop Name="vendor.iop.enable_speed" Value="false" />
<Prop Name="vendor.debug.enable.memperfd" Value="true" />
<Prop Name="ro.vendor.perf.enable.procomp" Value="false" />
<Prop Name="vendor.perf.pfar.enable" Value="1"/>
<Prop Name="ro.vendor.perf.ss" Value="false" />
<Prop Name="ro.vendor.perf.lal" Value="false" />
<Prop Name="ro.vendor.perf.lgl" Value="false" />
<Prop Name="ro.vendor.perf.splh" Value="false" />
<Prop Name="ro.vendor.perf.lplh" Value="false" />
<!--System Properties -->
<Prop Name="ro.vendor.qti.sys.fw.bservice_age" Value="300000" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_limit" Value="15" />
@ -49,7 +62,7 @@ property Name is called. -->
<Prop Name="ro.vendor.at_library" Value="libqti-at.so" />
<Prop Name="vendor.appcompact.enable_app_compact" Value="true" />
<Prop Name="vendor.appcompact.full_compact_type" Value="2" />
<Prop Name="vendor.appcompact.some_compact_type" Value="2" />
<Prop Name="vendor.appcompact.some_compact_type" Value="4" />
<Prop Name="vendor.perf.bgt.enable" Value="true" />
<!--Mention all the target/kernel specific properties at the end of xml file
@ -73,5 +86,53 @@ property Name is called. -->
<Prop Name="ro.lmk.psi_window_size_ms" Value="500" Variant="bengal_32go"/>
<Prop Name="ro.lmk.psi_poll_period_scrit_ms" Value="100" Variant="bengal_32go"/>
<Prop Name="ro.lmk.psi_scrit_complete_stall_ms" Value="85" Variant="bengal_32go"/>
<!--Mention all the khaje specific properties here -->
<Prop Name="ro.vendor.perf.enable.prefapps" Value="true" Target="khaje" />
<Prop Name="ro.vendor.use_perf_hal_for_preferredapps" Value="true" Target="khaje" />
<Prop Name="ro.vendor.perf.count.prefapps" Value="5" Target="khaje" />
<Prop Name="vendor.iop.enable_uxe" Value="0" Target="khaje" />
<Prop Name="ro.vendor.perf.enable.procomp" Value="true" Target="khaje" />
<Prop Name="ro.vendor.perf.qgpe" Value="true" Target="khaje" />
<Prop Name="ro.vendor.perf.qape" Value="true" Target="khaje" />
<!-- <Prop Name="ro.vendor.perf.ss" Value="true" Target="khaje"/> -->
<!-- <Prop Name="ro.vendor.perf.lal" Value="true" Target="khaje"/> -->
<!-- <Prop Name="ro.vendor.perf.lgl" Value="true" Target="khaje" SkewType="10"/> -->
<!-- <Prop Name="ro.vendor.perf.splh" Value="true" Target="khaje" /> -->
<!--LMKD Properties -->
<Prop Name="ro.lmk.use_new_strategy_dup" Value="false" Target="khaje" />
<Prop Name="ro.lmk.enable_preferred_apps" Value="true" Target="khaje" />
<Prop Name="ro.lmk.kill_timeout_ms_dup" Value="100" Target="khaje" />
<Prop Name="ro.lmk.thrashing_threshold" Value="30" Target="khaje" />
<Prop Name="ro.lmk.thrashing_decay" Value="5" Target="khaje" />
<Prop Name="ro.lmk.nstrat_low_swap" Value="10" Target="khaje" />
<Prop Name="ro.lmk.nstrat_psi_partial_ms" Value="70" Target="khaje" />
<Prop Name="ro.lmk.nstrat_psi_complete_ms" Value="70" Target="khaje" />
<Prop Name="ro.lmk.psi_scrit_complete_stall_ms" Value="400" Target="khaje" />
<Prop Name="ro.lmk.nstrat_wmark_boost_factor" Value="4" Target="khaje" />
<Prop Name="ro.lmk.cache_percent" Value="10" Target="khaje" />
<!--Appcompaction Properties -->
<Prop Name="vendor.appcompact.compact_throttle_somesome" Value="5000" Target="khaje" />
<Prop Name="vendor.appcompact.compact_throttle_somefull" Value="10000" Target="khaje" />
<Prop Name="vendor.appcompact.compact_throttle_fullsome" Value="500" Target="khaje" />
<Prop Name="vendor.appcompact.compact_throttle_fullfull" Value="10000" Target="khaje" />
<Prop Name="vendor.appcompact.compact_throttle_bfgs" Value="600000" Target="khaje" />
<Prop Name="vendor.appcompact.compact_throttle_persistent" Value="600000" Target="khaje" />
<Prop Name="vendor.appcompact.rss_throttle_kb" Value="12000" Target="khaje" />
<Prop Name="vendor.appcompact.delta_rss_throttle_kb" Value="8000" Target="khaje" />
<Prop Name="ro.lmk.enable_preferred_apps" Value="false" Target="khaje" Ram="3" />
<Prop Name="ro.lmk.kill_heaviest_task_dup" Value="false" Target="khaje" Ram="3" />
<Prop Name="ro.lmk.psi_window_size_ms" Value="500" Target="khaje" Ram="3" />
<Prop Name="ro.lmk.psi_poll_period_scrit_ms" Value="100" Target="khaje" Ram="3" />
<Prop Name="ro.lmk.psi_scrit_complete_stall_ms" Value="85" Target="khaje" Ram="3" />
<Prop Name="vendor.iop.enable_uxe" Value="0" Target="khaje" Ram="3" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_limit" Value="5" Target="khaje" Ram="3" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_age" Value="5000" Target="khaje" Ram="3" />
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="32" Target="khaje" Ram="3" />
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="32" Target="khaje" Ram="4" />
</PerfConfigs>
</PerfConfigsStore>

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/* Copyright (c) 2022 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>

View File

@ -26,17 +26,44 @@ as anyway perflock calls of these resources would fail. -->
<Config MajorValue="0x1" MinorValue="0x2" Node="/proc/sys/kernel/sched_busy_hyst_ns" />
<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="0x7" Node="/proc/sys/kernel/sched_upmigrate" /> <!-- sched_upmigrate -->
<Config MajorValue="0x3" MinorValue="0x8" Node="/proc/sys/kernel/sched_downmigrate" /> <!-- sched_downmigrate -->
<Config MajorValue="0x3" MinorValue="0xA" Supported="no" /> <!-- sched_add_group -->
<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" Node="/proc/sys/kernel/sched_group_upmigrate" /> <!-- sched_group_upmigrate -->
<Config MajorValue="0x3" MinorValue="0x16" Node="/proc/sys/kernel/sched_group_downmigrate" /> <!-- 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="0x1B" Supported="no" />
<Config MajorValue="0x3" MinorValue="0x1C" Supported="no" />
<Config MajorValue="0x3" MinorValue="0x1D" Node="/proc/sys/kernel/sched_busy_hysteresis_enable_cpus" />
<Config MajorValue="0x3" MinorValue="0x1E" Node="/proc/sys/kernel/sched_min_task_util_for_colocation" />
<Config MajorValue="0x3" MinorValue="0x1F" Node="/proc/sys/kernel/sched_min_task_util_for_boost" />
<Config MajorValue="0x3" MinorValue="0x21" Node="/proc/sys/kernel/sched_user_hint" />
<Config MajorValue="0x3" MinorValue="0x22" Supported="no" /> <!-- sched_task_unfilter_nr_windows -->
<Config MajorValue="0x3" MinorValue="0x23" Node="/proc/sys/kernel/sched_coloc_downmigrate_ns" />
<Config MajorValue="0x3" MinorValue="0x24" Node="/proc/sys/kernel/sched_coloc_busy_hysteresis_enable_cpus" />
<Config MajorValue="0x3" MinorValue="0x25" Supported="no" />
<Config MajorValue="0x3" MinorValue="0x26" Node="/proc/sys/kernel/sched_window_stats_policy" />
<Config MajorValue="0x3" MinorValue="0x27" Node="/proc/sys/kernel/sched_many_wakeup_threshold" />
<Config MajorValue="0x3" MinorValue="0x28" Node="/proc/sys/kernel/sched_sync_hint_enable" />
<Config MajorValue="0x3" MinorValue="0x29" Node="/proc/sys/kernel/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/kernel/walt_rtg_cfs_boost_prio" />
<Config MajorValue="0x3" MinorValue="0x33" Node="/proc/sys/kernel/sched_force_lb_enable" />
<Config MajorValue="0x3" MinorValue="0x34" Node="/proc/sys/kernel/sched_latency_ns" />
<Config MajorValue="0x3" MinorValue="0x35" Supported="no" />
<Config MajorValue="0x3" MinorValue="0x36" Node="/proc/sys/kernel/walt_low_latency_task_threshold" />
<Config MajorValue="0x3" MinorValue="0x38" Node="/proc/sys/kernel/%s" Supported="yes"/>
<Config MajorValue="0x6" MinorValue="0x0" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/min_freq" />
@ -90,5 +117,35 @@ as anyway perflock calls of these resources would fail. -->
<Config MajorValue="0xD" MinorValue="0xF" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-ddr-lat/mem_latency/stall_floor" />
<Config MajorValue="0xD" MinorValue="0x10" Node="/sys/class/devfreq/soc:qcom,cpu4-cpu-ddr-lat/mem_latency/stall_floor" />
<!-- PA: Disable unsupported nodes -->
<Config MajorValue="0x2" MinorValue="0x2" Supported="no" />
<Config MajorValue="0x2" MinorValue="0x3" Supported="no" />
<Config MajorValue="0x3" MinorValue="0x20" Node="/proc/%d/sched_boost" />
<Config MajorValue="0x3" MinorValue="0x34" Node="/proc/%d/sched_low_latency" />
<Config MajorValue="0x5" MinorValue="0x14" Supported="no" />
<Config MajorValue="0x5" MinorValue="0x15" Supported="no" />
<Config MajorValue="0x5" MinorValue="0x16" Supported="no" />
<Config MajorValue="0xA" MinorValue="0xA" Node="/sys/class/kgsl/kgsl-3d0/devfreq/mod_percent" />
<Config MajorValue="0xB" MinorValue="0x10" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x26" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x27" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x28" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x29" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x29" Supported="no" />
<Config MajorValue="0xF" MinorValue="0x0" Supported="no" />
<Config MajorValue="0xF" MinorValue="0x0" Supported="no" />
<Config MajorValue="0xF" MinorValue="0x1" Supported="no" />
<Config MajorValue="0xF" MinorValue="0x2" Supported="no" />
<Config MajorValue="0xF" MinorValue="0x3" Supported="no" />
<Config MajorValue="0xF" MinorValue="0x4" Supported="no" />
<Config MajorValue="0xF" MinorValue="0x5" Supported="no" />
<Config MajorValue="0xF" MinorValue="0x6" Supported="no" />
<Config MajorValue="0xF" MinorValue="0x7" Supported="no" />
<Config MajorValue="0xF" MinorValue="0x8" Supported="no" />
<Config MajorValue="0xF" MinorValue="0x9" Supported="no" />
<Config MajorValue="0xF" MinorValue="0xA" Supported="no" />
<Config MajorValue="0xF" MinorValue="0x" Supported="no" />
<Config MajorValue="0x10" MinorValue="0x0" Supported="no" />
</PerfResources>
</ResourceConfigs>

View File

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/* Copyright (c) 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/module/msm_performance/parameters/cpu_max_freq" />
<SysNode Idx="0x3" Node="/sys/module/msm_performance/events/cpu_hotplug" />
<SysNode Idx="0x4" Supported="no" />
<SysNode Idx="0x5" Supported="no" />
<SysNode Idx="0x6" Node="no" />
<SysNode Idx="0x7" Supported="no" />
<SysNode Idx="0x8" Supported="no" />
<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="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>