Commit Graph

554 Commits

Author SHA1 Message Date
mikairyuu
701340b8e9 Revert "sm7250-common: powerhint: return all the nodes"
people ain't that keen on using other kernels anyway so let's not spam anything after all
2022-08-22 15:07:07 +03:00
mikairyuu
a914903ade sm7250-common: Switch Health HAL to AIDL 2022-08-22 15:06:45 +03:00
Akash Srivastava
f202cb1387 sm7250-common: Switch to AIDL WIFI HAL 2022-08-21 20:28:21 +03:00
tarsin
79ad3d7105 sm7250-common: Make shim for com.mi.node.watermark.so
Signed-off-by: Kujou Yuko <i@779.moe>
Change-Id: I47fea33432692a7a76d71db91676cb3a58ac19c7
2022-08-21 19:30:11 +03:00
mikairyuu
6268953703 sm7250-common: Build Pixel Thermal HAL 2022-08-20 15:52:26 +03:00
mikairyuu
5d983c08ba sm7250-common: Uprev audio HAL to 7.1 2022-08-20 15:52:26 +03:00
mikairyuu
ad4c09fa85 sm7250-common: overlays: Enable new network UI 2022-08-19 20:54:55 +03:00
mikairyuu
beba601e2f sm7250-common: overlays: Remove obsolete overlays 2022-08-19 20:53:25 +03:00
Daeho Jeong
fa9190778d sm7250-common: Disable powerhint for F2FS gc_urgent mode
Disable the powerhint for F2FS gc_urgent mode, since we are going to
replace this with the smart idle maintenance service.

Test: turn on/off the screen & check /sys/fs/f2fs/dm-*/gc_urgent
Bug: 214430685
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Change-Id: I5691ce28d24fca80290fdd6b8f4920d4c95e68d7
2022-08-19 20:53:25 +03:00
Kujou Yuko
2588d66aa4 sm7250-common: Enable Audio Support for Hearing Aids central support
Signed-off-by: Kujou Yuko <i@779.moe>
Signed-off-by: Pranav Temkar <pranavtemkar@gmail.com>
Change-Id: I792a9715f17c1f17fb8b9a524cabed901d3e6f4a
2022-08-19 20:53:25 +03:00
Sal Savage
ac68db8db5 sm7250-common: Enable bluetooth profiles
Bug: 217448211
Test: make -j

Signed-off-by: Pranav Temkar <pranavtemkar@gmail.com>
Change-Id: I0d06b46910e42346653bea3484636f4129592ce3
2022-08-19 18:58:28 +03:00
Sal Savage
e5778e2b8e sm7250-common: Set default the Bluetooth class of device
The class of device is a string with a list of uint8t values:
90,2,12

The meaning is as follows:
{Service Field, Major class, Minor class}

Service Field: 0x5A -> 90
    Bit 17: Networking
    Bit 19: Capturing
    Bit 20: Object Transfer
    Bit 22: Telephony
MAJOR_CLASS: 0x02 -> 2 (Phone)
MINOR_CLASS: 0x0C -> 12 (Smart Phone)

Bug: 217452259
Test: make -j; -- check that bluetooth.device.class_of_device is
correct

Signed-off-by: Pranav Temkar <pranavtemkar@gmail.com>
Change-Id: I07e83ca352ff969be0e53a0f63b6c940b6c34dfb
2022-08-19 18:52:15 +03:00
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