Commit Graph

80 Commits

Author SHA1 Message Date
officialputuid
5897ea66d0 sm6150-common: properties: Remove Force triple frame buffers
* Causing some apps laggy & UI performance regression

Change-Id: I452b2d5f5293682a6065506359e359231fabeefd
Co-Authored-By: Reinazhard <reinazhard@gmail.com>
Co-Authored-By: Ratoriku <a1063021545@gmail.com>
Signed-off-by: officialputuid <officialputuid@hack.id>
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 13:48:10 +00:00
ghostrider-reborn
9940e3df87 sm6150-common: properties: Enable frame pacing for smoother visual performance
- Enabled `vendor.perf.framepacing.enable` to improve visual smoothness by regulating frame timing. This enhancement ensures consistent frame delivery, reducing stuttering and enhancing overall visual quality, particularly in graphics-intensive applications such as games.

Change-Id: I1a493fe97aa7dbcd757ca2336b683d3b8817cd2f
Signed-off-by: ghostrider-reborn <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 13:48:10 +00:00
GeoPD
16c211fb88 sm6150-common: properties: Disable camera perflock
* Seems to improve the HDR processing in Gcam a bit fast
and we don't have any boostframework binaries either

Change-Id: If0b974fd10ce8d09bc8eb91669fa1ab06ac2e546
Signed-off-by: GeoPD <geoemmanuelpd2001@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 13:48:10 +00:00
Richard Raya
6f274fc2f3 sm6150-common: properties: Import suspend properties from gs201
053f552fae/device.mk (1114)

Change-Id: I3ad335c987abfd3e081342a0117567dcaef1c21f
Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 13:48:10 +00:00
Pranav Vashi
3a08fdd70f sm6150-common: Move wide display prop to system.prop
* Vendor partition is RO and prop cannot be changed there to
  disable wide color gamut.

Change-Id: Ie5d90bc608f428c2be11d5159aaec98a6cdfbd03
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 13:48:10 +00:00
Adithya R
28bcb03e77 sm6150-common: Disable backpressure propagation in SF
* based on 7e86e7588a
 * depends on 3bc0f96f58

Change-Id: I4816ba34e0ddf96c9d6f1c049bf584a4190c9a8e
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 13:48:10 +00:00
Pranav Vashi
642251df47 sm6150-common: Set display props from stock
Change-Id: I0e2eb326c3e89f127c71e702645b26e1a009d74a
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:57:52 +00:00
Pranav Vashi
3a8cd2847f sm6150-common: Add back camera aux and privapp props
* Some blobs check these props directly.

Change-Id: I38d7f52d8ecbdfa4e17eb6f2fe250eebcbc8ed01
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:56:34 +00:00
helliscloser
8e67006761 sm6150-common: Explicitly disable "Enable GL comp backpressure"
When blur is enabled,
There is severe lag in; Launcher3 while scrolling apps in App drawer, Scrolling through recents and occasionally on QS pull down.

Enabling or completely removing the prop here d6233e0e7c doesn't seem to make an effect.
Explicitly disabling the "Enable GL comp backpressure" prop seems to slove the issue.

Lag & janks are gone now, even with blur.

Signed-off-by: helliscloser <mrumais@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:55:55 +00:00
Alex Buynytskyy
157575378b sm6150-common: Enable Incremental on new devices.
Bug: 185298880
Fixes: 185298880
Test: atest IncrementalFeatureTest
Change-Id: I06dcb75307d71e693ad58150889b208c063c664a
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:52:55 +00:00
Midas Chien
5af1c15be4 sm6150-common: Don't latch unsignal buffers
Set debug.sf.latch_unsignaled=1 is used to allow surfaceflinger to
latch unsignal buffers that can give more time for buffer to render.
But if the buffer takes longer time to finish, it will block whole
display pipeline result to jank.

