Commit Graph

17 Commits

Author SHA1 Message Date
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