Pranav Vashi
437b5437c1
sm6150-common: Enable memcg on boot
...
Change-Id: I39707749b8df4505488e0e59667445ba1dd99790
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-12-19 08:47:59 +08:00
itsshashanksp
af531167ac
sm6150-common: Cleanup Kernel
...
Signed-off-by: Shashank Patil <9945shashank@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-12-19 08:25:21 +08:00
itsshashanksp
26fc0b9dd8
sm6150-common: Compile kernel with AOSP clang version 19.0.0
...
Signed-off-by: Shashank Patil <9945shashank@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-12-19 08:25:21 +08:00
itsshashanksp
9e07139915
sm6150-common: memory: Enable SVELTE memory configuration
...
Signed-off-by: Shashank Patil <9945shashank@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-12-19 08:25:21 +08:00
itsshashanksp
3ee158f846
sm6150-common: Include kernel dtb.img
...
Signed-off-by: Shashank Patil <9945shashank@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-12-19 08:25:21 +08:00
itsshashanksp
ac9a7f1d03
sm6150-common: Build kernel with LLVM tools
...
Signed-off-by: Shashank Patil <9945shashank@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-12-19 08:25:21 +08:00
basamaryan
c7c9c18660
sm6150-common: Drop TARGET_KERNEL_CONFIG
...
Change-Id: Ic6401b4f5a33ff6ff2881705f51b7e4c57eaa172
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-12-19 08:25:21 +08:00
basamaryan
18f0fdc582
sm6150-common: Enable anti_flicker by default
...
Change-Id: Ifc93157308f57ca0062f61347d158ebc96db912b
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
Panchajanya1999
1a9e79d0ad
sm6150-common: fstab: Support F2FS compressions and garbage collector
...
Partially based on Pixel 6 fstab[1] and personal
recommendations.
F2FS Compression requires kernel support too.
[1]: https://android.googlesource.com/device/google/gs101/+/refs/heads/android12-d1-s4-release/conf/fstab.gs101#20
Change-Id: I319fa4033911e89160308535b626c978d7269805
Signed-off-by: Panchajanya1999 <panchajanya@azure-dev.live>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
John Galt
4e93188399
sm6150-common: Switch to LZ4 for EROFS
...
lz4hc has a higher compression ratio, but extends build time significantly
for no decompress gains. Additionally, testing on sm8150 + lz4 1.9.4
showed larger decompress gains on lz4 than lz4hc despite the hair-splitting
results on v1.9.0.
Change-Id: Icb38aea5f8116dbf316e8cff440994c4c76aeb59
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
Cyber Knight
0a9c1409ef
sm6150-common: Bump EROFS PCluster Size
...
- This sets the maximum "pcluster", or variable length block size, to 262144 bytes.
- The number must be a multiple of 4096.
- The description above was cited from [1].
[1]: https://source.android.com/docs/core/architecture/kernel/erofs#compression_tuning
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Change-Id: I9f07773fe0e3df88190a0ec2a3b4e82cd997914e
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
John Galt
dd9abe08a1
sm6150-common: Set EROFS pcluster size
...
- Used on cuttlefish as part of erofs switch. Benefits performance considerably..
Change-Id: I5b7aab7c479704aa7e23a2186ee43957c5cef6f0
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
Cyber Knight
5f8ce774dd
sm6150-common: Switch to EROFS for relevant partitions
...
- EROFS offers much more compressed partition sizes compared to the likes of ext4 albeit being read-only.
- We have switched to EROFS for /system, /system_ext, /product, /odm and /vendor.
- This patch was inspired by [1].
[1]: 2b52a00408
Change-Id: I438f6b88ede93fe7e5d581439ba630b5c5440a48
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
Arian
d61cf161d9
sm6150-common: Enable camera override format from reserved
...
This enables qcom additions for high framerate videos.
Change-Id: I572d35c6454711e838b2d0dba31551627d10f6e6
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08:00
basamaryan
3df5cd506c
sm6150-common: Commonize sepolicy
...
Taken from davinci, courbet, surya, sweet, and sweet2
Change-Id: Ie9bd3354d42a36e88004ee77343e0da5397a0eba
2024-10-15 13:25:09 -04:00
Bruno Martins
f3e31a2d6f
sm6150-common: Unset BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
...
Qualcomm targets can now build hermetic partitions.
Change-Id: I241105e01d85fea983b34846ca675666ac07541b
2024-06-24 03:00:42 +05:30
Sebastiano Barezzi
f36cf7a8a9
sm6150-common: Drop power AIDL extension
...
Change-Id: Ied144ee0f7840ab43499d43f3d0c64dfd414d99f
2024-06-22 17:27:09 +05:30
basamaryan
c41438c851
sm6150-common: Use the common Xiaomi FCM
...
Change-Id: I0ca395bc5c23c26e1546d3dd1839592530cc0e3f
2024-06-22 17:26:47 +05:30
Arian
8e3e871e8f
sm6150-common: Provide a static lib for power mode extension
...
Change-Id: I3e2cf17bf1e733838e9e18afdf3f888e814593dc
2024-05-19 18:07:53 +02:00
Bruno Martins
22ae2ff2f8
sm6150-common: Use common libqti-perfd-client and power-libperfmgr
...
Change-Id: I22d6b35c72629553817005deaefcae60abc72cfd
2024-05-19 18:07:53 +02:00
Nolen Johnson
104c4cf764
Revert "sm6150-common: Ship full recovery image"
...
This reverts commit 9f3a3d1e47
.
Reason for revert: Global now in vendor/lineage.
Change-Id: Ib5d19fe8e69e52c87454418f9e4a0c4bdf90e7b8
2024-04-29 22:11:00 +02:00
Adithya R
4229944346
sm6150-common: Set arch variant to armv8-2a-dotprod
...
karna:/ $ 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 732G/Kryo 470) 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
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Change-Id: I484bb2bcc181c62e29c04bc6e467e5edea8ac0d8
2024-04-10 13:26:49 -04:00
Philip Cuadra
14c17f47af
sm6150-common: Target arm v8.2a and A55
...
This will let bionic use 8.2a atomics which helps scudo locking.
Bug 189248298
Test: Presubmit
Change-Id: Ifa7a6d8386c8adcadb81cb762758b06a8164f700
2024-04-10 13:26:48 -04:00
Michael Bestas
f531fce60d
sm6150-common: Switch to android.hardware.usb@1.3-service.dual_role_usb
...
Change-Id: Ibd14f7d31dfaf41e040302eda3bc49f351deb618
2024-04-10 13:26:48 -04:00
Cole Faust
5702656b83
sm6150-common: Add BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
...
Qcom has issues that prevent it from working with a hermetic
partition build.
Bug: 205632228
Test: Presubmits
Change-Id: I490a29da38a6f68e7dd3650d8140cb11adaa8c7a
2024-04-10 13:26:47 -04:00
Michael Bestas
43490e9531
sm6150-common: Inherit common partition reserved sizes
...
Change-Id: I444ce2fcd37cdfa58d83a7e872dc547fb05a2a89
2024-04-10 13:26:47 -04:00
Bruno Martins
83a0bcef55
sm6150-common: Use the common device compatibility matrix from QCOM
...
Change-Id: I0c0f3ecddbe6d7b232cc0d13c78ca58094e4e720
2024-04-10 13:26:46 -04:00
Bruno Martins
95750a24bd
sm6150-common: Migrate to restructured sepolicy_vndr
...
The new folder structure now looks like this:
device/qcom/sepolicy_vndr
├─ legacy-um (meant for sdm845 until sm8350)
├─ sm8450
└─ sm8550
SEPolicy.mk placed in the root automatically redirects devices to the
proper subfolder.
Change-Id: I4ed1a06af779909d64172da294c4a99a3ae9ba0d
2024-04-10 13:26:45 -04:00
LuK1337
dfc3c8754a
sm6150-common: Don't limit {product,system,system_ext} inode count when !WITH_GMS
...
Change-Id: I458edd755fa436feadeb9f5fb2aecb0da797b0ef
2023-12-15 16:15:57 +00:00
Jarl-Penguin
9f3a3d1e47
sm6150-common: Ship full recovery image
...
* Ensure users are always on the latest recovery image
Signed-off-by: Jarl-Penguin <jarlpenguin@outlook.com>
Change-Id: I033ac4442622b737639d678993daf602a89f9bac
2023-12-15 14:06:43 +01:00
LuK1337
3150c6fef2
sm6150-common: Include vendor/debugfs.config
...
This disables the following kernel configs:
* CONFIG_DEBUG_FS
* CONFIG_PAGE_OWNER
Change-Id: Idbf74e3dee4dccff4708462271e79374e28449ae
2023-11-09 11:23:01 -05:00
basamaryan
ef7bbdacd2
sm6150-common: Reserve additional space on product
...
Change-Id: I27032b9250cc9891b502a2a187ee2e13da509e8a
2023-11-09 11:22:55 -05:00
Arian
5d9b716f90
sm6150-common: livedisplay: Make supported interfaces configurable
...
Change-Id: I2949134f978d3c9b619ae55d3ac41a9b62e65d9c
2023-08-21 22:53:01 +02:00
Michael Bestas
630f539308
sm6150-common: Build Lineage Health HAL
...
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
2023-08-20 18:47:33 +02:00
LuK1337
cae03c13c8
sm6150-common: Fix BOARD_FLASH_BLOCK_SIZE
...
BOARD_KERNEL_PAGESIZE * 64 != 131072
Change-Id: Id0762503d1223d0f2b9cacf9af2fca1e6e6caf3d
2023-08-20 18:47:33 +02:00
Arian
7ee23154dd
sm6150-common: Commonize flash block size, cache and userdata filesystem types
...
Change-Id: I10ace86b93aeb4b87ec4ecca4da0952526e6c6ff
2023-08-20 18:47:33 +02:00
Arian
da59885981
sm6150-common: rootdir: Import dynamic non-ab fstabs from LA.UM.9.1.r1-13500-SMxxx0.QSSI13.0
...
Change-Id: Ib54d1fa04bbc57ec432c0e21cc90d04051321564
2023-08-20 18:46:58 +02:00
Arvind Kumar
4dd6725148
sm6150-comomn: Enable metadata uses flag
...
Change-Id: I2ad2bded831d82d85799ac6de6c26e779a650122
2023-08-20 18:46:58 +02:00
Arian
e786690216
sm6150-common: Commonize dynamic partitions
...
Change-Id: If754f1d40d5dd7488a0137fa90d82dce89bbc1dd
2023-08-20 18:46:58 +02:00
Sam Mortimer
dedce30a14
sm6150-common: Remove deprecated TARGET_KERNEL_APPEND_DTB
...
Background: https://review.lineageos.org/#/c/192397/
Change-Id: I7ed989a418799442bf92eedff6453a77f39f19ad
2023-08-20 18:46:53 +02:00
Sebastiano Barezzi
6d2810da32
sm6150-common: sepolicy: Bringup property_contexts for Android 13
...
Change-Id: I60070ba7658ce262be66ee3bdd0cb6cdcf9b8c49
2023-06-05 11:38:04 +02:00
Nolen Johnson
be567c8301
sm6150-common: Drop vestigial FM board-flags
...
* No longer read anywhere.
Change-Id: Iaf5d8cda03e055c4331e3a20e33c8058037b09b2
2023-06-05 11:38:04 +02:00
LuK1337
b2babf0134
sm6150-common: Make trust use dwc3 usb_data_enabled
...
Change-Id: I8fab94faf383c57e872596f8bb3c448afc6d75de
2023-06-03 21:42:43 +02:00
Arian
34422f17c8
sm6150-common: Include sdmsteppe-perf_defconfig
...
Change-Id: I23c9bbdf101f2a4d31c7aeaba7a5cca3716a745d
2023-05-18 12:39:56 +02:00
Arian
3719d185b0
sm6150-common: hidl: Add xiaomi framework compatibility matrix
...
Change-Id: I6c8e4ecfc6391ea1d59c68ddb43bdca9f6180826
2023-04-11 15:22:06 +02:00
Arian
ca7d835016
sm6150-common: Include qcom and lineage framework compatibility matrix
...
Change-Id: I12ec7ed7ca6c1b6111f46b2441a2768b23ea85bc
2023-04-11 15:21:35 +02:00
Alexander Koskovich
2773427200
sm6150-common: Move BT profiles props to vendor
...
* Makes it GSI compatible
Change-Id: I8f7caf241d508af59c16482e6185c42f23f8a460
2023-01-27 01:32:42 +00:00
Sebastiano Barezzi
442e1a5049
sm6150-common: Remove USE_XML_AUDIO_POLICY_CONF
...
* Dead since Q, where XML audio policies weren't enforced yet
Change-Id: I302a0ed97964b052176dc3bb0141db1ba85e78c8
2023-01-17 07:02:03 +00:00
Georg Veichtlbauer
386a6ca5ff
sm6150-common: Remove AUDIO_FEATURE_ENABLED_PROXY_DEVICE
...
No-op, configurable during runtime
Change-Id: Ic54209df613570b15fee29c5b4c4053d38028b9b
2023-01-17 07:02:03 +00:00
Bruno Martins
a78d6fb707
sm6150-common: Drop custom APM flag along with no-op audio flags
...
Custom audio policy manager is hard disabled by CAF
for 2 years now. Remove as well the audio feature flags
that were used to configure it.
Change-Id: Idd34d1cbbdb735d6cf0de3b159c2670bf7ddd1e3
2023-01-17 07:02:03 +00:00