Commit graph

72 commits

Author SHA1 Message Date
Dušan Uverić
3c2614ac95
sdm660-common: rootdir: always use lz4 for compression
Signed-off-by: Dušan Uverić <dusan.uveric9@gmail.com>
Change-Id: I955323fdc7ac3230bcf3c7a3af1ab54ad4e841e6
2020-10-19 11:36:06 +06:00
Dušan Uverić
fa33bc54b6
sdm660-common: rootdir: migrate tunables from post-boot to init.performance.sdm660
Signed-off-by: Dušan Uverić <dusan.uveric9@gmail.com>
Change-Id: I00cd6a57a8e7401160aa9eefb96b73ce13a20b3c
2020-10-19 11:36:06 +06:00
Nicholas Lim
302d73e8c6
sdm660-common: Drop CAF Adaptive LMK script
* In favor of Low Memory Killer Daemon (lmkd).
* Adaptive LMK was also dropped quite sometime ago
  making it useless to keep this script around.

Change-Id: Ie221d6f669d261bb871a77fed712b0df3f5ba248
2020-10-19 11:36:06 +06:00
Artem Borisov
2ab6731d33
sdm660-common: Disable PPR on all targets
* No matter how hard QC tried to improve these features, they still suffer
  from stability issues, mainly due to the unpredictable nature of vmpressure
  they rely on.

Change-Id: Icd14c79298a3c268abffa06ed17a79dececf423a
2020-10-19 11:36:05 +06:00
Saurabh
3501d248b5
sdm660: rootdir: Enable sys.use_fifo_ui prop if EAS is present
* When sys.use_fifo_ui is enabled, ActivityManager tracks the UI thread and RenderThread (the two most UI-critical threads) of the top application and makes those threads SCHED_FIFO instead of SCHED_OTHER. This effectively eliminates jitter from UI and RenderThreads; the traces that've gathered with this option enabled show runnable times on the order of microseconds instead of milliseconds.
* However, it should be enabled only when we have EAS i.e a capacity-aware RT scheduler because if RT load balancer is not capacity-aware, then there would be a 30% reduction in application startup performance.

Reference: https://source.android.com/devices/tech/debug/jank_jitter

Signed-off-by: Saurabh Charde <saurabhchardereal@gmail.com>
Signed-off-by: Aston-Martinn <advaithbhat9@gmail.com>
Change-Id: I8b55ad1899be985fc7357abaf06d68d6a130fb75
2020-08-12 02:11:32 +06:00
Raghavendra Kakarla
856bb08440
init.qcom.post_boot: Enable APSS Low Power Modes
Enable APSS LPMs for scuba.

Change-Id: I554b92197455ef01cffacb8e69ac9c79cf75774f
2020-08-12 02:11:32 +06:00
Dyneteve
a97ec5da65
sdm660-common: rootdir: Stop configuring read ahead from post_boot
Change-Id: Ic6706ee9ef05e8d465ff0c535e6feb876eb35e6c
2020-08-12 02:11:32 +06:00
Dusan Uveric
98660408d3
sdm660-common: ramdisk: adjust cpubw bwmon values
Those values seem off. CAF maybe messed them up as those values look possibly wrong.
Those values are used as powerhint values on pixel 2 and 3.

Signed-off-by: Dusan Uveric <dusan.uveric9@gmail.com>
Change-Id: I1eebb1f57a7e91f26b9900cda65ec151b05ecbd7
2020-08-12 02:11:32 +06:00
Artem Borisov
3eaea533e1
sdm660-common: Disable ALMK on all targets
* No matter how hard QC tried to improve these features, they still suffer
  from stability issues, mainly due to the unpredictable nature of vmpressure
  they rely on.

Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
Change-Id: I8256abb91b7e3160670ec45a22fdceeecc2a928c
2020-08-12 02:11:32 +06:00
Max Weffers
10e587e287
sdm660-common: Start vendor.cdsprpcd only for sdm660
* disable it for sdm636 and sdm630
* fixes logspam on whyred with cdsprpcd not able to start

