Commit graph

58 commits

Author SHA1 Message Date
Bladeyy
64d8fdf1ef
sdm660-common: prop: Force enable IMS/Radio props
* Fixes ViLTE

Change-Id: Id0b7f7fdc628983929fdb1f8a6919d024e567218
2019-10-15 10:22:04 +02:00
Wang Han
a801241ced
sdm660-common: Enable display default color mode
* Though xiaomi disables this to make vendor color adjustments,
   livedisplay needs this to apply color profiles on boot.

Change-Id: Ia47d0f2665dc126388be64848a13e2046ab8f258
2019-10-15 10:16:58 +02:00
Vasantha Balla
df41f8a417
sdm660_64:Add property to prefer hw codecs in thumbnail
Add property "media.stagefright.thumbnail.prefer_hw_codecs"
to system.prop

Change-Id: If60f9cdc8b0236df421a72e7621f1e57fd3f4f55
2019-10-04 18:53:18 +02:00
Sujin Panicker
a531fc7500
sdm660: audio: Add 48khz sampling rate to spkr prot tx uc
With 8Khz sampling rate afe fails to fetch calibration
information.
sdm660 & msm8998 acdb supports only 48Khz for speaker
protection calibration tx device, since 8Khz tables were
not added initially, addition of 8Khz would require
further tuning.
This change is to use sample rate based on property, the
default sample rate is not changed for other targets without
prop.

Change-Id: I29dc549c699396fc953f3f831cd0ea81ee033ae4
2019-10-04 18:53:17 +02:00
Dhananjay Kumar
9f9234544e
sdm660: audio: update properties to fix namespace violations
Update properties to add vendor.audio prefix where missing
and remove unused ones to fix namespace violations.

Change-Id: I3723ae3e366178e87eff81001a0f1fd133cc4404
2019-10-04 18:53:17 +02:00
Weiyin Jiang
8b7e76e45c
sdm660: audio: add voice multi session property
Add voice multi sessoin property.

CRs-Fixed: 2489604
Change-Id: Ib906db560268a4c9e183747896130522b45d6566
2019-10-04 18:53:17 +02:00
Weiyin Jiang
117f33523e
sdm660: post_proc: clean up stale audiosphere implementation
Now that we have GEF based implementation, clean up stale one.

CRs-Fixed: 2484430
Change-Id: I7dcad43401650c51e637fce202f5b45d40b3852e
2019-10-04 18:53:17 +02:00
Weiyin Jiang
29491bc666
sdm660: audio: update audio config xml and pbe property
SW effects are reverted to stock implementation, disabling pbe property
to keep h/w effect aligned.

CRs-Fixed: 2478472
Change-Id: I7b2112365dfa0bae752a949286e6f056b4da90eb
2019-10-04 18:53:17 +02:00
Ramjee Singh
aa01ba6785
sdm660: audio: Enable frame ctl for aac codec format
Change-Id: Id43ab138deb892e564ed710e4dd5c9b644852f44
2019-10-04 18:53:17 +02:00
vivek mehta
f7c0a30856
sdm660: audio: enable runtime feature flags 2019-10-04 18:53:17 +02:00
Weiyin Jiang
40f89f7d6e
sdm660: audio: rename vendor properties 2019-10-04 18:53:17 +02:00
Aalique Grahame
c5179fc652
sdm660: audio: Update Audio Configuration from CAF
*taken from 57058a6c2f (diff-150a488020beaf5b0711175bb5420f8b)
2019-10-04 18:53:14 +02:00
Erfan Abdi
7123cfecc8
sdm660: prop: disabled bluetooth wipower 2019-09-27 17:13:45 +02:00
Erfan Abdi
b87ab33877
sdm660: prop: increase snd card open retries to 50 2019-09-27 17:13:45 +02:00
Erfan Abdi
1fa0b49b7f
sdm660: prop set radio felxmap to none 2019-09-27 17:13:45 +02:00
Erfan Abdi
23f5d64fd4
sdm660: prop: set iwlan operation mode to legacy 2019-09-27 17:13:45 +02:00
Vandana Jain
9e29bf75ec
sdm660: whitelist the SD camera app
Change-Id: Iad4ff00e91104f37a4aceaa11f891f97965cc723
2019-09-27 17:13:45 +02:00
Sandeep Gutta
74698e4302
sdm660: Set property procedure_bytes to SKIP
Set "persist.vendor.radio.procedure_bytes" property value
to SKIP for testIccTransmitApduLogicalChannel to pass

Change-Id: I117dd9ec6976d35e23ce10158e1ef4706e17104f
CRs-Fixed: 2491738
2019-09-27 17:13:45 +02:00
Pawin Vongmasa
15e0315162
sdm660-common: Enable Codec2
Drop framework_manifest.xml part as the hal is already parsed.
Don't bring in the c2 xml files as CAF squashed the c2
support in the already existing media codecs.

