Commit Graph

604 Commits

Author SHA1 Message Date
Arian
da8bb7dbb8
sm6150-common: Import missing libops.so
This is required with blobs and firmware from global stable Android 11 builds.

Fixes this error:

05-31 00:05:23.600   687   687 E QCOM-OEMCrypto: Error at trusted_app_decrypt_cenc : 2563
05-31 00:05:23.600   687   687 E QCOM-OEMCrypto: TA Result : 45 OEMCryptoResult : 38
05-31 00:05:23.601   687   687 I QCOM-OEMCrypto: -----------------------------------------------------------------
05-31 00:05:23.601   687   687 I QCOM-OEMCrypto: Error stack trace[5] for TA version 1:71
05-31 00:05:23.601   687   687 E QCOM-OEMCrypto: 	 drm_get_ops_obj : 1174
05-31 00:05:23.602   687   687 E QCOM-OEMCrypto: 	 drm_enforce_hdcp_level : 1204
05-31 00:05:23.602   687   687 E QCOM-OEMCrypto: 	 validate_key_control_for_decrypt : 1216
05-31 00:05:23.602   687   687 E QCOM-OEMCrypto: 	 process_subsample : 1403
05-31 00:05:23.602   687   687 E QCOM-OEMCrypto: 	 i_widevine_session_decrypt_cenc : 1739
05-31 00:05:23.602   687   687 I QCOM-OEMCrypto: -----------------------------------------------------------------
05-31 00:05:23.602   687   687 E QCOM-OEMCrypto: Error at decrypt_data : 1874
05-31 00:05:23.602   687   687 E QCOM-OEMCrypto: Error at _oecc48 : 2322
05-31 00:05:23.602   687   687 E QCOM-OEMCrypto: Error at _oecc105 : 3119
05-31 00:05:23.602   687   687 E WVCdm   : [crypto_session.cpp(1541):Decrypt] OEMCrypto_DecryptCENC failed: status = 38
05-31 00:05:23.602   687   687 E WVCdm   : Decrypt error in session sid8 during a sample with protected data: 179

Change-Id: Icb7467e1e4b4e9260c34ac7a0bda6f48e5c6f34a
2021-06-18 18:34:30 +02:00
Arian
8ab4fcd576
sm6150-common: Include c2 manifest from media HAL
Change-Id: I9ea0322af97284ef4b995df185d0c827285c7194
2021-06-18 18:34:30 +02:00
George Gao
111ebf4c14
sm6150-common: media: Use omx raw decoder on 24bit pcm playback
Use omx pcm decoder to decode 24 bit pcm files

Change-Id: I28938afcb1d18bc85a0e2c77786bf15aff91a196
2021-06-18 18:34:30 +02:00
Arian
eb012499c5
sm6150-common: media: Apply xiaomi's media codecs tuning
Change-Id: I85435c5a63a85330ce6a7b365d9fdf90446e7bee
2021-06-18 18:34:30 +02:00
Arian
c0604d8e7d
sm6150-common: media: Import configs from LA.UM.9.1.r1-09600-SMxxx0.0
Change-Id: I8dedddcf6a27b93c67623ab26585e60287df26bd
2021-06-18 18:34:30 +02:00
Arian
37495bd2ac
sm6150-common: Use sdmmagpie_v1 media configs
* These are being used on stock

Change-Id: Iff4be00bb6d7559bea41986ccc72049015ac1bdf
2021-06-18 18:34:30 +02:00
Arian
690cccbaba
sm6150-common: Decommonize lights HAL and overlays
* toco and sweet don't have a notification light and since backlight
  control has been moved to hwc this HAL is not needed for these targets.

* Keep the HAL itself in common tree so that devices which need are able
  to build the lights HAL which is common for all targets with a
  notification light.

Change-Id: Ia4c3c96e49b5ce58f4f55b92a65321fb258f8975
2021-06-18 18:34:30 +02:00
Arian
d9a7822a99
sm6150-common: Update blobs from sweet V12.5.1.0.RKFMIXM
Change-Id: I1a2829db5a0e1b5640994ac36e1174b67a065628
2021-06-18 18:34:30 +02:00
Arian
31a323b5c6
sm6150-common: wifi: Update from sweet 12.5.1.0
Change-Id: Ida68a9fc01791a2c3caa1b3c07d83001dad2dbcc
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
LuK1337
b29f19ccdb
sm6150-common: Drop unnecessary fqnames from manifests
* These are only needed in case we want to
  advertise interfaces with different version
  than the HAL definition itself (see DRM).