Change-Id: I4de5333709c2fb57f315b47842fbd12d4d80c36d
2020-08-12 02:11:32 +06:00
richagar
176cb160f9
Added new revision id 2.0.2 for lito
New revision id 2.0.2 added for lito along with 2.0

Change-Id: I98b23d9c160a61afd9a12d12eeda8a91aede87eb
2020-08-12 02:11:32 +06:00
Chitti Babu Theegala
6aaca1af7e
scuba: Initial power/perf tunings
Scheduler, Governor, LPM settings for scuba

Change-Id: Ibb5c29ea5bd8e93fe4759ef18c81500666c2a29c
2020-08-12 02:11:32 +06:00
Divyanand Rangu
28e54cf755
post_boot: updating post_boot for <=2 GB devices
Removing the check of 1GB RAM while enabling
low_ram target specific configurations to enable them
for 2GB RAM targets as well.
Updating ZRAM size to 75% of RAM for <2GB devices

Change-Id: I8d5341a4397cd20f2c59e7396801fcbea7fe5b73
2020-08-12 02:11:32 +06:00
Libo Jin
7bacadf2fb
Perf:Add input boost
Change-Id: I006c49ff5ee5412abc72855229c34ea81f0db4d8
CRs-Fixed: 2607022
2020-08-12 02:11:32 +06:00
Stylogey
0d5c6a79f6
sdm660-common: remove improvetouch related stuff
* Not host based touch processing isn't supported by the touchscreen.

Change-Id: Ibc841d8c36eda56e58184286676e1d710ff18392
2020-08-12 02:02:40 +06:00
Stylogey
5dd7ed0bc3
sdm660-common: rootdir: lower backround cpuset
Change-Id: Ice155da81b9cd63e5bd28c16b11b858f37d87dfa
2020-08-12 02:02:40 +06:00
Stylogey
ae3c954326
sdm660-common: rootdir: use lower screen-off cpus
Change-Id: I5eae018ec4e80b00e37dc9ff8cd356bc2cbb9280
2020-08-12 02:02:40 +06:00
Stylogey
177f2057df
sdm660-common: rootdir: import unmodified init.qcom.post_boot.sh
* from LA.UM.8.2.r1-06500-sdm660.0

Change-Id: Ibc72899b0ceeabb07a2828102b37b874ae3a3c80
2020-08-12 02:02:40 +06:00
Matthew Leung
0ca316c45c
post_boot: Update htbp for Chitwan CDP
Change-Id: I3d20b83e3df9a8f47d34955e9024c12b58fbba26
2020-08-12 02:02:37 +06:00
Santosh Mardi
25736871b4
post_boot: update L3 nodes for lagoon target
Update L3 dcvs node paths used for configurations
in lagoon target.

Change-Id: Ifcdcf3343f63aaee10269893dfea90e71199d0f6
2020-08-12 02:02:37 +06:00
Varun Garg
a675cfe4f7
sdm660: post_boot: Update memlat polling to 8 ms on Saipan
Update the polling_interval to 8 ms for all memlat
devices to inline with 4ms tick

Change-Id: I10182bae1771d6f3d75e92a63a8b63025f46bd2c
2020-08-12 02:02:37 +06:00
Sanjeev Jakkilinki
33ce327e4b
sdm660: init.qcom.post_boot: initialize the tuning settings for lagoon
perf/power tuning settings related sched and dcvs,lpm disabled

Change-Id: I2ba17b63e5294ec8c1a373a0e47df89589ea0965
2020-08-12 02:02:36 +06:00
Shashi Shekar Shankar
a3f6a8bf78
sdm660: post_boot: Update post_boot for sdm660 K4.14 upgrade
Post_boot changes for sdm660 K4.14 upgrade.

Change-Id: Ib891f1ca606cb686d38bba5f7fe101d395d8b6c3
CRs-Fixed: 2611111
2020-08-12 02:02:36 +06:00
Ravikanth Tuniki
7146cde30b
sdm660: post_boot: update hbtp platform for sm8150+sdxprairie V3
Add support to launch hbtp on subtype 3 / sm8150+sdxprairie V3.