Change-Id: Ibe051f4b19c2dbb0a208e751a3b7a332a329b447
Signed-off-by: celtare21 <celtare21@gmail.com>
2019-09-27 17:13:44 +02:00
Erfan Abdi
7d5ed49e06
sdm660-common: Force disable bluetooth audio hal 2.0
Change-Id: I217becb041395865a1c6f997b0cbc0c994d04e78
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-09-16 10:36:23 +02:00
Peiyong Lin
c248538a8b
sdm660-common: Turn on GPU protected composition.
Change-Id: Ie385081961d8b89b81a034178d10176197b639d5
2019-09-16 10:36:23 +02:00
Simao Gomes Viana
fd4d1c6204
sdm660-common: Tweak fling velocity system props
Change-Id: I755a802e45fd07733e7efd42ad967f5a91190bb0

Signed-off-by: Simao Gomes Viana <xdevs23@outlook.com>
Signed-off-by: Anirudh Gupta <anirudhgupta109@gmail.com>
Signed-off-by: Sebastian (Felvesthe) <felvesthe@outlook.com>
2019-09-05 12:17:56 +02:00
srfarias
5aa1f6bdb2
sdm660-common: system.prop: skip propagating backpressure
Change-Id: I786647a242a8ef595268e7570b17154852cac1fb
Signed-off-by: srfarias <erikofarias@gmail.com>
2019-09-05 12:17:56 +02:00
Chris Craik
c805f4be15
sdm660-common: prop: Disable use_buffer_age to workaround driver issue
picked from wahoo

Bug: 74534157
Test: none
Change-Id: Ie03a0b36e06b6596c2cbf2d7b0f3eaba93afbf33
2019-09-05 12:17:56 +02:00
srfarias
3861367840
sdm660-common: prop: rendering improvements
Signed-off-by: srfarias <erikofarias@gmail.com>
2019-09-05 12:17:55 +02:00
TheScarastic
08a8899b46
sdm660-common: Set PRODUCT_GMS_CLIENTID_BASE as per stock
Change-Id: I46cc0af76b796121c7f2ca5c33b74aec6f700c64
2019-09-05 12:17:55 +02:00
Hazari PraveenKumar
c3f3a95312
sdm660-common: prop: Disable VSync for CPU rendered apps
Choreographer VSync has some performance impact for CPU rendered apps
as the app has to wait for VSync to start a new frame draw. When the
frame draw time exceeds one VSync, this has a direct impact on the FPS.
"debug.cpurend.vsync" property controls the VSync for CPU rendered apps.

Disable VSync for CPU rendered app, by setting this property to false.

Signed-off-by: adi8900 <adrianszymanski242@gmail.com>
2019-08-21 09:10:00 +02:00
Max Weffers
a8bc99038a
sdm660-common: prop: enable video.disable.ubwc
*needed for video recoding on clover with oreo blobs
2019-08-20 23:18:24 +02:00
Max Weffers
f749ead6c7
sdm660-common: libinit: remove heap and dalvik configs from libinit 2019-08-15 17:21:45 +02:00
Artem Borisov
351013a675
sdm660-common: Disable debug.sf.latch_unsignaled
Apparently, it introduces dramatical performance degradation in some use cases.

Change-Id: I92aaa4469f6848e4dfff89f3781f31ed527bae2b
2019-08-15 15:31:33 +02:00
TheScarastic
60ce96be80
sdm660-common: force enable volte
For some reason volte wasnt working on carriers even with
updated carrierconfig overlays so add it for now

Signed-off-by: PainKiller3 <ninadpatil100@gmail.com>
2019-08-15 15:31:33 +02:00
ganeshi4u
c05a21cab4
sdm660-common: enable ViLTE prop
Change-Id: I290c236913244720d641454d5f4e8e1cb8ae9d8d
Signed-off-by: PainKiller3 <ninadpatil100@gmail.com>
2019-08-15 15:31:33 +02:00
millerliang
98c0a30161
sdm660-common: Refined early SF phase offsets
Sometimes SW_VSNC of DispSync comes 1ms earlier than signal_retire_fence(or HW_VSYNC)
It means VSYNC-sf only 5ms behind signal_retire_fence.
And VSYNC-sf will be 5.5ms earlier when applying early_sf_phase.
(the phase-sf changes from 6ms to 0.5ms)

Therefore, VSYNC-sf comes 0.5ms earlier than signal_retire_fence when
applying early_sf_phase for transaction and cause frame missed.

Add more 1ms to early_sf_phase then it will come 0.5 later than signal_retire_fence
in this case.