Change-Id: I3a5c367730ef79ed6260b2d7142bb6ca9eaa4a92
2021-06-18 18:34:05 +02:00
Adithya R
28ff150926
sm6150-common: Get rid of megvii shim
This reverts commit ab51fafbdd.

Change-Id: I9c82f84ad4bd9edc0ee4a8c1742b4a3aaf4bd0a3
2021-06-18 18:34:00 +02:00
Adithya R
605de37605
sm6150-common: Decommonize cnss-daemon
* surya needs stock cnss-daemon to load j20 custom
   bdwlan firmware for 5ghz wifi.

Change-Id: I34a7165f20740858c92355e92e5db52291fc25aa
2021-06-18 18:34:00 +02:00
Arian
c8c613c3d7
sm6150-common: Exclude additional haptics devices from input subsystem
Change-Id: I4465c5afd2dcfa085367e4e9fad9f0e0fba67d1a
2021-06-18 18:34:00 +02:00
Fenglin Wu
e6e3bc7b76
sm6150-common: Add config to exclude haptics devices from input subsystem
Haptics devices which registers as input FF devices are not supposed to
be detected by input subsystem. Add excluded-input-devices.xml file for
input subsystem to exclude them.

Change-Id: I52dc6e502b29e2813299d073195a0991bb2cf692
2021-06-18 18:33:55 +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
Rasenkai
fb7663b4aa
sm6150-common: Add missing librice for soundtrigger
* This was removed during 90d2b593847cae4bc46ff33e8be8856a8a2a0735
  but was added back with Redmi Note 10 Pro blobs.

Change-Id: Id67d3d80454744c937e7fc0ca261e73979f0a160
2021-06-18 18:33:41 +02:00
Arian
bc384c8a64
sm6150-common: Add libadpcmdec for sound trigger
Change-Id: I99cff257c7a6068336870d5a6defb8a77f40da9f
2021-06-18 18:32:56 +02:00
Arian
783e9dfe36
sm6150-common: Update blobs from sweet V12.0.14.0
Change-Id: Ic06de82e723829339a4a38e0cf71e6f0740477eb
2021-06-18 18:32:32 +02:00
Arian
182b1dc663
sm6150-common: Remove wfdhdcphal service
Change-Id: I5237de894613a3565df16046083db4228a3713b4
2021-06-18 18:32:32 +02:00
Arian
5471dad5f8
sm6150-common: Remove Super Sensor/Photo ADSP modules
Change-Id: I44d39fa16f1e0416d3efca28ad8f743afea9cb53
2021-06-18 18:32:31 +02:00
Arian
a04fb57165
sm6150-common: Re-add shoebox and audio sphere effects
This partially reverts c77b652733 and fea051b9c7.

Change-Id: Id8519fc86e914ed2f5e9af14279fceaa6f97c35b
2021-06-18 18:32:31 +02:00
Arian
72b92051ad
sm6150-common: Decommonize audio libraries
Change-Id: Iccdc4ff0efd15d35b18f299f7dcc713b0b862476
2021-06-18 18:32:31 +02:00
Arian
237862f024
sm6150-common: Move btaudio_offload_if.so to audio section
* This is just a proprietary dependency of liba2dpoffload which
  is an audio extension.

Change-Id: Iacbbc2197f22ba1c61e4e749f100b08bb921edd9
2021-06-18 18:32:31 +02:00
Arian
7cd101a1d1
sm6150-common: Decommonize audio HAL
Change-Id: Icb5c9aae4f0a788bd39dcbc27a1a146c12cd3de2
2021-06-18 18:32:31 +02:00
Arian
484f6e5bf2
sm6150-common: Decommonize tfa98xx amplifier
Change-Id: I2deb6d5e7c12ca077e64eb87f64567163c84a250
2021-06-18 18:32:31 +02:00
Dhananjay Kumar
a25e0e9265
sm6150-common: rootdir: Update audio hal service override as per latest base service definition
Change-Id: I1c57ad2e448a95230a4adfff8fba94ffb0cddead
2021-06-18 18:32:31 +02:00
Arian
a75fe3e862
Revert "davinci: rootdir: Stop overriding audio hal 2.0 service"
This reverts commit 80bafc10ee.

Change-Id: I0d5d967d2a4a57c762abbcd34cda50efb686a0c3
2021-06-18 18:32:31 +02:00
Arian
4fd1fd2a1c
Revert "davinci: sepolicy: Unlabel audio_hw_socket"
This reverts commit af13479df1.

