Commit graph

3 commits

Author SHA1 Message Date
shivatejapeddi
cf5fe98a53 sdm660-common: Copy Modified libprocessgroup configs to vendor
* Schedtune paths are depreceated from Android S and updated to utilclamp
as our kernel doesnt support utilclamp, these configs are modified to fix lags and stutters
since power hal and perf stack are still dependent on schedtune

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
pix106
6f56141b37 Revert "sdm660-common: Ship copy of API 28 cgroups/task_profiles.json in vendor"
This reverts commit 533bb382b291ce5e0f97283852a2b6e809332fc1.
2021-12-31 07:51:33 +01:00
Chenyang Zhong
d979f6a671 sdm660-common: Ship copy of API 28 cgroups/task_profiles.json in vendor
Google's prebuilt cgroups.json and task_profiles.json for products
launched with previous API levels only covers
ro.product.first_api_level >= 28. [1]

Xiaomi sdm660 devices were launched with Nougat/Nougat MR1/Oreo (API levels 24-26), so schedtune and
task groups are completely broken. Since the system also checks
/vendor/etc for vendor profiles, make a copy of cgroups_28.json
and task_profiles_28.json and ship them to /vendor/etc. Profiles
for previous API levels are all the same anyway.

Test: boot and check /dev/stune/

[1] system/core/libprocessgroup/profiles/

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: Jarl-Penguin <jarlpenguin@outlook.com>
Signed-off-by: SakilMondal <mondalsakil@gmail.com>
Change-Id: I8e54ae2d79034f54447616d79294573bf74ed6e1
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00