Commit Graph

492 Commits

Author SHA1 Message Date
Josh Wu
79fba8b135 sm7250-common: Switch BtAudio to AIDL
Test: m
Bug: 203490261

Signed-off-by: Pranav Temkar <pranavtemkar@gmail.com>
Change-Id: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
Merged-In: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
2022-08-19 18:49:24 +03:00
mikairyuu
d7397d77ef [TEMP] Switch to mock thermal 2022-08-19 12:22:21 +03:00
mikairyuu
84b5c780ad [TEMP] Ignore neverallows 2022-08-19 12:22:21 +03:00
Etienne Ruffieux
a79fb6ac72 sm7250-common: Removed audio A2dp from common.mk
Bug: 220306859
Test: atest
Tag: #feature
Change-Id: I300369d36399ffb558b98bafc2478b872d09faba
2022-08-17 18:11:09 +03:00
Jiyong Park
d9ad9fa6cb sm7250-common: Remove ndk_platform backend. Use the ndk backend.
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.

Bug: 161456198
Test: m
Merged-In: I14a1c57bd06f1f2aa52491f779c7030d4de03547
Change-Id: I14a1c57bd06f1f2aa52491f779c7030d4de03547
2022-08-17 18:10:27 +03:00
Joey Huab
1d38427c4e sm7250-common: Remove gsi_keys
* Removed in b30a23cca2.
2022-08-17 18:10:23 +03:00
mikairyuu
1c6329d11f Revert "sm7250-common: props: enable charger suspend "
This reverts commit 1aa1652a9e.
2022-08-17 10:19:52 +03:00
Randall Huang
aed5f2d0ee sm7250-common: remove IO read_ahead_kb tune
If we set 2048KB ra value in the beginning of the
boot process, services initialized at this time would
keep 2048KB ra value even though we adjust the ra value
to 128KB after boot completion.

This may cause memory pressure.

Bug: 174700194
Signed-off-by: Randall Huang <huangrandall@google.com>
Change-Id: I97ee0ee9511eaada011f2634afd68d68cdca4570
2022-08-15 16:06:44 +03:00
mikairyuu
2ba766af98 sm7250-common: overlay: add missing data service config 2022-08-15 15:56:46 +03:00
mikairyuu
b8ced30a0d sm7250-common: overlay: update pinner values from redbull 2022-08-15 15:56:46 +03:00
James.cf Lin
4c11fbd318 sm7250-common: Set the device does not support RCS User Capability Exchange
Bug: 178239287
Test: build
Change-Id: I595cb214eae7ab1a5e5b861283b80ab447e81b9d
2022-08-15 15:24:36 +03:00
mikairyuu
1b77eea3bc sm7250-common: remove incorrect wifi overlays 2022-08-15 15:18:41 +03:00
Adithya R
ce1c312f2b Revert "sm7250-common: Disable unspecialized app process pool"
This reverts commit bb99f9e2a6.
2022-08-15 15:02:58 +03:00
mikairyuu
753abf2d14 Revert "sm7250-common: nuke dt2w node"
This reverts commit 576212d4ca.
2022-08-08 22:31:04 +03:00
Alex Naidis
a85e5f930a sm7250-common: wifi: enable QPower and Deep Sleep at the same time
* This enables Deep Sleep mode, additionally to QPower
* With this configuration, QPower manages the new Deep sleep mode
 -> Leads to amazing power savings