Bug: 118606025
Test: Open/close apps, observe no jank
Test: -Launch app, stay the same picture on screen at least 30s
      -Tap home key, observe no jank when doing app animation

Change-Id: I2da26e844cfc3dc86d7617e44906230ded760d7c
Signed-off-by: PainKiller3 <ninadpatil100@gmail.com>
2019-08-15 15:31:33 +02:00
Midas Chien
5d621dbdfa
sdm660-common: Enable early SF configurations
Sync early SF configurations from Bluecross

Bug: 112620861
Test: Launch Chrome animation test, frame drop rate 0.9%->0.24%
Change-Id: Iac9b848ed86768ee99d4bbbb3b624d607b414005
Signed-off-by: PainKiller3 <ninadpatil100@gmail.com>
2019-08-15 15:31:33 +02:00
Paul Keith
1e4d7647b0
sdm660-common: Enable QCRIL radio power saving
Change-Id: I339d0fbec60b554c6b7930162f5a917e052fc5a1
2019-08-15 15:31:32 +02:00
Max Weffers
b71343b029
sdm660: prop: move lcd density to device 2019-08-15 15:31:17 +02:00
Max Weffers
33c6fa1c4b
sdm660: prop: move persist.radio.multisim.config to device 2019-08-15 15:31:17 +02:00
Max Weffers
f7c9d4923f
sdm660: prop: Enable Electronic Image Stabilization (EIS) 2019-08-15 15:31:17 +02:00
Srinath Sridharan
9f8632d553
sdm660-common: Enable FIFO scheduling for UI and render threads by default
bug: 24503801
Test: ran UI and app startup tests and saw perf/Watt improvements
Change-Id: I2edfa2b015e1ff1328d5047d606deb9854feacb4
2019-08-15 15:27:20 +02:00
Max Weffers
2365407f0e
sdm660-common: prop: Add system prop for time-services 2019-08-14 10:04:13 +02:00
PIPIPIG233666
00c7be27b6
sdm660-common: prop: Set thermal data path 2019-08-14 10:04:13 +02:00
PIPIPIG233666
292760090d
sdm660-common: prop: Add vendor.ssr restart prop 2019-08-14 10:04:13 +02:00
celtare21
6e4f63aebe
sdm660-common: Optimize ART props
Change-Id: Ib384409127c09e611d1e875b6827e744298b8499
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-08-14 10:04:13 +02:00
Fullbustah
fcf8864834
sdm660-common: getDiskStats is not supported, disable it
E/storaged( 880): getDiskStats failed with result NOT_SUPPORTED and size 0
2019-08-14 10:04:13 +02:00
xyyx
18dd7d0201
sdm660-common: Add persist.radio.aosp_usr_pref_sel for Telephony
* Fixes the bug in dual SIM device where preferred data selection didn't stick after reboot

Co-authored-by: federicobenedetti <fede.benedetti9@gmail.com>
2019-08-14 10:04:13 +02:00
HolyAngel
1e3a7a9762
sdm660-common: Set OpenGL Skia as default renderer 2019-08-14 10:04:13 +02:00
Anushek Prasal
e233ea4a4c
sdm660-common: Force HAL1 for certain apps
Change-Id: Ib86311cb638dacfc9d21aca6d0412471d1c260e1
2019-08-14 10:04:13 +02:00
Bruno Martins
84b8c20da0
sdm660-common: Enable B-services aging propagation
Change-Id: I4ac0525933bb421f7d025c5e4c6a1de0f083c46e
2019-08-14 10:04:13 +02:00
dianlujitao
3b46abdecc
sdm660-common: Enable OEM unlock and bootable image signing
* Given the fact that the bootloader allows bootable images with
   arbitrary signatures to boot, one can relock the bootloader after
   installing a signed custom recovery. After that, custom ROMs can be
   installed from recovery as usual, as long as the boot.img's are
   signed.
 * This is NOT a security vulnerability because unlocked bootloader is
   still prerequisite to access fastboot boot/flash, in contrast it's a
   feature suggested by Google.
 * To make it feasible with Lineage, sign the img with AOSP verity key
   which is publicly available.
 * OnePlus happens to use the same key to sign their own images and
   bootloader, so as a bonus there's even no 5s warning indicating a
   custom boot.img is in use on boot.
 * This doesn't mean using custom ROMs with locked bootloader is
   suggested.

Change-Id: I178e9588e1dde96400dcb2178a027597d05949bd
2019-08-14 10:04:13 +02:00
Nick-infinity
374443bf61
sdm660-common: prop: Enable gsm.proximity prop
* For some people proximity doesn't work and this fixes it for some reason lol

Signed-off-by: AmulyaX <amulya.b520@gmail.com>
2019-08-14 10:04:13 +02:00