vendor: perf: Enable Preferred Apps for all SoCs

This feature replaces IOP on the new perf stack.

Change-Id: I7b3513fa56c7b6f7ffd70022f8f09b8ad77a962b
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
This commit is contained in:
Jake Weinstein 2024-02-03 11:56:39 -06:00 committed by Cyber Knight
parent ece6cf2dbf
commit 3ce323778b
No known key found for this signature in database
GPG Key ID: 23BD4CCD326E9D64
11 changed files with 126 additions and 16 deletions

View File

@ -19,11 +19,14 @@ property Name is called. -->
<!--Vendor Properties -->
<Prop Name="vendor.debug.enable.lm" Value="true" />
<!-- AOSPA Edit: Comment out IOP
<Prop Name="vendor.iop.enable_uxe" Value="1" />
<Prop Name="vendor.enable.prefetch" Value="false" />
<Prop Name="vendor.iop.enable_prefetch_ofr" Value="false" />
<Prop Name="vendor.perf.iop_v3.enable" Value="false" />
<Prop Name="vendor.perf.iop_v3.enable.debug" Value="false" />
<Prop Name="vendor.perf.iop_v3.enable.debug" Value="false" /> -->
<!-- AOSPA Edit: Enable Preferred Apps for pre-5.4 targets -->
<Prop Name="vendor.iop.enable_speed" Value="true" /> <!--rename to perf-->
<Prop Name="vendor.debug.enable.memperfd" Value="true" />
<!--System Properties -->
@ -43,5 +46,13 @@ property Name is called. -->
<Prop Name="ro.lmk.enable_userspace_lmk" Value="false" />
<Prop Name="ro.vendor.perf.qgpe" Value="true"/>
<!-- AOSPA Edit: Enable Preferred Apps -->
<Prop Name="ro.lmk.enable_preferred_apps" Value="true" />
<Prop Name="ro.vendor.perf.enable.prefapps" Value="true" />
<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" />
</PerfConfigs>
</PerfConfigsStore>

View File

@ -33,11 +33,12 @@ ________________________________________________________________________________
<!--Vendor Properties -->
<Prop Name="vendor.debug.enable.lm" Value="true" />
<!-- AOSPA Edit: Comment out IOP
<Prop Name="vendor.iop.enable_uxe" Value="1" />
<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.perf.iop_v3.enable.debug" Value="false" /> -->
<Prop Name="vendor.debug.enable.memperfd" Value="true" />
<Prop Name="vendor.perf.pfar.enable" Value="1"/>
<Prop Name="vendor.perf.fps_switch.enable" Value="1"/>
@ -84,5 +85,12 @@ ________________________________________________________________________________
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="32" Ram="3" />
<Prop Name="ro.vendor.perf.qgpe" Value="true"/>
<!-- AOSPA Edit: Enable Preferred Apps -->
<Prop Name="ro.vendor.perf.enable.prefapps" Value="true" />
<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" />
</PerfConfigs>
</PerfConfigsStore>

View File

@ -18,12 +18,16 @@ property Name is called. -->
<PerfConfigs>
<!--Vendor Properties -->
<Prop Name="vendor.iop.enable_uxe" Value="1" />
<!-- AOSPA Edit: Comment Out IOP
<Prop Name="vendor.iop.enable_uxe" Value="1" /> -->
<Prop Name="vendor.debug.enable.lm" Value="true" />
<!-- Comment Out IOP
<Prop Name="vendor.perf.iop_v3.enable" Value="true" />
<Prop Name="vendor.perf.iop_v3.enable.debug" Value="false" />
<Prop Name="vendor.enable.prefetch" Value="false" />
<Prop Name="vendor.iop.enable_prefetch_ofr" Value="false" />
<Prop Name="vendor.iop.enable_prefetch_ofr" Value="false" /> -->
<!-- AOSPA Edit: Enable Preferred Apps for pre-5.4 targets -->
<Prop Name="vendor.iop.enable_speed" Value="true" /> <!--rename to perf-->
<Prop Name="ro.vendor.perf.gfl.tap_ignore_enable" Value="true"/>
<!--System Properties -->
@ -42,5 +46,12 @@ property Name is called. -->
<Prop Name="vendor.perf.topAppRenderThreadBoost.enable" Value="false" />
<Prop Name="ro.vendor.perf.qgpe" Value="true"/>
<!-- AOSPA Edit: Enable Preferred Apps -->
<Prop Name="ro.vendor.perf.enable.prefapps" Value="true" />
<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" />
</PerfConfigs>
</PerfConfigsStore>

View File

@ -32,12 +32,14 @@ ________________________________________________________________________________
<PerfConfigs>
<!--Vendor Properties -->
<Prop Name="vendor.iop.enable_uxe" Value="1" />
<!-- AOSPA Edit: Comment out IOP
<Prop Name="vendor.iop.enable_uxe" Value="1" /> -->
<Prop Name="vendor.debug.enable.lm" Value="true" />
<!-- AOSPA Edit: Comment out IOP
<Prop Name="vendor.perf.iop_v3.enable" Value="true" Target="lahaina" />
<Prop Name="vendor.perf.iop_v3.enable.debug" Value="false" />
<Prop Name="vendor.enable.prefetch" Value="false" />
<Prop Name="vendor.iop.enable_prefetch_ofr" Value="false" />
<Prop Name="vendor.iop.enable_prefetch_ofr" Value="false" /> -->
<Prop Name="vendor.iop.enable_speed" Value="true" />
<Prop Name="vendor.perf.fps_switch_hyst_time_secs" Value="10" />
<Prop Name="vendor.debug.enable.memperfd" Value="true" Target="shima" />
@ -159,5 +161,12 @@ ________________________________________________________________________________
<Prop Name="ro.vendor.perf.qhf" Value="true" Target="lahaina"/>
<Prop Name="ro.vendor.perf.qape" Value="true" Target="lahaina"/>
<!-- AOSPA Edit: Enable Preferred Apps -->
<Prop Name="ro.vendor.perf.enable.prefapps" Value="true" />
<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" />
</PerfConfigs>
</PerfConfigsStore>

View File

@ -33,11 +33,12 @@ ________________________________________________________________________________
<!--Vendor Properties -->
<Prop Name="vendor.debug.enable.lm" Value="true" />
<!-- AOSPA Edit: Comment out IOP
<Prop Name="vendor.iop.enable_uxe" Value="1" />
<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.perf.iop_v3.enable.debug" Value="false" /> -->
<Prop Name="vendor.debug.enable.memperfd" Value="true" />
<Prop Name="vendor.perf.pfar.enable" Value="1"/>
<Prop Name="vendor.perf.fps_switch.enable" Value="1"/>
@ -67,5 +68,13 @@ ________________________________________________________________________________
<Prop Name="ro.vendor.at_library" Value="libqti-at.so" />
<Prop Name="ro.vendor.perf.qgpe" Value="true"/>
<!-- AOSPA Edit: Enable Preferred Apps -->
<Prop Name="ro.lmk.enable_preferred_apps" Value="true" />
<Prop Name="ro.vendor.perf.enable.prefapps" Value="true" />
<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" />
</PerfConfigs>
</PerfConfigsStore>

View File

