Commit Graph

56 Commits

Author SHA1 Message Date
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
Sujin Panicker
920e444481
davinci: media: Include QC OMX Codecs and fix rank of QC OMX components
Include media_codecs_vendor_audio.xml from within media_codecs.xml
and rank QC OMX SW codecs higher than C2 codecs.

Change-Id: I3c079cd778f1eb978baaf437fe9ae309dfdc8e54
2020-12-30 02:02:59 +01:00
Han Wang
db270dbaae
Revert "davinci: Force enable mobile network settings v2"
* This prop is not honored anymore on 11.

This reverts commit a1692904de.

Change-Id: I7a10d9918a0218d607d65203e9a38d3e484a618f
2020-12-30 02:02:56 +01:00
tangrobin
775f8e6483
davinci: Use phase offsets as duration
In Android R, the SurfaceFlinger calculate phase offsets
based on duration. Adopt the new way of specifying
phase offsets to SurfaceFlinger.

Bug: 158464992
Test: scrolling, app launching/closing, playing video
Change-Id: Ia717f5c0075b6adaedaf20dd6be689737edc1415
2020-12-30 01:47:47 +01:00
Arian
fcadd257a8
davinci: Add missing speaker protection properties and drop unused properties
Change-Id: Iee351b80e54897b2eb609dab149001189f7ddb48
2020-12-17 23:31:15 +01:00
Midas Chien
cbf998503c
davinci: Set surfaceflinger phase offset properties
Bug: 147645861
Test: check properties
Change-Id: I5c7e93a8411a89b29346a687ec0dcfffb40f2ac5
2020-11-28 18:12:02 +01:00
tangrobin
276fe2261e
davinci: Refined early phase offsets
GPU takes long time(>8ms) when app was launching and closing.
This may because GPU is handling some heavy task like color conversion.
By setting NegativeOffset as 5ms to allow SF have more time to handle
when doing animation transaction and shift back 5ms with
early_app_phase_offset_ns such that app still has the same amount of
time to handle each frame.

Test: 1. Open Chrome from homescreen
      2. Swipe vertically to go back to home screen
      3. Measure the gpu completion time and "FrameMissed" count from systrace result
Bug: 147339695

Change-Id: I157cb11e8ed8c1ca296fc65612752fbb3d985dcd
2020-11-28 18:12:02 +01:00
Arian
d5591d6d37
davinci: Build audio HAL from source
* Disable ssrec and hdmipassthru since they depend on proprietary headers

Change-Id: I6abf4baf2e03aa9dc4ce52cbe758d976441cc7fc
2020-11-23 20:44:38 +01:00
Bruno Martins
e0dab7b3ec
davinci: audio: Nuke dirac and misoundfx effect
Change-Id: I5672e554a2b2b21fbadfe915b9a89cd2365f3864
Signed-off-by: Arian <arian.kulmer@web.de>
2020-11-23 20:44:38 +01:00
LuK1337
d41667c550
davinci: Convert configstore settings to props
Change-Id: Iadefa31bc863b7ab70239874bed82bef240cbba5
2020-08-06 21:28:07 +02:00
Demon000
5ca0a9fff7
davinci: display: Build stack from source
Change-Id: I4ae143d0cc0fba379894e1f69b793312192f0c4a
2020-08-06 21:28:07 +02:00
Arian
763858361c
davinci: audio: Add libmisound
Change-Id: I42cf4678006710b441be031756cba301c79accfa
2020-08-06 21:28:07 +02:00
Jean-Michel Trivi
a5b5e3ac21
davinci: Increase media volume from 15 to 25 steps
Test: play media, use all 25 vol steps and observe varying attenuation
Bug: 32195657
Change-Id: I7ac87df0b2b15de3a7bb87e739bd88ef7b185236
2020-08-06 21:28:06 +02:00