Commit Graph

25 Commits

Author SHA1 Message Date
e47fcb2fd0 sm6250-common: get back to default from long-standing VM tweaks
This patch removed the old writeout policy tune which was never touched since
2009. In the meantime, most of Android devices are equipped with over 4GB DRAM
and very fast flash storages like UFS, which becomes more like desktop or
servers in 2009. So, it'd be worth to go back to use the default kernel configs.

Bug: 136483670
Bug: 137190999
Bug: 152936751
Test: check value output
Change-Id: I1ebbf9f1f27a921103db51e96a50aadd6ec0dde8
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Signed-off-by: Martin Liu <liumartin@google.com>
2020-10-11 13:16:27 +00:00
8b15e1d876 sm6250-common: don't configure zram parameters with init.qcom.post_boot.sh
* let it use whatever is set in fstab
2020-10-11 13:16:27 +00:00
26805408b6 sm6250-common: set capacity margin after boot complete
Scheduler will use pure CFS before boot complete, and change to
EAS after boot complete, so set capacity margin here.

Bug: 153216544
Test: capacity margin set as expected
Change-Id: I0f76cb1112a37475422eb5866960dbd3db64ebc3
2020-10-11 13:16:27 +00:00
aad7cdd52e sm6250-common: Enable zram writeback
This reverts commit 57ffdb4625238708d4a517e771eea74349f12efe.

Bug: 140882488
Change-Id: I590277c95cb9eaf34ac84ef955628ecdbaf0c279
Signed-off-by: Minchan Kim <minchan@google.com>
2020-10-11 13:16:27 +00:00
f1f52fcd90 sm6250-common: increase ZRAM to 2GB
Test: TH
bug: 119988524
Change-Id: I086be89346e8dae32b06188861a6f0c9fe1d768f
2020-10-11 13:16:27 +00:00
f51fc562c4 sm6250-common: tune zram performance
-Switch to LZ4 for better overall performance
-Set max_comp_streams to num of cores since upstream also moves this to
percpu.
-Set page-cluster to 0 as the incremental cost of reading 1 page at a
time is negligible for zram

Bug: 38249616
Test: boot and run zram-perf showing better performance
Change-Id: I0b92b246d773db85aa03d033b2cecee54347cbd1
2020-10-11 13:16:27 +00:00
1e510f1af4 sm6250-common: add safailnet
Signed-off-by: 4PERTURE <slicey2001@gmail.com>
2020-09-04 17:23:47 +03:00
77a9a70da2 Revert "sm6250-common: symlink logical partitions in recovery"
* Not needed it seems

This reverts commit ac2d5035c4.
2020-09-04 17:23:47 +03:00
ecf1544b3b sm6250-common: Switch to sunfish cpuset setup
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
2020-08-31 11:14:31 +03:00
5fc42f464a sm6250-common: rootdir: Set missing permission for cpu-cpu-llcc-bw min_freq node 2020-08-31 11:14:31 +03:00
a1a49c6da8 sm6250-common: Init changes for pixel sched and libperfmgr
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
2020-08-31 11:14:31 +03:00
e112c80a6d sm6250-common: Enable display idle_state mechanism
Allows us to check the idle state of the display in order to use perf
hints to improve system performance.

Bug: 124470767
Test: Booted and cated the affected files
Change-Id: Ib22b5209c57725c50f3545c578af7b72e7f08322
2020-08-31 11:14:31 +03:00
8038668577 sm6250-common: Remove QTI perf blobs as we will use libperfmgr now
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
2020-08-31 11:14:31 +03:00
8068c2a96f sm6250-common: rootdir: include device specific rc file 2020-08-15 04:27:26 +03:00
17e4422f9f sm6250-common: rootdir: remove unused init.qti.ims.sh script
Change-Id: Ib00e2205b4490506718d9b4cbfa110d506448609
2020-07-23 13:05:39 +03:00
94d6264c9f sm6250-common: rootdir: correct wlan module name
Change-Id: I5d23fcc2938d34faaaf8b3403a0e766637dcf822
2020-07-16 02:06:16 +02:00
6bb8716037 sm6250-common: rootdir: refactor usb configuration 2020-07-16 02:19:31 +03:00
9668da7df5 sm6250-common: rootdir: remove unused parts of vendor init scripts 2020-07-16 02:12:12 +03:00
a270c01cc3 sm6250-common: rootdir: fix machine module name
Change-Id: I3b441bbb7312187124e001e971af9febb4a59c50
2020-07-15 22:13:11 +02:00
1ba07c1914 sm6250-common: rootdir: fix audio module names 2020-07-15 23:03:28 +03:00
91088f7df5 sm6250-common: rootdir: import vendor init scripts 2020-07-15 23:03:28 +03:00
ac2d5035c4 sm6250-common: symlink logical partitions in recovery 2020-07-15 23:03:28 +03:00
a1b7eaf9df sm6250-common: add recovery scripts
* wait for bootdevice
 * setup ADB
 * symlink logical partitions

Change-Id: I78bdab01eb24464ef9416f35ea8e3c50cfef7864
2020-07-15 23:03:28 +03:00
95ce303f90 sm6250-common: rootdir: add /boot to fstab
Build process errors out without this.

Traceback (most recent call last):
  File "build/make/tools/releasetools/ota_from_target_files", line 2455, in <module>
    main(sys.argv[1:])
  File "build/make/tools/releasetools/ota_from_target_files", line 2429, in main
    output_file=args[1])
  File "build/make/tools/releasetools/ota_from_target_files", line 1103, in WriteFullOTAPackage
    common.CheckSize(boot_img.data, "boot.img", target_info)
  File "/home/aicp-dev/rom/lineage-17.1/build/make/tools/releasetools/common.py", line 1190, in CheckSize
    p = info_dict["fstab"][mount_point]
KeyError: '/boot'

Change-Id: I30a396ea62e6e48420c0dd41533c156e90032929
2020-07-15 23:03:28 +03:00
f9271b3d25 sm6250-common: import fstab from stock 2020-07-15 23:03:28 +03:00