Commit Graph

421 Commits

Author SHA1 Message Date
Volodymyr Zhdanov
85d8bd55f9 sm6250-common: audio: cleanup mixer paths
* fix formatting
* cleanup unsupported paths
* use volume gain from LA.UM.9.1.r1-07300-SMxxx0.0
2020-12-05 00:36:18 +02:00
Prasad Kumpatla
0c96b968d9 sm6250-common: audio: add mixer controls for lito and atoll display ports
Add mixer controls for lito and atoll display ports on QRD
and speaker-safe display path in IDP and CDP.

Change-Id: Idfa9860248db51d0c147b4fee2df479e200ca81e
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2020-12-05 00:36:18 +02:00
Martin Liu
98c738aef9 sm6250-common: Remove lmkd properties to enable new lmkd kill strategy
With new strategy default values for lmkd properties should work
and no property overrides are necessary.

Bug: 143857475
Test: lmkd_unit_test
Change-Id: I52c8c93ad5adb5e741790939e381b7c0adae4261
2020-12-05 00:36:18 +02:00
Suren Baghdasaryan
1c9578a063 sm6250-common: Set lmkd configuration properties
Bug: 63631020

Change-Id: I16a183e8e4625e8b98cefdc9c8a7b650556a2b55
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
1329d72594 sm6250-common: set higher priority to c2 than OMX 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
a0583d7375 sm6250-common: build camera stack from source 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
9aa4dbadb0 [BLOBS] sm6250-common: remove prebuilt camera blobs 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
9e10256ab6 sm6250-common: build ril stack from source 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
ea7ab01aff [BLOBS] sm6250-common: remove prebuilt ril blobs 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
b96573d148 sm6250-common: build ipacm from source 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
03384c8b2a [BLOBS] sm6250-common: remove prebuilt ipacm blobs 2020-12-05 00:36:18 +02:00
Pratham Pratap
9773f45180 sm6250-common: Remove android.hardware.usb from the device manifest.
This has now moved to a standalone VINTF fragment in
platform/hardware/interfaces:2d7820a6ef2df58f2417f2ea7bfefe01c763e807

Bug: 154366158
Change-Id: I1bd54b6b85e44f3a9b00320940cc42769ffe0304
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
d19c6bc30a sm6250-common: build usb hal from source 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
a43677e99a [BLOBS] sm6250-common: remove prebuilt usb hal 2020-12-05 00:36:18 +02:00
Paras Nagda
1b95f54db3 sm6250-common: media: finetune performance xml
Fine tuned the performance xml based on the
CTS results for VP9 decoder

Change-Id: I096172346200a7adaca2ad32cf90fc24b1e69a30
2020-12-05 00:36:18 +02:00
Paras Nagda
dc85230a20 sm6250-common: media: finetune performance xml
Fine tuned the performance xml based on the
CTS results.

Change-Id: If390137615e6e56fbe16e5d0e0ece0bf9295a148
2020-12-05 00:36:18 +02:00
Paras Nagda
f0c9b82da5 sm6250-common: media: Update perf-points for sw encoder and decoder
Update the performance points values for sw encoder and
decoder components in media-codecs xml file for gsi.

Change-Id: I424a5716732b917df56935e057107c6329cb31c8
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
4c06979cbd Revert "sm6250-common: media: Update codec performance points"
* for cleaner R update

This reverts commit https://source.codeaurora.org/quic/la/platform/hardware/qcom/media/commit/?id=643564b841243317e073666be2aa98a31957ca26.
2020-12-05 00:36:18 +02:00
Dikshita Agarwal
af8c1733a1 sm6250-common: media: remove divx/xvid support from swcodecs
- Remove divx/divx4 enteries from XML files.

Change-Id: I09e2a59bf2edfec1a7a9e8d1b22db58c9aee7afb
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
7434303b02 sm6250-common: build media stack from source 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
50ea7a5bad [BLOBS] sm6250-common: remove prebuilt media blobs 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
50a6e2c731 sm6250-common: import media configs to device tree 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
37cb7fa12d [BLOBS] sm6250-common: remove device-specific media configs from prebuilts 2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
4f84ad1ece sm6250-common: copy google media codecs from frameworks/av 2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
f7c4d0d30b [BLOBS] sm6250-common: remove prebuilt google media codecs 2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
0b3f00ebe2 sm6250-common: build renderscript hal from source 2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
206703de98 [BLOBS] sm6250-common: remove prebuilt renderscript hal 2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
65208feaa4 sm6250-common: rootdir: override hwcomposer service
* CAF ¯\_(ツ)_/¯
* See https://source.codeaurora.org/quic/la/platform/hardware/interfaces/commit/?id=73a427f95e231a46c2274d51abfec21bd2d316f1
2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
c77d151a58 [BLOBS] sm6250-common: restore libdisplayconfig for WFD
* it was renamed to libdisplayconfig.qti in R
2020-12-05 00:36:17 +02:00
Padmanabhan Komanduru
f3a6d56e3f sm6250-common: Remove display components from manifest
Move composer, IDisplayConfig to LOCAL_VINTF_FRAGMENTS to
remove cross-component dependency.

