11 Commits

Author SHA1 Message Date
Sultanxda
0e9e5aa9d8
sm6250-common: Disable AUDIO_FEATURE_ENABLED_KPI_OPTIMIZE
We're not using perfd so this is useless.

Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
Change-Id: I3b436f3f747c6955335513a133da81d27a6fbf60
2021-09-09 18:46:27 +02:00
Albert I
d46af7f230
sm6250-common: Enable Codec2 input surface
* may improve performance with Codec2 decoding

Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: I222b1651daa0cfe51eb2d595897d2289f00dcf8c
2021-09-09 18:46:23 +02:00
Albert I
c45471638a
sm6250-common: Import QTI Codec2 HAL and switch to Codec2 by default
* Provides hardware-accelerated Codec2 decoding for most codecs

Signed-off-by: Albert I <kras@raphielgang.org>
[dereference23: Kang blobs from mojito]
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
Change-Id: Iefd3185390091a11adbd2497c8281f72c98e100e
2021-09-09 18:46:23 +02:00
Albert I
e313f8855a
sm6250-common: Set up display color compositions
* Switch to "Adaptive" mode and Display P3 color by default

* Use default color mode for Natural and Boosted

* Enable QDCM combined mode and disable factory mode

* Drop LiveDisplay's color mode support as it conflicts with AOSP display
  color adjustment

* Rest of configuration is kanged off Pixel's overlay

Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: Ib26033fe00a6cc1e8c7d8f93da417516e31a52e3
2021-09-09 18:46:22 +02:00
justinweng
98bc6d7dd7
sm6250-common: audio: Sync audio feature from coral
1. enforce 48KHz sampling rate at COPP for audio recording.
2. resize offload buffer to reduce power consumption.
3. enforce 24 bit width for offload playback and apply app_type 69940

Bug: 147027029
Test: build passed

Change-Id: Ie692746f4588b5706cbab7eddf5b6b7b8766a181
Signed-off-by: justinweng <justinweng@google.com>
2021-09-09 18:46:15 +02:00
Randall Huang
835a05445a
sm6250-common: Enable ZRAM-writeback job
This patch enables zram-writeback job. It will run idle marking
at 60m since the device is boot. After that, it will do first
writeback after 3hour to sweep initiallized cold pages out.
After that, it periodically write out every 24hour.

Bug: 117682284
Bug: 127185055
Test: confirm with manual testing

Signed-off-by: Randall Huang <huangrandall@google.com>
Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: I6b8f537faf2ffff1a93170aad763f2be4dcaba42
2021-09-09 18:46:09 +02:00
Alexander Winkowski
0d8f538cbf
sm6250-common: Add encryption props
* miatoll devices were launched with API level 29.

Link: https://source.android.com/security/encryption/metadata
Change-Id: I21a4e3760ca7b992f32df48f0ca5595d67f4a15b
2021-09-09 18:46:08 +02:00
David Sehr
179a6eb85e
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
2021-09-09 18:45:57 +02:00
Albert I
d3292ab6e6
sm6250-common: Decrease number of total call volume steps to 10
Signed-off-by: Albert I <kras@raphielgang.org>
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
Change-Id: Icf9f877415cd6242f27b248b6821bd3464790904
2021-09-09 18:45:57 +02:00
Albert I
b35cb65b48
sm6250-common: Remove MIUI packages from auxpackagelist
Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: Ic1a01044ce0f862e8d6e279b6f1a1f163e438931
2021-09-09 18:45:57 +02:00
Alexander Winkowski
28e76b69d4
sm6250-common: Initial build properties
* From curtana-user 11 RKQ1.200826.002 V12.0.4.0.RJWMIXM release-keys

Change-Id: I6898416bacc3ebde9938f9a9cd455d90e3dcef0a
2021-09-09 18:45:57 +02:00