Bug: 157964883
Test: scrolling, launch
Change-Id: I56c3e05921de5fc9569bf3f93fde03022a64b6a4
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:51:37 +00:00
Yumi Yukimura
6d996151e4 sm6150-common: Migrate to QTI USB Gadget AIDL HAL
Change-Id: I6adbca2fab9a3fe0477d17f9786166828b786710
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:24:43 +00:00
Yumi Yukimura
cdd98bc410 sm6150-common: Switch to common QTI USB init scripts
Change-Id: I42864edf1cf554815fa24b12892afd21835d13c7
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:24:43 +00:00
Pawin Vongmasa
72ee26c740 sm6150-common: Move input surface to CCodec
Test: atest CtsMediaTestCases -- \
--module-arg CtsMediaTestCases:size:small
Bug: 131800183
Change-Id: I8783a7de4a4fdf7ff2eac6697c71f6592c9a9e06
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:24:43 +00:00
dianlujitao
a8daecaf39 Revert "sm6150-common: Disable continuous transaction tracing on all build types"
Applied in vendor/lineage.

This reverts commit 87320fdb23.

Change-Id: I14393dfc0f083eab1a5e8ebb576e2a05ad50a8e1
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:24:43 +00:00
Bruno Martins
41ebde2e72 sm6150-common: Remove software OMX blobs
Default to C2 codecs from swcodec apex.

Change-Id: I32f0b0abe680c1f350268115a3cc5488a2a57ec3
2024-09-16 14:16:53 -04:00
Michael Bestas
489a1fcdad sm6150-common: Use AOSP default Codec2/OMX ranks
debug.stagefright.ccodec=4
is the default value in frameworks.

debug.stagefright.omx_default_rank=0
was used to rank OMX SW codecs lower than OMX HW codecs
but we have removed all OMX SW codecs now.

Change-Id: Idf55ec02c2c0f4d2fa73f949cffef0d820a54570
2024-09-16 14:16:53 -04:00
Andrzej Perczak
2c91f586b8 sm6150-common: Disable redir_party_num
Caused incoming caller number not being parsed correctly by Phone app on
VoLTE and VoWiFi. No idea why Xiaomi enabled this ancient prop.

Signed-off-by: Andrzej Perczak <linux@andrzejperczak.com>
Change-Id: I4d3d19b80bedd7410e638c78909a8a910bc10be8
2024-07-10 13:33:18 +05:30
Adithya R
98d7265fbe sm6150-common: Switch to full IWLAN mode
[basamaryan: This is needed to fix RIL on Android U]

Signed-off-by: basamaryan <basam.aryan@gmail.com>
Change-Id: Ie3fa610f71077b4ee2af1b4d57bd0c30b34f30fa
2024-04-10 13:26:45 -04:00
Edwin Moquete
2d10bb309b sm6150-common: Disable frame rate override feature
This is enabled by default on U, and it causes apps like
Chrome and YouTube to render the frame rate at 30FPS when
playing some videos.

Change-Id: I649bf03d550c2b9726c7957d15ed09e455d874ec
Signed-off-by: basamaryan <basam.aryan@gmail.com>
2024-04-10 13:26:44 -04:00
Alex Sarraf
d1e8fa2367 sm6150-common: display: Set debug.sf.auto_latch_unsignaled to 0
Need to explicitly set auto_latch_unsignaled property to
disabled state to keep latch-unsignaled as the default
behavior.

Change-Id: I3856caaf0a68e7e720819f25338d1eb9196f56b0
2024-04-10 13:26:44 -04:00
basamaryan
b6ac30a37a Revert "sm6150-common: Don't latch unsignal buffers"
This reverts commit be8d0f020d.

Change-Id: I5c27894395e5b8bf29f633ef307f7bf8b91235e8
2024-04-10 13:26:44 -04:00
Alec Mouri
1b03139bb9 sm6150-common: Force some devices to treat 170M as sRGB in SF
Bug: 229442032
Test: builds, boots
Change-Id: If144724a342be4a74f823aa25ff8a74fe3d2843a
2023-11-14 13:10:37 -05:00
David Sehr
13e98270e2 sm6150-common: Enable usage of dex2oat64
Use 64-bit dex2oat for better dexopt time.

