[aleasto]
After 4264917141
the vulkan HAL library is only searched with linker namespaces.
Since our device is not treblized, the only valid namespace is the
default namespace which does not include /vendor/lib(64)?/hw
Refers to:
https://review.lineageos.org/c/LineageOS/android_device_lge_msm8996-common/+/325923
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: If48ea1d1a725cb01141d2bd2050e5763d32d3eec
I removed this file by the commit,
5f43768 gts3l-common: overlay: Move hw key properties to overlay/frameworks/base
But LineageOS still needs this file. So I restore this back.
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Idb81e2dbb6864303bda321198b1a5675a4b161a5
It needs /proc/sys/kernel/sched_boost anyway
The log spam:
ANDR-PERF-OPTSHANDLER: Failed to read /proc/sys/kernel/sched_boost
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
In common power hal this (and other) hints are disabled.
To not interfere with common implementation, add additional
logic to handle this hint by calling the existing implementation on
power-8996.c.
Refers this commit:
4c186bc66e
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
perfd is not working as the following error on our device
[0: perfd: 955] devbw soc:qcom,cpubw: dev_pm_opp_get_opp_count: device OPP not found (-19)
So I reverted all the perfd stuffs
This reverts commit 21dcb08866.
Maybe sometimes the governor properties are not set properly so add this
line to enable CPU 0 explicitly
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Then this power HAL will optimize the schedutil properties by a hint
from the device condition.
By the way, is this feature corrupted on LG devices where I got the
power HAL from? Why they don't edit this string?
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Set up_rate_limit_us to 250 and down_rate_limit_us 10000 unlike
schedutil that uses 500 and 20000 repectively. The new values are from
lge_msm8996-common.
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
The configs are set for interactive, not EAS. So we have to edit those
configs to be based on EAS system.
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
I imported sched_boost implement to my custom kernel, which is for HMP system
basically but to use the CAF power optimizations we should have that node.
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
As our power HAL only can work when if perfd exists, we have to import this
binary from another device.
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
blu_schedutil is basically from the Pixel 3 kernel, and I did import
this to my custom kernel. This has been developed for the better battery
performance based on schedutil.
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
The msm_irqbalance configuration of lge_msm8996-common has more IRQ
numbers for excepting mdss and kgsl-3d0. This is good to improve UX stability.
Refers:
d5f348aedd
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>