Don't enable CPU feature runtime detection for everyone

Sadly CPUs impacted with needs_a53_835769_fix/needs_a53_843419_fix can't use runtime codepath
Enable CPU feature runtime detection on known-problematic CPUs
This commit is contained in:
Pierre-Hugues Husson 2020-06-20 00:31:29 +02:00
parent 9bff86b3a9
commit 46c5eb1273

View File

@ -765,9 +765,9 @@ fi
setprop vendor.display.res_switch_en 1 setprop vendor.display.res_switch_en 1
setprop dalvik.vm.isa.arm64.features runtime
if getprop ro.bionic.cpu_variant |grep -q kryo300;then if getprop ro.bionic.cpu_variant |grep -q kryo300;then
resetprop ro.bionic.cpu_variant cortex-a75 resetprop ro.bionic.cpu_variant cortex-a75
setprop dalvik.vm.isa.arm64.variant cortex-a75 setprop dalvik.vm.isa.arm64.variant cortex-a75
setprop dalvik.vm.isa.arm64.features runtime
fi fi