Commit Graph

31 Commits

Author SHA1 Message Date
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
Ady Abraham
686433b6ca
davinci: Enable EGL Image Tracking on SF
Enable EGL image memory tracking on SurfaceFlinger to catch
memory leaks.

Bug: 137514000
Test: launch few apps and switch between them
Test: adb shell dumpsys SurfaceFlinger
Change-Id: I621231f36b5317e3487d5c9a93320584974b7af1
2020-08-06 21:28:06 +02:00
Nirmal Abraham
1ce6ebe00b
davinci: Disable SF Latch Buffer Signaled property
Change-Id: I682b30fbefdfbd4d8478a82148d5984138078957
2020-08-06 21:28:06 +02:00
Lucas Dupin
657b23e852
davinci: Import coral offsets for GPU composition
Window animations now have rounded corners, meaning that
the shader that we use is more expensive than it used to be.

Because of this, we need to adjust the SF offsets, to make sure
that we'll have enough time to finish the GPU composition without
dropping frames.

Change-Id: I8173e12b006bc1cab6b4cb0b3a5db9f9b3489819
2020-08-06 21:28:06 +02:00
LuK1337
753112bc24
davinci: Add debug IMS props to workaround CarrierConfig restrictions
We support IMS features on carriers not listed in the CarrierConfig,
so let's use the props to enable it everywhere.

Change-Id: Id3ad71d522a22048f7ad86d89695ad262361632d
2020-08-06 21:28:06 +02:00
dianlujitao
a1692904de
davinci: Force enable mobile network settings v2
* AOSP defaults to true but 10 QC telephony extension sets it to false.
 * Restore AOSP behavior by enabling it with a system property which has
   higher priority over global system settings which is used by QCOM w/o
   modifying the jar.

Change-Id: I45854b91bb8cfafabfe811777cda9f1e1840febf
2020-08-06 21:28:06 +02:00
Arian
fcf43c3193
davinci: Import and sort vendor and odm properties
Change-Id: I83fc839a73c24f41dbb43e3c536c079f924dcc7f
2020-08-06 21:27:55 +02:00