Commit graph

885 commits

Author SHA1 Message Date
SamarV-121
ab078a20f2 sdm710-common: Set BOARD_USES_QCOM_HARDWARE
* also define board platform

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-06-23 18:39:36 +02:00
SamarV-121
1e7deeace1 Revert "sdm710-common: Define FORCE_QCOM_DISPLAY_HAL_VARIANT"
This reverts commit f88111e8916246908788ebef186dbb8ccaaf2a6c.
2020-06-23 18:39:36 +02:00
GiaSen
101e762498 kunlun2: update pe targets 2020-06-09 15:49:49 +02:00
GiaSen
5e4da20480 kunlun2: Update flame build fp to June release 2020-06-09 15:49:49 +02:00
DennySPB
0b0d32cb52 sdm710-common: Decrease launch boost to 3sec
* 5s is just too much long plus battery drainer

Signed-off-by: DennySPB <dennyspb@gmail.com>
Change-Id: I7e037c45cd2296a8bbd67d6bd63c212c0ef2a805
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-28 20:18:28 +02:00
Henrique Pereira
5d670a8d37 sdm710-common: Set schedtune boost to 5
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-28 20:18:23 +02:00
DennySPB
5cb0eff24f sdm710-common: Remove wlan powerstats
* It's under debug guard and we don't want to debug anything here

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-28 20:18:12 +02:00
millerliang
c7d03a2577 sdm710-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: Iec83aef719b830aed612b47bbda910508406d196
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-28 20:17:11 +02:00
Midas Chien
bb0e57be4a sdm710-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: SamarV-121 <samarvispute121@gmail.com>
2020-05-28 20:17:02 +02:00
Sundong Ahn
ac3a42d8e3 sdm710-common: Add system properties for surfaceflinger
The configstore will be not used in surfaceflinger. So surfaceflinger
will use the system properties instead of configstore.
For this, the system properties are added.

Bug: 112386364
Test: m -j && boot test
Change-Id: Ie3d2adccca06702217984cf2c9db986d852b7014

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-28 20:16:16 +02:00
GiaSen
b30dbe6d63 kunlun2: move props 2020-05-28 20:15:04 +02:00
Steve Kondik
46ff39be2a sdm710-common: Set vsync phase offsets
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-28 20:07:53 +02:00
SamarV-121
cdd5913f4d sdm710-common: Set NUM_FRAMEBUFFER_SURFACE_BUFFERS
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-28 20:07:34 +02:00
Dan Willemsen
f02944f329 mido: build have overriding commands
These products have warnings about overriding build commands, which
means that there are multiple instructions on how to build a file, and
we've just picked one of them. Which one we pick is usually stable, but
it can change.

Bug: 77611511
Test: turn default to false, walleye still uses a warning
Change-Id: I11d194863b313f64b19291f65219682b169d9ced
2020-05-24 13:55:37 +02:00
SamarV-121
4c34733e0f sdm710-common: wifi: Remove nonexistent configs 2020-05-24 13:55:37 +02:00
Dede Dindin Qudsy
2bfee9cd7e sdm710-common: wifi: Disable SAE support
* based on kerneltoast/android_kernel_google_wahoo@4219bf1

Signed-off-by: Dede Dindin Qudsy <xtrymind@gmail.com>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-24 13:55:37 +02:00
Ashish Kumar Dhanotiya
86705bd156 sdm710-common: Add ini ignore_fw_reg_offload_ind
Add ini "ignore_fw_reg_offload_ind" to ignore regulatory
offload indicatin from fw.

Change-Id: Ie45bc35455efb4b3fd3512bafe140d4ae9580c4b
CRs-Fixed: 2542055
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-24 13:55:37 +02:00
Ashish Kumar Dhanotiya
c5ea77de75 sdm710-common: wifi: Remove TxPower2g and 5g from config file
Ini config values TxPower2g and TxPower5g are not
getting used anymore.
Remove TxPower2g and TxPower5g from WCNSS_qcom_cfg.ini
for all the targets.

Change-Id: Id85bec3e4ae3bb8012e13844bb0afa682a593fee
CRs-Fixed: 2607679
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-24 13:55:37 +02:00
Arun Kumar Khandavalli
6243e72c42 sdm710-common: wlan: Enable LPRX by default
LPRX was disabled previously on request because of some power issues.
Now that all the power issues is resolved enable the LPRX by default.