Change-Id: Iead67c4d77538a97cfee086b00f9a55ec4ecee81
2020-08-12 02:02:36 +06:00
Subhadra Jagadeesan
fac52b4226
init.qcom.post_boot: exclude CPUs 0-3 from isolation
- SnapdragonVoiceActivation feature for Far Field Voice version
affines its threads to 0-3 CPUs and so prevent them from isolation
for qcs605 target

Change-Id: I09ef5cc97ee245133315edc0821f3a2afc54e99b
2020-02-27 17:01:41 +01:00
Patrick Daly
20bc13de0e
post_boot: Ensure SLAB_STORE_USER is disabled for zram kmem_caches
ZRAM compression uses the linux slub allocator its internal data
structures. If these internal data structure consume a lot of memory,
ZRAM compression may increase memory usage, rather than decrease it
as expected. Decrease the chance of this occuring by ensuring the
SLAB_STORE_USER debug option is disabled.

Change-Id: I4684feda94b7bebacb6218b7f979c95771b0ee10
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
2020-02-27 17:01:41 +01:00
Divyanand Rangu
a293622e25
post_boot: Update nodes of read_ahead_kb configs
check populated dm-* nodes and Update read_ahead_kb
values to them. This is needed because on targets
with verity disabled dm-0 to dm-6 are populated,
while on enabled targets dm-3 to dm-6 are populated.

Change-Id: Ia4e262d7487120695db53b562b5764598fd40a87
2020-02-27 17:01:40 +01:00
Venkata Rao Kakani
26f2e84b81
post_boot: change ddr freq from fixed to capped level.
Change-Id: I2e6b2112c54e019e72271bf34e22edb1a36488ea
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
2020-02-27 17:01:40 +01:00
zljing
b0de734ae5
post_boot: update zram setting avoid 32 bit overflow.
Change-Id: I790b5ef9fcf091e4af3ebaaac3341b8d4050c47e
2020-02-27 17:01:40 +01:00
Amir Vajid
babc7f8aae
sdm660: post_boot: update memlat polling to 8 ms on kona
Update the polling_interval to 8 ms for all memlat
devices on kona.

Change-Id: Ia097e6e0a6aa3b761978e5df60c868a7f1d19401
2020-02-27 17:01:37 +01:00
Dyneteve
6917d046fa
sdm660-common: rootdir: Stop configuring read ahead from post_boot
Change-Id: I7ce2665c5cb78d8beb9e20cd296d32a520f6bbf4
2020-02-27 17:01:34 +01:00
Rama Aparna Mallavarapu
ccfe87ba96
sdm660: post_boot: Update hi-speed freq for rev 2.1
Update kona rev 2.1 hi speed frequencies for dcvs.

Change-Id: I00ed9c7894600c20e7025f2c7ad2a197fb7d669d
2020-01-28 16:59:18 +01:00
Venkata Rao Kakani
1daf8c63a5
sdm660: post_boot: update frequencies based on sku feature id.
Change-Id: Iec2ceb2afc26498daeec45722f6bd76f13e66553
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
2020-01-28 16:59:18 +01:00
Libo Jin
b25e24b6a7
sdm660: Perf:increase touch boost duration
CRs-Fixed: 2586942
Change-Id: If984001dad652b82807553c08a6a54b6ce095e9a
2020-01-28 16:59:18 +01:00
Shailendra Gupta
ae0aeaa6f8
sdm660: common: Bring-Up changes for newer upgrade.
Change-Id: I027266c31b83dc7f45dc10dbfe2fc2a5856defba
2020-01-28 16:59:18 +01:00
Vijayakumar Badiger
c910661f7d
sdm660. update sku frequency for SA8155P
Change-Id: I9b36fc87fa9f04c810a6eadea0367a380c9cbf24
2020-01-28 16:59:18 +01:00
Lingutla Chandrasekhar
e14c92df55
sdm660: init.qcom.post_boot: Update scheduler settings for lito
Update scheduler settings for lito.