2022-08-08 11:54:32 +03:00
mikairyuu
a30140fef2 sm7250-common: configs: return battery thermal config 2022-08-06 11:59:26 +03:00
mikairyuu
1aa1652a9e sm7250-common: props: enable charger suspend 2022-08-05 00:28:32 +03:00
mikairyuu
c9e5e004c3 sm7250-common: props: enable mag filter 2022-08-05 00:14:03 +03:00
mikairyuu
30b72a4a84 sm7250-common: powerhint: return all the nodes
This will allow users to use any kernel they want
2022-08-04 08:48:50 +03:00
ghostrider-reborn
84ead77830 sm7250-common: props: Disable QTI perf lock usage in camera HAL
we're not using perf
2022-08-03 20:38:24 +03:00
mikairyuu
e3b00395fc Revert "sm7250-common: rootdir: provide fstab.qcom"
This reverts commit ef1eb99e5c.
2022-08-03 20:38:20 +03:00
johnmart19
f3644843d1 sm7250-common: Wi-Fi overlays: Update from Gourami 2022-07-24 10:42:16 +03:00
Adithya R
7a1045ff2c sm7250-common: Switch to dot product CPU variant
* monet:/ $ cat /proc/cpuinfo | grep -m 1 Features
   Features: fp asimd evtstrm aes pmull sha1 sha2 crc32
   atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp

 * From this, it's evident that our CPU (Snapdragon 765G)
   supports all the features of ARMv8.2-DotProd [1].
   Moreover AOSP sets this arch variant in their generic
   cortex-a55 ART target as well [2]. This should unlock
   some optimizations in different code paths.

[1]: https://en.wikichip.org/wiki/arm/armv8#ARMv8_Extensions_and_Processor_Features
[2]: https://android.googlesource.com/device/generic/art/+/refs/heads/master/armv8_cortex_a55/BoardConfig.mk#23

Change-Id: I484bb2bcc181c62e29c04bc6e467e5edea8ac0d8
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2022-07-24 10:11:00 +03:00
Martin Liu
82a7028f8d sm7250-common: set readahead_size_kb=128 to vendor, product , system_ext, system and userdata
To avoid memory pressure

Bug: 181567573
Test: check readahead size
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I0ef6456a96ef923fe681112560d2f49c514ff529
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2022-07-23 18:27:53 +03:00
mikairyuu
7ec4b192a6 sm7250-common: revert all Vulkan 2022-07-23 18:27:53 +03:00
naveenjohnsonv
cae07f6dd3 sm7250-common: overlay: add config and nodes for Smart charging 2022-07-23 18:27:51 +03:00
xSylla
ef1eb99e5c sm7250-common: rootdir: provide fstab.qcom
* Move from fstab.default to fstab.qcom for better compatibility
* Xiaomi hardcode androidboot.fstab_suffix=default in bootloader so let's force load qcom
* Also remove fstab.emmc and recovery.fstab as they're not used
* Inline fstab with sm8250
* Move qcom recovery init script to Android.bp
2022-07-23 18:25:02 +03:00
mikairyuu
35caf38ca0 sm7250-common: manifest: bump vendor.qti.hardware.radio.lpa to 1.2 2022-07-23 18:20:36 +03:00
mikairyuu
03afbcc706 sm7250-common: tweak wcnss config a bit 2022-07-23 18:20:29 +03:00
Alexander Koskovich
082c79a151 sm7250-common: props: Disable QCOM system daemon
* For factory use only and has real performance costs.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Pranav Temkar <pranavtemkar@gmail.com>
Change-Id: I2d25c28c2ba146fa4464cb49f02ead6a6d787b48
2022-07-17 11:54:56 +03:00
mikairyuu
0e1341faeb sm7250-common: clean parts remains 2022-07-17 11:20:02 +03:00
aswin7469
f11ba4a817 sm7250-common: Enable all codec2 components with their normal ranks
* remove OMX components also while at it

Signed-off-by: aswin7469 <aswinas@pixysos.com>
2022-07-17 10:46:38 +03:00
mikairyuu
efe8bad79f sm7250-common: props: add ART props from redbull 2022-07-17 10:40:27 +03:00
mikairyuu
0d121ce7b6 sm7250-common: props: set LMKD ram prop 2022-07-16 19:52:23 +03:00
Albert I
e4e88dd0a3 sm7250-common: Import QTI Codec2 HAL
* Enable Codec2 input surface
* Move QTI Codec2 media_codecs to where they actually belong
* Provides hardware-accelerated Codec2 decoding for most codecs