Change-Id: I532e78d5d5da2a1d2ebdf6723e92e603c4d1b7e1
2021-06-18 18:32:31 +02:00
Arian
d9a98b74d6
sm6150-common: Add all stock ADSP modules
Change-Id: I610c1cddab2eb043170711eb699b989cb1561b55
2021-06-18 18:32:31 +02:00
Arian
27700c723f
Revert "davinci: overlay: Enable STATE_DOZE_SUSPEND"
* We do not support different low power modes and handle doze lp1
  and lp2 the same in kernel which makes this redundant.

This reverts commit ba52828323.

Change-Id: Ie51dea708f157d1f0ba19f1b00dc8ce3cf892931
2021-06-18 18:32:31 +02:00
dianlujitao
5848b702e0
sm6150-common: livedisplay: Use modules from common implementation
Change-Id: Iafb9f6a56187beb574ca2eb9a97fb9c7e72893ce
2021-06-18 18:32:31 +02:00
Arian
6d05622ab1
sm6150-common: livedisplay: Uprev to 2.1
Change-Id: Icd9d97078cb339aaff04d7e0a52ce8b9b97d35de
2021-06-18 18:32:31 +02:00
Arian
afb4a21c3f
sm6150-common: livedisplay: Renamed AntiFlicker node
Change-Id: I9951abe702730435f840bf041b8cbcf3839fae79
2021-06-18 18:32:31 +02:00
Arian
83f9791ee2
sm6150-common: livedisplay: Add anti flicker support
Change-Id: Ieb91a3efe0fc124e120f95f5ec197aa3c5cecb14
2021-06-18 18:32:31 +02:00
Arian
72944d2612
sm6150-common: overlay: Remove adaptive colour mode
Change-Id: I4f36e2c874773c44161536b2f8dbf4cbb7325b84
2021-06-18 18:32:31 +02:00
Rasenkai
fbefbbb0d7
sm6150-common: power: Add NVTCapacitiveTouchScreen support
Change-Id: Ifd151f0642b495f80cc512d4fe19d1cfab97bcf8
2021-06-18 18:32:31 +02:00
raghavt20
6d7d3b5096
sm6150-common: Remove hard-code for ro.boot.bootdevice 2021-06-18 18:32:31 +02:00
Adithya R
113fdbeac4
sm6150-common: Do not set nosdcard characteristic 2021-06-18 18:32:31 +02:00
Adithya R
af5219144f
sm6150-common: Welcome POCO X3 - surya!
Change-Id: I259b0407aad28b2dc47ac874bdd13df6e2e0842c
2021-06-18 18:32:31 +02:00
Adithya R
2bd715b223
sm6150-common: rootdir: Add IR nodes to ueventd
Change-Id: I96b52f810a5e8e8ab7ec5e1335923e6622f2294d
2021-06-18 18:32:31 +02:00
Purushottam Kushwaha
58d33f1755
sm6150-common: Enable SAP+SAP for wifi hal interface
This enables support for SAP+SAP by enabling
QC_WIFI_HIDL_FEATURE_DUAL_AP build flag.

Change-Id: I5da3045598b486fdcff56fa3e42173cf53e0aa69
CRs-Fixed: 2262243
2021-06-18 18:32:31 +02:00
Michael Bestas
bd18886586
sm6150-common: gps: Lower debug level
* Kill logcat spam

Change-Id: I20d1f698d3c2d1b56e79f6eb6c5c17069e43c60f
2021-06-18 18:32:31 +02:00
Michael Bestas
f3e8480dc8
sm6150-common: Remove unused gps certificates
* They are used by xtwifi-inet-agent which we disabled.

Change-Id: I4fbf6e02276b508a27f320e630ddad3c9aada5a8
2021-06-18 18:32:31 +02:00
Arian
59684442f2
sm6150-common: Remove xtwfi-client and xtwifi-inet-agent
Change-Id: I232fd3b351f0e47b86f7d5d7b2a2bd0f28712d64
2021-06-18 18:32:31 +02:00
TheStrix
2ce94a5f9f
sm6150-common: gps: Disable xtwifi location services
* Disable XTWIFI

Change-Id: I70f39d8d611167f65bb3912590b05f8a8d121c80
2021-06-18 18:32:31 +02:00
Adithya R
97937bd5d5
sm6150-common: Sync earlycon kernel cmdline with CAF
Change-Id: I85067603b8fd233a35eca2195b12cc9763096ba2
2021-06-18 18:32:31 +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
Volodymyr Zhdanov
97896a108d
sm6150-common: Disable SF configstore
* it's finally deprecated in R
* ship disable_configstore because we have API level 29

Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2021-06-18 18:32:31 +02:00