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,114 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2017-2020 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".
-->
<!-- 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="lahaina"
NumClusters="3"
TotalNumCores="8"
SocIds="415,439,456,501,502"
SynCore="1"
CoreCtlCpu="4"
MinCoreOnline="0"
CpufreqGov="1" />
<ClustersInfo Id="0" NumCores="4" Type="little" />
<ClustersInfo Id="1" NumCores="3" Type="big" />
<ClustersInfo Id="2" NumCores="1" Type="prime" />
</Config1>
<Config2>
<TargetInfo
Target="shima"
NumClusters="3"
TotalNumCores="8"
SocIds="450"
SynCore="1"
CoreCtlCpu="4"
MinCoreOnline="0"
CpufreqGov="1"
MinFpsForTuning="60" />
<ClustersInfo Id="0" NumCores="4" Type="little" />
<ClustersInfo Id="1" NumCores="3" Type="big" />
<ClustersInfo Id="2" NumCores="1" Type="prime" />
</Config2>
<Config3>
<TargetInfo
Target="yupik"
NumClusters="3"
TotalNumCores="8"
SocIds="475,497,498,499,515"
SynCore="1"
CoreCtlCpu="4"
MinCoreOnline="0"
CpufreqGov="1"
MinFpsForTuning="60" />
<ClustersInfo Id="0" NumCores="4" Type="little" />
<ClustersInfo Id="1" NumCores="3" Type="big" />
<ClustersInfo Id="2" NumCores="1" Type="prime" />
</Config3>
<Config4>
<TargetInfo
Target="katmai"
NumClusters="2"
TotalNumCores="8"
SocIds="575,576"
SynCore="1"
CoreCtlCpu="4"
MinCoreOnline="0"
CpufreqGov="1"
MinFpsForTuning="60" />
<ClustersInfo Id="0" NumCores="4" Type="little" />
<ClustersInfo Id="1" NumCores="4" Type="big" />
</Config4>
</TargetConfig>