* MediaTek ship their own modified task_profiles and
use the V30 cgroups configuration.
Change-Id: I15245ea87b00925597db65f1564e808a094c937a
Signed-off-by: bengris32 <bengris32@protonmail.ch>
* Rearrange power service packages
* Cleanup unneeded power service blobs
Change-Id: I33c6c35164e00f4018d966828fa08dcf6677ca6e
Signed-off-by: bengris32 <bengris32@protonmail.ch>
* This is already covered by GMS but in order to account
for non-GMS builds we should place some duplicates here.
Change-Id: I2d0f504106cd4784669a60b514c027fb6974c816
error:
Failed to write to node: /sys/devices/system/cpu/sched/sched_boost with value: 6, fd: -1
* sched_boost was disabled in kernel
Change-Id: I40d4b5889e710c51deecc9079122fd149fcd047e
* Current powerhint configuration would cause sched_boost to always be set to the max value (6) even when the device is idle and not doing anything.
* Instead, we should only apply it when the device is being used, so have it default to 0, 3 when interaction boosting, and 6 when launching apps.
Change-Id: Ic5d60c14a1313b9df27e6796e5a0bddc71aecef0
* We still have to keep some vendor interfaces and libs
since some HALs have dependencies on them.
* Also switch to stub AIDL power service until we can get
libperfmgr properly implemented.
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I25022ceb2dd5d0541203663b005bfc15d2385435
OSS counterpart works well, instead of using prebuilt blobs, use oss
where possible. This has no adverse effect on the audio quality.
Switch to OSS libaudiopreprocessing.
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
Change-Id: Ia9163b6363c79dbdab86d7088946a1fc8b200596
* E System : java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions whitelist: {com.mediatek.ims (/system/priv-app/ImsService): android.permission.UPDATE_DEVICE_STATS}
Drop unneeded pinning of min frequency to maximum cluster frequency
Set max frequencies to cluster maximum
Set uclamp TA to 50%
This should improve UI responsiveness whilst not drain a lot of power.
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
Change-Id: Id8e8c8ca56a99b6c3bc5a24e5f446c9be7e97c9b
Drop unused GPU node and instead use input touch boost for boosting
whenever a touch input is detected upto 50% and for a duration of
1 millisecond, improving overall scrolling and responsiveness.
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
Change-Id: I9d545561f4afb004a08cc6b3b22f2a082268bce3
App launching is one of the tasks that can produce janks and CPU
spikes. Boosting foreground to max to open apps should improve UX.
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
Kernel supports boosting upto 6 different levels of sched boost.
Limiting it to only two seems like a waste of useful resources that
we already have in hand.
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>