@ -18,12 +18,16 @@ property Name is called. -->
<PerfConfigs>
<!--Vendor Properties -->
<Prop Name="vendor.iop.enable_uxe" Value="1" />
<!-- AOSPA Edit: Comment Out IOP
<Prop Name="vendor.iop.enable_uxe" Value="1" /> -->
<Prop Name="vendor.debug.enable.lm" Value="true" />
<!-- Comment Out IOP
<Prop Name="vendor.perf.iop_v3.enable" Value="true" />
<Prop Name="vendor.perf.iop_v3.enable.debug" Value="false" />
<Prop Name="vendor.enable.prefetch" Value="false" />
<Prop Name="vendor.iop.enable_prefetch_ofr" Value="false" />
<Prop Name="vendor.iop.enable_prefetch_ofr" Value="false" /> -->
<!-- AOSPA Edit: Enable Preferred Apps for pre-5.4 targets -->
<Prop Name="vendor.iop.enable_speed" Value="true" /> <!--rename to perf-->
<!--System Properties -->
<Prop Name="vendor.perf.gestureflingboost.enable" Value="true" />
@ -32,5 +36,15 @@ property Name is called. -->
<Prop Name="ro.lmk.enable_userspace_lmk" Value="false" />
<Prop Name="ro.vendor.perf.qgpe" Value="true"/>
<!-- AOSPA Edit: Enable Preferred Apps -->
<Prop Name="ro.lmk.enable_preferred_apps" Value="true" />
<Prop Name="ro.vendor.perf.enable.prefapps" Value="true" />
<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" />
</PerfConfigs>
</PerfConfigsStore>

View File

@ -32,11 +32,12 @@ ________________________________________________________________________________
<PerfConfigs>
<!--Vendor Properties -->
<!-- AOSPA Edit: Comment out IOP
<Prop Name="vendor.iop.enable_uxe" Value="1" />
<Prop Name="vendor.perf.iop_v3.enable" Value="false" />
<Prop Name="vendor.perf.iop_v3.enable.debug" Value="false" />
<Prop Name="vendor.enable.prefetch" Value="false" />
<Prop Name="vendor.iop.enable_prefetch_ofr" Value="false" />
<Prop Name="vendor.iop.enable_prefetch_ofr" Value="false" /> -->
<Prop Name="vendor.iop.enable_speed" Value="true" />
<Prop Name="vendor.debug.enable.lm" Value="true" />
<Prop Name="vendor.perf.test_avc" Value="false" />
@ -125,5 +126,12 @@ ________________________________________________________________________________
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="32" Ram="3" />
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="32" Ram="4" />
<!-- AOSPA Edit: Enable Preferred Apps -->
<Prop Name="ro.vendor.perf.enable.prefapps" Value="true" />
<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" />
</PerfConfigs>
</PerfConfigsStore>

View File

@ -18,11 +18,14 @@ property Name is called. -->
<PerfConfigs>
<!--Vendor Properties -->
<!-- AOSPA Edit: Comment out IOP
<Prop Name="vendor.iop.enable_uxe" Value="1" />
<Prop Name="vendor.perf.iop_v3.enable" Value="true" />
<Prop Name="vendor.perf.iop_v3.enable.debug" Value="false" />
<Prop Name="vendor.enable.prefetch" Value="false" />
<Prop Name="vendor.iop.enable_prefetch_ofr" Value="false" />
<Prop Name="vendor.iop.enable_prefetch_ofr" Value="false" /> -->
<!-- AOSPA Edit: Enable Preferred Apps for pre-5.4 targets -->
<Prop Name="vendor.iop.enable_speed" Value="true" /> <!--rename to perf-->
<!--System Properties -->
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="60" />
@ -30,5 +33,13 @@ property Name is called. -->
<Prop Name="ro.lmk.enable_userspace_lmk" Value="false" />
<Prop Name="vendor.perf.gestureflingboost.enable" Value="true" />
<!-- AOSPA Edit: Enable Preferred Apps -->
<Prop Name="ro.lmk.enable_preferred_apps" Value="true" />
<Prop Name="ro.vendor.perf.enable.prefapps" Value="true" />
<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" />
</PerfConfigs>
</PerfConfigsStore>

View File