Change-Id: If7e2b9a3c6e0b930d6438b92ef3f3d10e9c4de5f
2020-01-28 16:59:18 +01:00
Raghavendra Kakarla
5626ca5359
sdm660: init.qcom.post_boot: enable LPMs for bengal
Enable low power modes and core_ctl for the bengal.

Change-Id: Ie6784fdacec66020c19fa67d1c3a095af9745f21
2020-01-28 16:59:17 +01:00
Max Weffers
12b0f38bd2
sdm660-common: Update Perf stack from Jasmine 10 Release
jasmine-user-10-QKQ1.190910.002-V11.0.4.0.QDIMIXM-release-keys


Change-Id: Ib646bbaf0678ec7597792afc63373c93e47be2e4
2020-01-14 18:18:15 +01:00
Author Nitesh Kataria
9f7368611b
post_boot : Syntax fix
Change-Id: I048fc014976ca16dfe94d1a972ecec7fca35e015
Signed-off-by: Nitesh Kataria <nkataria@codeaurora.org>
2019-12-16 18:31:38 +01:00
Rajashekar Adi
210e379088
Power: post boot: Enable conservative pl for atoll
Enable sched_conservative_pl for atoll

Change-Id: I8526c2703d50693041dca516fa0bd97d7b8a43f2
2019-12-16 18:31:25 +01:00
richagar
3ac15ebd13
Added bengal to init.qcom.post_boot.sh
Added bengal to post_boot to enable prop
vendor.post_boot.parsed

Change-Id: If1a2dcef4d7999a0b93574a24a212cd339cea76e
2019-12-16 18:29:06 +01:00
Vijayakumar Badiger
3882e725f8
add sdmshrike sku changes
Change-Id: I4b30e3600858eabc488ca13f80cff457d0e80b59
2019-12-16 18:25:11 +01:00
Kishore Sri venkata Ganesh Bolisetty
484c827034
post_boot: update silver Fmin to 691M on kona
update silver Fmin to 691M on kona.

Change-Id: Ibbe72b27ddb03001235ed67c2a4ce9d2d53da4a0
2019-12-16 18:24:16 +01:00
Sanjeev Jakkilinki
6d9aa9ce2c
init.qcom.post_boot: initialize the tuning settings for bengal
perf/power tuning settings related sched and dcvs.

Change-Id: Ife99c2a6e5e6160851a11c44f053aae445665faf
2019-12-16 18:23:47 +01:00
Tharun Kumar Merugu
4cfd0a8294
init.qcom.post_boot.sh: Enable cdspl3 governor for atoll
CDSP subsytem uses rpmsg to send CPU L3 clock requests via cdspl3
governor. Use cdspl3 as the governor for CDSP L3 devfreq node for
serving CDSP L3 clock requests.

Change-Id: I49ad421811affa82458abd34d0a0851e1f1fc423
2019-12-16 18:22:45 +01:00
Author Nitesh Kataria
af748b5a6f
post_boot : Add cases for sdmshrike
Adding cases for sdmshrike to enable clocks
for APPS Power collapse.

Change-Id: I089556c1098d60022bdb3de1ec2024858f0d3b30
Signed-off-by: Nitesh Kataria <nkataria@codeaurora.org>
2019-12-16 18:22:12 +01:00
Vijay Dandiga
b68ab8e7a9
post_boot: Set zRam disk size to 50% of RAM size.
Set zRam disk size to 50% of RAM size for non-Go devices.

Change-Id: Ifd015f7827db8ed9388833ec09627898e20fd209
2019-12-16 18:18:06 +01:00
Max Weffers
98004138f5
sdm660: post_boot: checkout init.post.boot from LA.UM.8.2.r1-04800-sdm660.0
Change-Id: I8c6f512f20dd42c99cdb19597ced2013c11bd9bf
2019-11-01 12:18:13 +01:00
Biao Long
a8ba99ec61
sdm660: init.qcom.post_boot: initialize the tuning settings for NPU bwmon
Initialize the tuning parameters for NPU* BWMON monitoring the
traffic from NPU to DDR.

Change-Id: Ic0b0401cac87b25e37ef7fd44ae3dbe8508036d8
2019-11-01 11:48:12 +01:00