Change-Id: Ie3655bacfd06d47598b04e8c2c89233a000307ce
CRs-Fixed: 2459952
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-24 13:55:37 +02:00
GiaSen
6357d10828 kunlun2: copy wcnss config from stock
This reverts commit 9b215d2e09.
2020-05-24 13:55:27 +02:00
Anjaneya Prasad Musunuri
c172f278f6 kunlun2: Enable latch unsignaled buffers
Change-Id: I2b743100a49d1328177230c1952580b62543b245
CRs-Fixed: 2449258
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-24 13:44:11 +02:00
luk1337
b09479f6bd kunlun2: Remove unsupported media profiles
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-24 13:44:11 +02:00
SamarV-121
2fede046fa kunlun2: Import stock media_profiles_vendor.xml
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-24 13:44:11 +02:00
SamarV-121
14ed25805d kunlun2: Add 0x2000U to additional gralloc usage bits
* E Gralloc2: buffer descriptor contains invalid usage bits 0x2000
 * Fixes broken video playback

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-24 13:44:11 +02:00
ѕαмαя νιѕρυтє
76b55205d1 kunlun2: Add additional gralloc usage bits
* E Gralloc2: buffer descriptor contains invalid usage bits 0x200000
 * Fixes WFD

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-24 13:44:11 +02:00
ѕαмαя νιѕρυтє
c48474fa1f kunlun2: Import all vendor.display.config blobs
* Needed by WFD

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-24 13:44:07 +02:00
SamarV-121
e4946a7f2f kunlun2: Import powerstats from bonito
* Convert to lenovo targets

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-22 11:29:29 +02:00
SamarV-121
fcd478120d kunlun2: power-libperfmgr: Convert to lenovo targets
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-22 11:29:29 +02:00
SamarV-121
0e07fa1138 kunlun2: Compile libperfmgr in system
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-22 11:29:29 +02:00
SamarV-121
83aa3e22a9 kunlun2: Import powerhint from bonito
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-22 11:29:29 +02:00
SamarV-121
a64a64897d kunlun2: Import power init scripts from bonito
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-22 11:29:25 +02:00
SamarV-121
2d90abaa7c sdm710-common: Disable IOP and PERF HAL
* also revert 56f6504f61, eb7a690439, d5cb550169
 * in the favour of power-libperfmgr
 * also nuke all sepolicies for now
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-22 11:27:40 +02:00
SamarV-121
fdda56ab6d kunlun2: power-libperfmgr: Move to framework manifest
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-22 11:27:02 +02:00
Steve Kondik
3cb57f00ca kunlun2: power-libperfmgr: Add support for tap-to-wake feature control
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-22 11:27:02 +02:00
Henrique Pereira
5c6a44f762 kunlun2: Import power-libperfmgr from hardware/google/pixel
* Powerhint.json from Crosshatch slightly cleaned-up

Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-22 11:27:02 +02:00
SamarV-121
0b4e694e0b kunlun2: Nuke QTI power HAL
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-22 11:27:02 +02:00
ѕαмαя νιѕρυтє
2ce4fe9e1e kunlun2: Disable unused atfwd daemon
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-22 11:27:02 +02:00
SamarV-121
61823b3509 kunlun2: Update CarrierSettings from coral-user-R-RPP4.200409.015-6455311-release-keys
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-22 11:27:02 +02:00
SamarV-121
e33d666723 Revert "sdm710-common: Remove CarrierSettings from here"
This reverts commit b19f2b5cba.
2020-05-22 11:27:02 +02:00
ѕαмαя νιѕρυтє
89fcd0cb6b kunlun2: Remove vendor overlays
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-22 11:26:57 +02:00
ѕαмαя νιѕρυтє
5f594c2207 kunlun2: Remove duplicate perms
* already in vendor

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-22 11:26:57 +02:00
ѕαмαя νιѕρυтє
73aeb9348f kunlun2: Remove unused 32bit FM blobs
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-22 11:26:57 +02:00
ѕαмαя νιѕρυтє
462e94d487 kunlun2: Undeclare unused HALs in framework manifest
This reverts commit f7e8710bff
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-22 11:26:57 +02:00
SamarV-121
f386d757e1 kunlun2: Force enable IMS and WFC
This reverts commit 51c1bd4f3d.

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-22 11:26:52 +02:00
GiaSen
cd35e39c1b kunlun2: Add updatable_apex.mk and generate APEX image 2020-05-12 17:02:45 +02:00
jhenrique09
bb78a34bd9 kunlun2: Define FORCE_QCOM_DISPLAY_HAL_VARIANT
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-11 22:59:37 +02:00
GiaSen
c0ab4d6729 kunlun2: Update flame build fp from may 2020-05-07 13:45:52 +02:00
GiaSen
b6b7486d55 temp hax: move light init to init.qcom.rc 2020-05-07 13:42:41 +02:00
GiaSen
9b215d2e09 kunlun2: nuke wcnss config 2020-05-07 12:53:27 +02:00
GiaSen
5ccaf36749 kunlun2: add missing permissions to snapcam 2020-04-28 11:34:38 +02:00