vendor: perf: Enable performance mode on msmnile

Change-Id: I3c81d1721272528f7a57f4dffe434f68b830131a
Signed-off-by: BladeRunner-A2C <prisoner56898@protonmail.com>
This commit is contained in:
Fazil Sheik 2024-08-13 00:03:22 +05:30
parent 7ef64a1c19
commit 972fd23e9c
2 changed files with 34 additions and 0 deletions

View File

@ -209,5 +209,36 @@
Id="0x000010A5" Enable="true" Timeout="0" Target="msmnile"
Resources="0x42804000, 3"/>
<!-- AOSPA Edit: Enable Performance mode for msmnile targets -->
<!--Performance mode-->
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- LPM_BIAS resource opcode, value-->
<!-- SLB_BIG, val, SLB_BIG, val-->
<!-- SLB_LITTLE, val, SLB_LITTLE, val, SLB_LITTLE, val, SLB_LITTLE, val, SLB_LITTLE, val, SLB_LITTLE, val -->
<!-- CPU_DOWN_FREQ_THRESHOLD_US, val us -->
<!-- GPU MIN_FREQUENCY resource opcode, value-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- SCHED GROUP DOWNMIGRATE resource opcode, value-->
<!-- SCHED GROUP UPMIGRATE resource opcode, value-->
<!-- Type="", Performance mode -->
<Config
Id="0x00001091" Enable="true"
Resources="0x40804000, 2169,
0x40804100, 1804,
0x40800000, 1843,
0x40800100, 1708,
0x40408000, 0x63,
0x40C68000, 60, 0x40C68010, 60,
0x40C68100, 33, 0x40C68110, 33, 0x40C68120, 33, 0x40C68130, 33, 0x40C68140, 33, 0x40C68150, 33,
0x41448000, 20000,
0x4280C000, 800,
0x40C00000, 0x3,
0x40C58000, 95,
0x40C54000, 100" />
</PerfBoost>
</BoostConfigs>

View File

@ -35,5 +35,8 @@ property Name is called. -->
<Prop Name="ro.vendor.perf.qgpe" Value="true"/>
<Prop Name="vendor.perf.expensive_rendering" Value="1" Target="msmnile" />
<!-- AOSPA Edit: Enable Performance mode for msmnile targets -->
<Prop Name="vendor.perf.performancemode.support" Value="true" />
</PerfConfigs>
</PerfConfigsStore>