-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. 本次更新合并了30+个commit 2. 新增:不同于v1的屏幕点亮HintWakeup,默认关联切换到重负载动作 3. 新增:dumpsys法获取顶层APP名称,处理MIUI12小窗场景识别更准确 4. 新增:防卡开机系统,如果在开机60秒内重启自动禁用本模块 5. 新增:标志位系统,包括SELinux、SfAnalysis、SsAnalysis、perfhal-stub开关 6. 新增:内置busybox(@osm0sis),降低对平台二进制工具集依赖 7. 新增:HeavyWorker辅助线程处理如线程分类器等耗时任务,消除内部阻塞 8. 新增:支持联发科Helio P65(mt6768)/G70(mt6769v)/G80(mt6769t)/G85(mt6769z) 9. 新增:支持高通骁龙662 10. 修复:容易死机的SfAnalysis和SsAnalysis异步通知方法 11. 修复:安兔兔9.0负载被固定小核集群 12. 修复:MIUI桌面卸载应用后卡死数秒 13. 修复:部分系统硬件服务和daemon错误锁定在小核 14. 修复:动态刷新率帧率切换缓存错误 15. 修复:三星Exynos 2100不支持schedtune调参 16. 改进:均衡模式在boost时减少点亮超大核时长 17. 改进:CPU affinity设置执行耗时从1ms降低到0.6ms 18. 改进:费电模式以stuneboost/uclamp作为核心,限制性能在散热允许范围内 19. 改进:无画面渲染时如待机,最低频率尽可能低,有画面渲染时,最低频率在1.0g上下减少频率波动 Signed-off-by: Matt Yang <yccy@outlook.com>
- Loading branch information
Showing
15 changed files
with
132 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,42 @@ | ||
MODDIR=${0%/*} | ||
|
||
# do not place empty json if it doesn't exist in system | ||
# vendor/etc/powerhint.json: android perf hal | ||
# vendor/etc/powerscntbl.cfg: mediatek perf hal (android 9) | ||
# vendor/etc/powerscntbl.xml: mediatek perf hal (android 10+) | ||
# vendor/etc/perf/commonresourceconfigs.json: qualcomm perf hal resource | ||
# vendor/etc/perf/targetresourceconfigs.json: qualcomm perf hal resource overrides | ||
perfcfgs=" | ||
vendor/etc/powerhint.json | ||
vendor/etc/powerscntbl.cfg | ||
vendor/etc/powerscntbl.xml | ||
vendor/etc/perf/commonresourceconfigs.xml | ||
vendor/etc/perf/targetresourceconfigs.xml | ||
" | ||
for f in $perfcfgs; do | ||
[ ! -f "/$f" ] && rm "$MODDIR/system/$f" | ||
done | ||
remove_unnecessary_overlay() | ||
{ | ||
# do not place empty json if it doesn't exist in system | ||
# vendor/etc/powerhint.json: android perf hal | ||
# vendor/etc/powerscntbl.cfg: mediatek perf hal (android 9) | ||
# vendor/etc/powerscntbl.xml: mediatek perf hal (android 10+) | ||
# vendor/etc/perf/commonresourceconfigs.json: qualcomm perf hal resource | ||
# vendor/etc/perf/targetresourceconfigs.json: qualcomm perf hal resource overrides | ||
perfcfgs=" | ||
vendor/etc/powerhint.json | ||
vendor/etc/powerscntbl.cfg | ||
vendor/etc/powerscntbl.xml | ||
vendor/etc/perf/commonresourceconfigs.xml | ||
vendor/etc/perf/targetresourceconfigs.xml | ||
" | ||
for f in $perfcfgs; do | ||
[ ! -f "/$f" ] && rm "$MODDIR/system/$f" | ||
done | ||
|
||
# drivers/net/wireless/cnss2/main.c in kworker/u16:1 Tainted | ||
# because cnss: fatal: MHI power up returns timeout, which QMI timeout is 10000 ms | ||
# for f in $(find /sys/devices/virtual/workqueue "cpumask"); do | ||
# echo f > $f | ||
# done | ||
rm -f $MODDIR/flags/enable_perfhal_stub | ||
for f in $perfcfgs; do | ||
[ -f "$MODDIR/system/$f" ] && true > $MODDIR/flags/enable_perfhal_stub | ||
done | ||
} | ||
|
||
remove_all_overlay() | ||
{ | ||
rm -rf "$MODDIR/system/vendor/etc" | ||
} | ||
|
||
crash_recuser() | ||
{ | ||
true > $MODDIR/flags/crash_on_postfs | ||
sleep 30 | ||
rm -f $MODDIR/flags/crash_on_postfs | ||
} | ||
|
||
remove_unnecessary_overlay | ||
[ -f "$MODDIR/flags/crash_on_postfs" ] && remove_all_overlay | ||
(crash_recuser &) |
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters