Commit Graph

68 Commits

Author SHA1 Message Date
Adithya R
a72c57559f 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: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:15:45 +08:00
Midas Chien
a155e9d55b 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: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:15:45 +08:00
quic_swarbu
ce13d43f20 sm6150-common: display: Disable the property debug.sf.enable_gl_backpressure
Change-Id: Ib328ee094d7c164b50007703ab7610661c2ec017
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:09:54 +08: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
Arian
2f7c22b799
sm6150-common: Enable dynamic SAR
* Enabled as per sweet 12.5.1.0

Change-Id: I6c1dd7b92f1055f9c54a69eb0ce3a7675bac0bd0
2021-06-18 18:34:30 +02:00
Arian
b049682209
Revert "davinci: Increase media volume from 15 to 25 steps"
This reverts commit a5b5e3ac21.

Change-Id: Id7e5645f59dba82352c38d3691dcfd924960ccf1
2021-06-18 18:33:51 +02:00
Adithya R
e4ea795457
sm6150-common: Decommonize audio fluencetype prop
* surya needs fluence disabled to fix mic in certain apps

Change-Id: I4fd647330759ca5f97c85176f614ae75dda14aca
2021-06-18 18:33:47 +02:00
Volodymyr Zhdanov
bea69bcb8e
sm6150-common: Add new surfaceflinger flags
* since [1] caf sets these for all platforms

[1] https://source.codeaurora.org/quic/la/platform/hardware/qcom/display/commit/?id=1b056c2223143ea401a47f8726a32b7e58656ab2

Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2021-06-18 18:32:31 +02:00
Arian
b227173d9e
sm6150-common: Update from Mi Note 10 Lite V12.1.4.0.RFNMIXM
Change-Id: I80f4200b46268a3c4bc638529c916122eb20ddba
2021-06-18 18:32:23 +02:00
Arian
6b60b20609
sm6150-common: Move cne property to system
Change-Id: I2d8b3697fca8db2cb4dbf3eb7105c9445df4eaaf
2021-06-18 18:21:30 +02:00
raghavt20
0aa378102c
sm6150-common: Transform davinci into common tree
* The following things are left in devices, because they're device specific
  - voip compress properties
  - HVDCP properties
  - audio configs
  - power profile
  - rounded corner configuration
  - partition configuration
  - FOD
  - camera motor
  - NFC
  - board-info
  - fstab
  - ipa and graphics firmware
  - shipping and manifest target level

Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Co-authored-by: Arian <arian.kulmer@web.de>
Change-Id: I8bef29041f8f239361b999fc8ab1a43cc2ebb86b
2021-04-25 15:18:14 +02:00
Arian
804e911c0b
davinci: Add HVDCP properties
Change-Id: I59a058c92d0d854a037d22591dd90a0c55c03748
2021-04-25 14:49:59 +02:00
Arian
770e1d1dd3
davinci: Update props from 20.10.22
Change-Id: Ie923deae7f5a94484279cf36e22a3145846b3051
2021-04-25 14:49:59 +02:00
Sujin Panicker
005863edbf
davinci: audio-hal: Add property for timecheck timeout duration.
Timecheck timeout set to 20sec based on the property
vendor.audio.hal.boot.timeout.ms before system is ready.
It updates to default timeout of 5sec once the system
is ready.

Change-Id: I6d13eb8b8d06f279261cbcb81053f9a1389d073e
2021-04-25 14:49:59 +02:00
Purushottam Kushwaha
e307cc2650
davinci: NAN: set property 'wifi.aware.interface' to use separate interface
This CL is to set 'wifi.aware.interface' property for the targets
where separate NAN discovery interface is supported.

Change-Id: Ib892f2207a9366a5a86071fd6d3c4b37e174b08c
CRs-Fixed: 2680050
2021-04-25 14:49:54 +02:00
Shrikara B
6b8f01aeb1
davinci: media: Override ccodec property in vendor
Override debug.stagefright.ccodec property to from vendor side
Without this property in vendor side, codec2 components will
be listed in GSI case, which is not desired.

CRs-fixed: 2476609
Change-Id: Ifcdd5194eafa425ed79596eb2fc06478730001b4
2020-12-30 02:02:59 +01:00