@ -19,13 +19,14 @@ property Name is called. -->
<!--Vendor Properties -->
<Prop Name="vendor.debug.enable.lm" Value="true" />
<!-- AOSPA Edit: Comment out IOP
<Prop Name="vendor.iop.enable_uxe" Value="1" />
<!-- AOSPA Edit: Enable IO Prefetch -->
<Prop Name="vendor.enable.prefetch" Value="1" />
<Prop Name="vendor.iop.enable_prefetch_ofr" Value="false" />
<!-- AOSPA Edit: Enable IOP v3 -->
<Prop Name="vendor.perf.iop_v3.enable" Value="true" />
<Prop Name="vendor.perf.iop_v3.enable.debug" Value="false" />
<Prop Name="vendor.perf.iop_v3.enable.debug" Value="false" /> -->
<!-- AOSPA Edit: Enable Preferred Apps for pre-5.4 targets -->
<Prop Name="vendor.iop.enable_speed" Value="true" /> <!--rename to perf-->
<!--System Properties -->
<Prop Name="vendor.perf.gestureflingboost.enable" Value="true" />
@ -38,5 +39,13 @@ property Name is called. -->
<Prop Name="ro.lmk.enable_userspace_lmk" Value="true" />
<Prop Name="ro.vendor.perf.qgpe" Value="true"/>
<!-- AOSPA Edit: Enable Preferred Apps -->
<Prop Name="ro.lmk.enable_preferred_apps" Value="true" />
<Prop Name="ro.vendor.perf.enable.prefapps" Value="true" />
<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" />
</PerfConfigs>
</PerfConfigsStore>

View File

@ -32,12 +32,14 @@ ________________________________________________________________________________
<PerfConfigs>
<!--Vendor Properties -->
<Prop Name="vendor.iop.enable_uxe" Value="1" />
<!-- AOSPA Edit: Comment out IOP
<Prop Name="vendor.iop.enable_uxe" Value="1" /> -->
<Prop Name="vendor.debug.enable.lm" Value="true" />
<!-- AOSPA Edit: Comment out IOP
<Prop Name="vendor.perf.iop_v3.enable" Value="true" Target="taro,cape,ukee" />
<Prop Name="vendor.perf.iop_v3.enable.debug" Value="false" />
<Prop Name="vendor.enable.prefetch" Value="false" />
<Prop Name="vendor.iop.enable_prefetch_ofr" Value="false" />
<Prop Name="vendor.iop.enable_prefetch_ofr" Value="false" /> -->
<Prop Name="vendor.iop.enable_speed" Value="true" />
<Prop Name="vendor.perf.test_avc" Value="false" />
<Prop Name="vendor.perf.fps_switch_hyst_time_secs" Value="10" />
@ -135,5 +137,13 @@ ________________________________________________________________________________
<Prop Name="ro.vendor.qti.am.reschedule_service" Value="true" Ram="6" />
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="60" Ram="6" />
<Prop Name="ro.vendor.perf.enable.procomp" Value="true" Ram="6" />
<!-- AOSPA Edit: Enable Preferred Apps -->
<Prop Name="ro.vendor.perf.enable.prefapps" Value="true" />
<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" />
</PerfConfigs>
</PerfConfigsStore>

View File

@ -29,6 +29,16 @@ property Name is called. -->
<Prop Name="vendor.debug.enable.memperfd" Value="true" />
<Prop Name="ro.vendor.qti.am.reschedule_service" Value="true" />
<Prop Name="ro.vendor.perf.qgpe" Value="true"/>
<!-- AOSPA Edit: Enable Preferred Apps for pre-5.4 targets -->
<Prop Name="vendor.iop.enable_speed" Value="true" /> <!--rename to perf-->
<!-- AOSPA Edit: Enable Preferred Apps -->
<Prop Name="ro.lmk.enable_preferred_apps" Value="true" />
<Prop Name="ro.vendor.perf.enable.prefapps" Value="true" />
<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" />
</PerfConfigs>
</PerfConfigsStore>