Bug: 153380900
Test: boot and install an application
Change-Id: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
(cherry picked from commit 126f03be80f57a8a0411842011152d9381589b78)
Merged-In: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
2023-11-14 13:10:37 -05:00
Arian
1fc4297c00 sm6150-common: Use FBE v2
AOSP defaults to v1 on devices shipped with Q or earlier,
explicitly enable v2 for these devices to use 16-byte padding

e575f4ed96/libfscrypt/fscrypt.cpp (L205)

Change-Id: I20e5f31007a2c01bc993c09e644205bf23ebd8ae
2023-08-20 18:47:33 +02:00
Jaegeuk Kim
a07e5e276e sm6150-common: Support adoptable storage encryption
Change-Id: I8225ef0499192503deafa440644d7ee3c177079f
2023-08-20 18:47:33 +02:00
Arian
7524cc06e5 sm6150-common: Use the new volume metadata encryption method
Change-Id: Iec8f0e612a00a792ad6e8d07c37a8d7a0e7f7158
2023-08-20 18:47:33 +02:00
Arian
a7aad8d60e sm6150-common: Move more RIL properties to vendor
Change-Id: Iee7e36b2b4b441a0e038313ceba9314df13e74ca
2023-06-05 11:38:04 +02:00
Jayachandran C
8542099fdf sm6150-common: Move default network property to vendor partition
This fixes GSI image overriding the default value

Bug: 153852350
Test: Manually verified after flashing the GSI image
Change-Id: I78b415862c420c23121ec03d6953814cd628ea9a
2023-06-05 11:38:04 +02:00
Weikai Kong
af694709f1 sm6150-common: Add back ro.vendor.extension_library definition
* We aren't using QCOM's perfd but our blobs still check for this.
 * To avoid unnecessary errors, let's just add it back.

Change-Id: Icc44b330f21a658cfa8ded691a6628d8f62c3649
2023-06-05 11:38:04 +02:00
SamarV-121
87320fdb23 sm6150-common: Disable continuous transaction tracing on all build types
Change-Id: I95657a00e38f1229675682e784b20cca12c119b0
2023-06-04 10:55:57 +02:00
Ady Abraham
0bd5d02b54 sm6150-common: Enable GL comp backpressure
Enable backpressure for client composition to avoid jank due to
HWC queue stuffing.

Test: 1. Open Camera
      2. Swipe horizontally to go back to previous app.

Bug: 138083790
Change-Id: I3d26aa470c1660b23bd97133f39858f92638aca8
2023-06-04 10:55:57 +02:00
SamarV-121
0b9591f89f sm6150-common: Remove obsolete debug.sf.disable_backpressure
* It has been removed in Android S
 * 2ec5391acf

Change-Id: I23a210a37ad257f0c8b7a3c5e1d59b2ac20cde9a
2023-06-04 10:55:57 +02:00
Alex Sarraf
e6630baeb0 sm6150-common: Disable SF client composition cache
Disable SF client composition cache. Helps with framework
client target fence management.

Change-Id: I73e03e76f51d00fafad38479be00f4005be50665
2023-06-04 10:55:57 +02:00
Danny Lin
904d052076 sm6150-common: Disable EGL image tracking
This is a surfaceflinger debugging feature that we don't care about, so
disable it to reduce overhead.

Change-Id: Iaf6417d101f1a79bfadf85f779a614ed0460c56d
2023-06-04 10:55:46 +02:00
Midas Chien
be8d0f020d sm6150-common: Don't latch unsignal buffers
Set debug.sf.latch_unsignaled=1 is used to allow surfaceflinger to
latch unsignal buffers that can give more time for buffer to render.
But if the buffer takes longer time to finish, it will block whole
display pipeline result to jank.

