Commit graph

23 commits

Author SHA1 Message Date
Prateek Chaubey
aaf0974357 msm8937-common: Cleanup power script 2018-06-29 00:02:43 +08:00
Varun Garg
a9291ed549 msm8937-common: Remove perfd and update default value file path
Removing the code related to perfd. Update the path for default_value
file to vendor
partition from system.
2018-06-29 00:03:00 +08:00
Isaac Chen
52aa1b7292 msm8937-common: Cleanup power script
Signed-off-by: Prateek Chaubey <chaubeyprateek@gmail.com>
2018-06-29 00:02:59 +08:00
Steve Kondik
57529f46ec land: Give additional cores to background cpuset
* When a device with hundreds of apps is booted up, hundreds of
   apps will spawn their BOOT_COMPLETED receivers which start
   up their background initialization services. Since only one
   core is allowed for these processes, the time for all these
   services to complete is extremely long.
 * To improve this, allow three cores for background processes,
   keeping the fourth for idle wakeups. This ends up producing
   a better thermal profile for the device as well, since the
   small cores are not the aggressor on this SoC.

Change-Id: I98bbf8bf565bd77066ff7726014e6fa5730a4e09
2017-08-15 13:49:06 +02:00
Ethan Chen
f59a29ebca land: Use cpusets for all services
* Move more services to system-background
* Move camera to camera-daemon

Change-Id: Icdb634c9b69083b6a58dbef8d9045e332cd3d2a3
2017-08-15 13:49:06 +02:00
Zhao Wei Liew
eafa76a130 land: Add support for top-app cpuset
Change-Id: I8a8540313572a4d109c06d0de11c1dd6a7b50f5a
2017-08-15 13:49:06 +02:00
karthick111
6761adcd9c land: rootdir: Disable core_ctl
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
2017-08-07 10:38:52 +02:00
karthick111
0ce4456bbb land: power script based on karate 2017-08-07 10:38:13 +02:00
karthick111
4f9c0bc174 land: rootdir: Enable power_efficient workqueue 2017-08-07 10:36:00 +02:00
Darshan Manjrekar
88634ecd38 land: Disable corectl & cpusets
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
2017-06-27 19:39:30 +02:00
Tim Murray
c2448db256 land: Add camera-daemon cpuset
cameraserver needs to live in its own cpuset on M/S.

Change-Id: I1f04ed17d52dffb29d8b379e387c07d0f6ab3ea6
2017-03-19 05:28:21 +01:00
karthick111
8ffd29141e land: Add support for top-app cpuset
Signed-off-by: karthick111 <karthickrko61@gmail.com>
2017-03-18 07:05:52 +01:00
Ravinder Konka
12b03f7680 land: init: Set rps mask value to 2
Enable rps with the mask value of 2 during the time of initialization.

Change-Id: I0f932f6e5e8372d638be2c90778bdd0bae159e76
CRs-fixed: 902473
2017-03-18 05:20:58 +01:00
Pavankumar Kondeti
92505e3728 land: don't load core_ctl module
core_ctl is now statically built with in the kernel. No need to
load it.

Change-Id: I7635d6f136ac2c791af8c49989f2db768385d6c3
2017-01-02 21:55:15 +08:00
Zhao Wei Liew
49dfd1f02d land: Switch to BFQ after boot
LineageOS has several UX improvements making use of BFQ's
cgroups interface. Switch to BFQ once boot is complete
to take advantage of these improvements.

Change-Id: I63299e8d2c27b207af3427ac184a2a4ff4da25f5
2017-01-02 16:49:31 +08:00
Zhao Wei Liew
ae19300740 land: Properly set up low power modes on charger
We don't need all of the other stuff. Just disable all cores
and enable LPM.

Change-Id: I4721f9a5aa57d0523f37f7352ade8b9a2919b0d9
2016-11-11 06:59:46 +08:00
Zhao Wei Liew
f0906fbf4c land: Set up low power modes on recovery
Change-Id: I3f79b5277936e4d3f0b5c0b134ea4211ab3cf920
2016-11-11 06:57:07 +08:00
Zhao Wei Liew
1db73983eb land: Set up low power modes earlier
The device can get quite warm
while booting, especially duirng dexopt.

Change-Id: I0d843838b1e81fdf125ac8af65892b31124ae58d
2016-11-11 06:51:47 +08:00
Zhao Wei Liew
52b350fd29 land: Remove broken zRAM config
Will revisit.
Most likely MIUI's 'memory optimizations' do this
instead of using the traditional init scripts.

Change-Id: Ie168d05fa3f9fd1f5d2d995559a0bcc5cb2745d5
2016-11-10 13:41:04 +08:00
Zhao Wei Liew
43bb34fc21 land: Move cpuset config to power script
Change-Id: I9debac486fd9e15aa526538e84c1fbf7037897e6
2016-11-06 18:32:57 +08:00
Zhao Wei Liew
8ccdb7d6be land: Remove dependency on QCOM post-boot shell script
Refactor all the relevant stuff to init.qcom.power.rc

Change-Id: I6a4a60a8da01e392885ce302300ab0a25d8b30ad
2016-11-03 14:52:10 +08:00
Zhao Wei Liew
148b670d9a land: Enable zRAM
Change-Id: I6edebe7668195de8bcb52cf7fe8fc807e083b247
2016-11-01 14:13:59 +08:00
Zhao Wei Liew
63b61111e2 land: rootdir: Refactor post-boot power configuration
This makes it such that we can be more versatile in applying
our power configuration (recovery, different init triggers, etc.)

This will not be included in init.qcom.rc until this is verified.

Change-Id: I3a721ee8f31129f80662c752c370e951a4f80c38
2016-10-31 08:51:53 +08:00