Change-Id: Ibd04eeb889603278740b8df05da060b31ed42229
2020-12-05 00:36:17 +02:00
Baldev Sahu
228833cd7a sm6250-common: Remove allocator and mapper from manifest
Move allocator and mapper to
LOCAL_VINTF_FRAGMENTS to remove cross-component dependency.

Change-Id: Ib5307ca9d48537a75d4497b9a9e48cdbf008475b
Signed-off-by: Baldev Sahu <bsahu@codeaurora.org>
2020-12-05 00:36:17 +02:00
LuK1337
b1112f918d sm6250-common: Prepare for LA.UM.9.1 display HAL
Change-Id: I3501d4bd6075db39aca03137c6670c0e009d2806
2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
c67aef45f7 sm6250-common: build display stack from source 2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
79edc1bac5 [BLOBS] sm6250-common: remove prebuilt display stack 2020-12-05 00:36:17 +02:00
Kyle Lin
c615731c6d sm6250-common: adjust thread count and cpuset after setup wizard
Test: Forrest appinstall test
Bug: 149395059
Change-Id: Ia3f09b817daf36a3ac81f871675fbb1cbd2f6bb5
2020-12-05 00:36:17 +02:00
Karthik Gopalan
9d26cd31ec sm6250-common: Set lmkd.reinit property from vendor init
Set lmkd.reinit property to 1. This will trigger
reinit of lmkd service.

CRs-Fixed: 2692843

Change-Id: Ib946b01ca1dc013f0148ca702e4d550cde32b6c2
2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
42402b7702 sm6250-common: rootdir: don't enable a2dp offload from rootdir
* this breaks a2dp toggle
2020-12-05 00:36:17 +02:00
justinweng
b8dbd31d09 sm6250-common: audio: offload 24 bits playback supports mp3/aac format
compress_offload_24 supports mp3/aac format

Bug: 132425237
Test: mp3 playback

Change-Id: I5742db45908f9d600cab0fef62badf447fc5c585
Signed-off-by: justinweng <justinweng@google.com>
2020-12-05 00:36:17 +02:00
justinweng
6e3ae51fdc sm6250-common: audio: update audio_io_policy for VoIP
Add VoIP Tx app type config for pcm and low-latency captures.

Bug: 133297310
Test: make a voip call

Change-Id: I5dd67167b7568fd08a7ae979b50417f2627dc7d9
Signed-off-by: justinweng <justinweng@google.com>
2020-12-05 00:36:17 +02:00
Daniel Micay
991d688450 sm6250-common: fix hw_random permissions 2020-12-05 00:36:17 +02:00
Kyle Lin
59f9d88074 sm6250-common: enable cortex-A76
Bug:142345573
Test: build , boot to home, do the benchmarks
Change-Id: I73c5042712da29d5cb63586bc4d145a770df074d
2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
cd2c0611fe sm6250-common: enable fluence mode
* this fixes incall mic for oss audio hal
2020-12-05 00:36:17 +02:00
Shalini Manjunatha
39f2077781 sm6250-common: configs: Remove TelePhony Rx from primary input
Remove Telephony Rx to make in call record use case through
different front end pcm device when sva enabled to solve concurrency
capture issue

Change-Id: I8a036423da689a4de9abe767a0b6a595b4e068f1
2020-12-05 00:36:17 +02:00
LuK1337
6f56a15ead sm6250-common: Don't advertise vorbis offloading support
* Doesn't work at all.

Change-Id: I8cd6341b240c3820dbbdef497e23e785b6ed99dc
2020-12-05 00:36:17 +02:00
Samyak Jain
241bbfee1a sm6250-common: audio: Remove 2 instance support for "primary input"
As FM app no longer uses app loopback,
2 instances of "primary input" is not needed

Change-Id: I7d5e941e916bdf221798ca89360e4751d4af322b
2020-12-05 00:36:17 +02:00
Mingshu Pang
84b08566ad sm6250-common: audio: Add fast input profile for the record concurrency
If two recording apps both select the primary input with
fast flag, second app will fail to start because the hal
doesn't support two inputs with the same use case if input
can't be reused since of the limit of primary input's max
open count.

Add the dedicated profile for “low-latency-record” to make
the first input can be reused if possible.

CRs-Fixed: 2550228
Change-Id: I233bd3eaf614b195df0a41402747f496d3a56b44
2020-12-05 00:36:17 +02:00
Danny Lin
08fb70c84d sm6250-common: Use EXPENSIVE_RENDERING power hint for blurs
We need to boost the GPU for smooth high-radius blurs as blurring is an
expensive rendering job.

Change-Id: Ia3968313601d2b04ce50c01ee61dc9944ee26187
2020-12-05 00:36:17 +02:00
Danny Lin
b0dea6e2e7 sm6250-common: Enable compositor background blurring
This allows us to create a "glass blur" look throughout the system for
improved visuals.

Change-Id: I77bb13a5711b05b43acf25e12abd9a2f5cd2502d
2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
79b05ee9e0 [BLOBS] sm6250-common: override liba2dpoffload as well
* stock audio hal doesn't like the one we compiled
2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
03808516a1 sm6250-common: add system_ext partition flags 2020-12-05 00:36:17 +02:00