Signed-off-by: Albert I <kras@raphielgang.org>
2022-07-16 19:48:56 +03:00
mikairyuu
88b6c0ec4c sm7250-common: props: add media props 2022-07-15 15:10:17 +03:00
mikairyuu
b509a4a749 sm7250-common: rootdir: sync memlat values with redbull 2022-07-15 15:01:25 +03:00
Jabiyeff
3559a4be45 sm7250-common: prop: Force disable iorapd
* Its eating more RAM and slow down device
* Thanks for CAFEBABE find this
* Being removed for A13
2022-07-11 10:42:36 +03:00
mikairyuu
d390732e14 sm7250-common: sync some properties with stock 2022-07-10 17:27:50 +03:00
mikairyuu
576212d4ca sm7250-common: nuke dt2w node 2022-07-09 19:34:28 +10:00
mikairyuu
258b117bf3 sm7250-common: rootdir: update to LA.UM.9.12.1.r1-01900-SMxx50.QSSI12.0
*also nuke cpuset from post_boot since we do that in init.qcom.power.rc and kang cpusets from redfin
2022-07-09 19:34:28 +10:00
mikairyuu
2be1c7f5f6 sm7250-common: Kang netmgrd and rmnet props from redbull 2022-07-09 19:34:28 +10:00
mikairyuu
b8dbd2e1e8 sm7250-common: Bump FCM com.qualcomm.qti.uceservice to 2.3 2022-06-29 18:06:34 +10:00
mikairyuu
fad1fdd33a Revert "sm7250-common: Nuke FM radio"
Turns out people still use it
2022-06-24 00:33:24 +10:00
Alexander Koskovich
b70f5f45af sm7250-common: Enable LLVM integrated assembler
* Disabled by default even with LLVM=1, but this is
   another GCC dependency we can remove. Google has
   been doing this for a while now.

   https://android.googlesource.com/kernel/msm/+/b009f0a1a

Change-Id: I1ca23607682299182da0a6e14594ba2e2de00a4a
2022-06-22 12:12:30 +10:00
etancohen
ae02241107 sm7250-common: Declare WiFi Aware support to WiFi HAL
* The Wi-Fi Aware feature added in Android 8.0 enables
   supporting devices to discover, connect, and range
   (added in Android 9) to one another directly using
   the Wi-Fi Aware protocol without internet or cellular
   network access.

 * This feature, built upon the Wi-Fi Alliance (WFA) Wi-Fi
   Aware specification (versions 2.0 and 3.0), allows easy
   sharing of high-throughput data among trusted devices
   and apps that are otherwise off-network.

   https://source.android.com/devices/tech/connect/wifi-aware

Change-Id: I18ff20e7466b8e8fd598381b730fb7db391e9ad4
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-20 18:53:41 +10:00
mikairyuu
acca122455 sm7250-common: sepolicy: resolve some denials 2022-06-20 18:53:30 +10:00
KakatkarAkshay
8e014c476a sm7250-common: Update blobs from LA.UM.9.12.r1-14200.02-SMxx50.QSSI12.0
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2022-06-20 15:13:31 +10:00
Subbaraman Narayanamurthy
ccaf40fbc3 sm7250-common: Add QTI health implementation
Add QTI health implementation so that it waits for battery power
supply for a max timeout of 5 seconds. This is to ensure by the
time health HAL service starts, battery power supply device is
available. Without this, health HAL couldn't find battery power
supply sometimes because of the time taken for battery charger
driver to probe on platforms where it can happen only after the
remote subsytem is bought out of reset.
2022-06-20 15:01:41 +10:00
mikairyuu
43106bb971 sm7250-common: props: sync display prop with redbull 2022-06-17 22:32:09 +10:00