Kyle Lin
4eab6c4c25
sm6250-common: adjust thread count and cpuset after setup wizard
...
Test: Forrest appinstall test
Bug: 149395059
Change-Id: I9c5db865c616480b0f00629aba54e02b97bc4674
2020-10-21 21:16:17 +03:00
Kyle Lin
792209f2fc
sm6250-common: adjust thread count and cpuset after setup wizard
...
Test: Forrest appinstall test
Bug: 149395059
Change-Id: Ia3f09b817daf36a3ac81f871675fbb1cbd2f6bb5
2020-10-21 21:16:16 +03:00
Karthik Gopalan
2834287e9f
sm6250-common: Set lmkd.reinit property from vendor init
...
Set lmkd.reinit property to 1. This will trigger
reinit of lmkd service.
CRs-Fixed: 2692843
Change-Id: Ib946b01ca1dc013f0148ca702e4d550cde32b6c2
2020-10-21 21:16:15 +03:00
Hazari PraveenKumar
ffd61c0fb5
sm6250-common: Disable VSync for CPU rendered apps
...
Choreographer VSync has some performance impact for CPU rendered apps
as the app has to wait for VSync to start a new frame draw. When the
frame draw time exceeds one VSync, this has a direct impact on the FPS.
"debug.cpurend.vsync" property controls the VSync for CPU rendered apps.
Disable VSync for CPU rendered app, by setting this property to false.
Change-Id: I93cfa7c588f1ab80803940c8059073075fd49506
Signed-off-by: Akash <akashniki@gmail.com>
Signed-off-by: DarkDampSquib <andrin.geiger1998@gmail.com>
2020-10-21 21:16:14 +03:00
David Sehr
65dd6eb54b
sm6250-common: Use dex2oat64
...
Enable dex2oat64 use.
Bug: 153380900
Test: boot and install an application
Change-Id: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
(cherry picked from commit 126f03be80f57a8a0411842011152d9381589b78)
Merged-In: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
2020-10-21 21:15:55 +03:00
Lucchetto
0f78466d95
sm6250-common: switch to OSS vibrator hal
2020-10-21 21:15:18 +03:00
Volodymyr Zhdanov
ff6109d180
[BLOBS] sm6250-common: remove prebuilt vibrator blobs
2020-10-21 21:14:37 +03:00
Nick C
8097450e77
sm6250-common: use sunfish R fp
2020-10-11 13:23:10 +00:00
Nick C
aac7844d77
sm6250-common: lable correct power hal
2020-10-11 13:23:10 +00:00
Danny Lin
d1427534f2
sm6250-common: props: Switch Skia rendering backend to Vulkan
...
This results in slightly lower frame times in most UiBench tests:
Skia + Adreno OpenGL:
Score Jank Frames Bad Frames Avg Frame Time (ms)
Overdraw Test 1 0.01% 0.06% 3.16
Edit Text Input 5 0.13% 4.99% 7.79
High-hitrate text render 1 0.01% 0.51% 6.81
Image List View Fling 1 0.01% 0.32% 6.73
Bitmap Upload Test 0 0.01% 0.99% 9.38
Low-hitrate text render 1 0.01% 0.49% 7.08
List View Fling 23 0.12% 0.78% 6.61
Shadow Grid Fling 16 0.10% 0.94% 7.32
Skia + Adreno Vulkan:
Score Jank Frames Bad Frames Avg Frame Time (ms)
Overdraw Test 1 0.01% 0.06% 2.94
Edit Text Input 6 0.13% 4.60% 8.00
High-hitrate text render 1 0.01% 0.28% 6.29
Image List View Fling 1 0.01% 0.36% 5.96
Bitmap Upload Test 1 0.01% 0.15% 9.25
Low-hitrate text render 1 0.01% 0.33% 6.71
List View Fling 16 0.09% 2.70% 6.62
Shadow Grid Fling 11 0.07% 0.49% 6.98
2020-10-11 13:23:01 +00:00
Volodymyr Zhdanov
7a563a04f8
sm6250-common: increase statusbar height a bit
...
* I want punch hole to be centered on statubar
2020-10-11 13:16:27 +00:00
kerneltoast
9be8f7a845
sm6250-common: force tripple frame buffers
2020-10-11 13:16:27 +00:00
Nick C
6579b8be9a
sm6250-common: remove Snap
2020-10-11 13:16:27 +00:00
baalajimaestro
1bc3162116
sm6250-common: remove Camera2
...
Just give users their choice to install whatever they want
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2020-10-11 13:16:27 +00:00
Jaegeuk Kim
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
Volodymyr Zhdanov
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
Rick Yiu
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
Ady Abraham
a30159e7e4
sm6250-common: add surface flinger idle timer value
...
Set SurfaceFlinger idle timer to 50ms.
Test: flashall the build and observe idle timer value
Bug: 126270036
Change-Id: I26a0b3f9f1efedd05f164cdda1d6a1bbd07ba7e5
2020-10-11 13:16:27 +00:00
maxwen
54f88777cc
sm6250-common: Update overlay to hide sRGB toggle
...
* Now expected as an array in Settings package
Change-Id: I92a56abb0fc1379e4482d1889d04d8db6a14ea2b
2020-10-11 13:16:27 +00:00
dianlujitao
8d384409a6
sm6250-common: Hide sRGB toggle in developer options
...
* This is only available on Nexus/Pixel devices, and we have our own
implementation in livedisplay.
Change-Id: I8343e4986d7dd8413bd8d36dfad0309a4c08026e
2020-10-11 13:16:27 +00:00
Christine Franks
7a9ebf10bc
sm6250-common: Add config value for a11y color mode
...
Accessibility transforms require a specific color mode that is not
always available for the user to select.
Bug: 130376719
Test: atest com.google.android.config.pts
Change-Id: Ia3211d5aa6e117c5361dea44d944064b23260a81
2020-10-11 13:16:27 +00:00
Chia-I Wu
f417b85558
sm6250-common: Remove COLOR_MODE_SATURATED
...
It is replaced by COLOR_MODE_AUTOMATIC.
Bug: 110524699
Test: Settings > Display > Advanced > Colors
Change-Id: I116b50fde456a24c90fd83969cd2fc30f84947ee
2020-10-11 13:16:27 +00:00
Gil
e2f8f06f05
sm6250-common: Enable adaptive color mode
...
Enable Adaptive color mode setting.
Bug: 143513730
Test: Boot test and measure the adaptive color value
Change-Id: I969ec6c3cb1d092a33c0e3a028ff38ad7115dfe2
2020-10-11 13:16:27 +00:00
Minchan Kim
b5823f8387
sm6250-common: Enable zram writeback job scheduler
...
Bug: 140882488
Change-Id: I9deffcbe25474837d5167024297d06601530aae5
Signed-off-by: Minchan Kim <minchan@google.com>
2020-10-11 13:16:27 +00:00
Minchan Kim
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
Jenhao Chen
f1f52fcd90
sm6250-common: increase ZRAM to 2GB
...
Test: TH
bug: 119988524
Change-Id: I086be89346e8dae32b06188861a6f0c9fe1d768f
2020-10-11 13:16:27 +00:00
Wei Wang
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
Sushil Chauhan
09d22a08db
sm6250-common: Enable UBWC aligned framebuffer
...
Enable UBWC aligned allocation for framebuffer on sm6250 target.
Change-Id: Ia4fede80e73c8557fb681f4d22cc0e2b0ed2570d
2020-10-11 13:16:27 +00:00
Sushil Chauhan
d0ea5c7bd9
sm6250-common: Enable H/W Composition
...
Change-Id: I9f4c5435d51d1dfaead1c11208059e7a6f922cbb
Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
2020-10-11 13:16:26 +00:00
Peiyong Lin
914f312f8f
sm6250-common: Turn on GPU protected composition.
...
BUG: b/130435822, b/130442144
Test: Verified with Youtube
Change-Id: I782b6db6150845c211c991b2587cdb7c6421bc82
2020-10-11 13:16:08 +00:00
Chia-I Wu
198570a213
sm6250-common: Override config_availableColorModes
...
List NATURAL, BOOSTED, and SATURATED.
Bug: 73824924
Test: atest PtsConfigTestCases
Change-Id: I5e57c4940b5fc32dc43684bb6e58b7af1097a4df
2020-10-11 13:16:08 +00:00
Nick C
8840019c30
sm6250-common: enable adaptive sleep
2020-10-11 13:16:08 +00:00
Bruno Martins
fb9cbd50bf
sm6250-common: Update deps and Soong namespaces to account for new repo
...
Consumer IR HAL now lives in hardware/xiaomi.
Change-Id: I90ef81cacfd7e236cef32b6b7ab1252ecc950bbc
2020-10-11 13:16:08 +00:00
Volodymyr Zhdanov
acbe10758c
sm6250-common: Build common consumer IR HAL
2020-10-11 13:16:08 +00:00
Jesse Chan
a36120780a
power-libperfmgr: add a NOT_INTERACTIVE hint for setInteractive
...
Change-Id: I0797c47e0b1d8bfee644f0028eaabd7650e39913
Signed-off-by: Jesse Chan <jc@lineageos.org>
2020-10-11 13:16:08 +00:00
Jesse Chan
dad7775864
power-libperfmgr: add an updateHint function for simple hint ops
...
Change-Id: I2e64f23b5435f7262b36acd52916b5ac795dd106
2020-10-11 13:16:08 +00:00
Nick C
feee933b2e
sm6250-common: switch to proton clang
2020-10-11 13:16:08 +00:00
Nick C
79c98138a8
sm6250-common: KERNEL_SUPPORTS_LLVM_TOOLS
2020-10-11 13:16:08 +00:00
Nick C
55e3524d59
sm6250-common: enable zygote preforking
2020-10-11 13:16:08 +00:00
Henrique Silva
a5f01e9cf3
sm6250-common: releasetools: Fix incrementals generation
2020-09-04 17:23:47 +03:00
jhenrique09
1e510f1af4
sm6250-common: add safailnet
...
Signed-off-by: 4PERTURE <slicey2001@gmail.com>
2020-09-04 17:23:47 +03:00
Nick C
d7f84dad36
sm6250-common: lineage => pe
2020-09-04 17:23:47 +03:00
Astile
ae53fed5e2
sm6250-common: import hwui properties from stock
...
> imported from https://github.com/Astile97/dummy_device_xiaomi_curtana
>miui version :11.0.10.0 GLOBAL
2020-09-04 17:23:47 +03:00
Marc Bourgoin
0f64df3dba
sm6250-common: overlay: Increase vibration pattern strength
...
Current values from Marlin are really weak
Change-Id: I01140ec00de8c8f1d67e620e6f39df6ac624394d
2020-09-04 17:23:47 +03:00
Vasishath Kaushal
20ba6dccfc
sm6250-common: overlay: Use vibration pattern from pixel 2
...
Change-Id: I561d7dbc05de46046212e8d2071b7d3496bb63b1
Signed-off-by: Akhil Narang <akhilnarang.1999@gmail.com>
Signed-off-by: Anunay Maheshwari <anunaym14@gmail.com>
2020-09-04 17:23:47 +03:00
Subhajeet Muhuri
a742505a8b
sm6250-common: Add more defaults
2020-09-04 17:23:47 +03:00
Cosme Domínguez Díaz
3216ca5454
sm6250-common: overlay: Set brightness & screen timeout defaults
...
Signed-off-by: Anunay Maheshwari <anunaym14@gmail.com>
2020-09-04 17:23:47 +03:00
Cosme Domínguez Díaz
b7d1c5d356
sm6250-common: overlay: Disable UI touch sounds by default
...
Signed-off-by: Anunay Maheshwari <anunaym14@gmail.com>
2020-09-04 17:23:47 +03:00
Volodymyr Zhdanov
77a9a70da2
Revert "sm6250-common: symlink logical partitions in recovery"
...
* Not needed it seems
This reverts commit ac2d5035c486f17792e9333bef99a476f5880996.
2020-09-04 17:23:47 +03:00
razorloves
537a8bbcc7
sm6250-common: Lower reserved space on system partition
...
Reserving more than 1.5gb sharply decreases free inodes, resulting
in gapps install/restore issues.
Change-Id: I16c0c649b7e06aea6203e34a81d0d0350b80588c
2020-09-04 17:23:47 +03:00