Bug: 157964883
Test: scrolling, launch
Change-Id: I56c3e05921de5fc9569bf3f93fde03022a64b6a4
2023-06-04 10:55:39 +02:00
Arian
535ef6ad80 sm6150-common: Redefine bluetooth a2dp offload capabilities
Drop unsupported aptx codecs and rank aac below aptx

Change-Id: Ic0c4cefce9f4c39b609490b124230882dec605e9
2023-04-11 15:20:23 +02:00
Edwin Moquete
5c5679a04e sm6150-common: properties: Remove unused persist.bluetooth.a2dp_offload.cap property
This prop has no effect as of T QPR1.

See: cf25e33147

Change-Id: Ic762812dd59429d344ccc55c01bf96b0ffd6dbab
2023-01-27 01:32:59 +00:00
Pullakavi Srinivas
4e3767b961 sm6150-common: hwc: Disable SF composition prediction model.
CRs-Fixed: 3243885
Change-Id: I64f82a25768b561bb343fdb7686b7d6c020d024a
2023-01-27 01:32:59 +00:00
Woody Lin
fb622cd0e8 sm6150-common: Enable zygote critical window
Bug: 141948707
Change-Id: I5dc57312118b0f6d95fc9fe164363ec7e15f1b51
2023-01-27 01:32:59 +00:00
Alexander Koskovich
8f17177db9 sm6150-common: Move Bluetooth power overlays to sysprops
* These were moved to sysprops in Android 13.

   976d33062b%5E%21/#F0

Change-Id: I5bff67a15c537e8a47a19f30776fca6bf2c9fbe5
2023-01-27 01:32:59 +00: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
Jiakai Zhang
a90cd875ef sm6150-common: Add a system property for System UI compiler filter.
Bug: 227310505
Test: m
Change-Id: I30863fe677a95844f0cf46da98c103c0132c24d3
2022-08-19 17:26:25 +02:00
Vinoth Jayaram
338269c5d4 sm6150-common: display: Enable support for protected content GPU composition
Enable protected contents GPU composition for all targets.

Change-Id: I7db5c3bee340dea313c8ee16ae13b8114fd2390e
2022-06-28 00:41:07 +02:00
Rajavenu Kyatham
745358489d sm6150-common: Disable partial FB excl rect
Change-Id: Iface126e34d30e89cafc3a5955270769244398ec
CRs-Fixed: 2598494
2022-06-28 00:41:07 +02:00
Arian
520a1d8521 sm6150-common: Move Netflix property to vendor
Change-Id: I744df5600b803fec993dbabbae99cef0a1fff432
2022-06-28 00:41:07 +02:00
Arvind Kumar
57d5f1f1d4 sm6150-common: Set soc properties
Set soc model and manufacturer properties

Change-Id: Ieee34b7bfab87b241abc5ed3318b46a5c6f93456
2022-06-28 00:41:07 +02:00
Sultanxda
ce8581cf92 sm6150-common: Disable AUDIO_FEATURE_ENABLED_KPI_OPTIMIZE
We're not using perfd so this is useless.

Change-Id: I01c5e5985ba0f06b84e3e4fd59d8e5cc9659d89a
2021-06-18 18:37:35 +02:00
Wei Wang
fe82d2824b sm6150-common: Remove QTI perfd
Bug: 69270928
Test: Build and boot device and test camera
Change-Id: I87b283206f462fb5c8ec9cdd303ae2934fe9bfc4
2021-06-18 18:37:26 +02:00
Gil
b612c65f72 sm6150-common: overlay: [Display] Enable adaptive color mode
Enable Adaptive color mode setting.

Bug: 143513730
Test: Boot test and measure the adaptive color value

Change-Id: I969ec6c3cb1d092a33c0e3a028ff38ad7115dfe2
2021-06-18 18:34:30 +02:00