Commit Graph

124 Commits

Author SHA1 Message Date
Anay Wadhera b1e2ebf875 init: switch to aidl supplicant interface
Change-Id: Id84db47dd94e50010641337c4dcf956a4c4a6be8
2023-01-17 06:07:40 +00:00
Kaushik Sadashiva Reddy c8fcb80c2f vendor: telephony: Unset radio rat on property for 5.10 family
This is not needed anymore as RAT info is
passed in the results for network scan and
is being set as part of the API
setNetworkSelectionModeManual_1_5

Change-Id: Id9cbc34b7c854c52a71c0f209cc6fbf32eccff9f
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-01-15 13:00:08 +00:00
chrisl7 62eff19733 vendor: media: Add fastcv headers for bengal
[1] - hardware/qcom/media/mm-video-v4l2/vidc/venc/src/omx_video_base.cpp:46:10: fatal error: 'fastcv.h' file not found
         ^~~~~~~~~~
1 error generated.

Change-Id: Ie013727493ea6b8fa2a1345f16e6f713b5fd1c8f
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-01-15 03:09:49 +00:00
chrisl7 fdfcb22de2 vendor: perf-legacy: Update SocIds support from LA.UM.9.15.2.r1-06000-KAMORTA.QSSI13.0
Change-Id: I4e5e7ab2c1aebe1af9c443bd879c2663a26982ed
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-01-09 13:27:46 +00:00
Omkar Chandorkar 25f0132074
vendor: init: Restore support for setting Netflix property in runtime
- This is needed when 2 or targets are binary compatible,
  but have different Netflix proprty for device whitelisting.
- removed in f9f83796b3 (diff-bddfbea90d0ee4e67f976ff668dbb17413ae9703224b866961a7ad03b9305ee6L501)

Change-Id: Iddad3c75f95fc53a0175346e4b7800525359ca3a
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2023-01-09 14:04:32 +01:00
Jake Weinstein ac3d570e44 vendor: perf-legacy: Update perf configs to LA.VENDOR.1.0.r1-16000-WAIPIO.QSSI13.0
Skipping QAPE/QGPE for now.  Those require learning modules from
taro, which would be a separate commit.

Change-Id: I246ff2ba848b00ea779b9b93ca0ece9b3b3a5172
2022-12-31 06:26:15 +00:00
chrisl7 9a53912d32 vendor: perf-legacy: Set cpuset audio for perf-legacy too
[1] - I forgot that now we have two different folders

Change-Id: I545984810d986aae20d0d4dddf24bbb0f882f543
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-12-27 12:03:42 +00:00
chrisl7 6f6009dfdd vendor: audio: Build audioadsprpcd
Change-Id: I51accaf5bdec89bc4c31b6fe03b4b32d9242e2c9
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-12-27 12:03:32 +00:00
chrisl7 4ed3feafd3 vendor: media: Move bengal Codec2 prop definition to ODM
[1] - is set by default in media hal so we will create an override for that
[2] - https://git.codelinaro.org/clo/la/platform/hardware/qcom/media/-/blob/LA.UM.9.15.r1-06800-KAMORTA.QSSI13.0/product.mk#L31

Change-Id: Idea892c7b795461664afb0d5f04bb1d55494e8be
Signed-off-by: Wahid7852 <wahidzk0091@gmail.com>
2022-12-27 12:03:32 +00:00
Eruvaram Kumar Raja Reddy 35c1daff0d vendor: media: bengal: Enable Codec2 for HY11 builds
Add bengal tag to enable HY11 build.

Change-Id: I4f188ac06bf9bfd3f12baeeb5f2cbeab74ed675e
Signed-off-by: Wahid7852 <wahidzk0091@gmail.com>
2022-12-27 12:03:32 +00:00
Omkar Chandorkar e3abadc742 vendor: media: Set netflix revision irresepective of android version
- no reason why netflix support would just disappear with newer qssi

Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
Change-Id: I2c652781c1be4fcef1aaf87299f6a04d5091a1d5
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-12-27 12:03:32 +00:00
chrisl7 7d85224df7 vendor: media: Add bengal init.qti.media.sh for bengal
[1] - We are sending taro definitions on the vendor.

Change-Id: I3017aaf35794506b160f42c5d2783c7160699d7f
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-12-27 12:03:32 +00:00
chrisl7 64ab7f373c vendor: media: Add C2 audio props to bengal
[1] - From audio-ar

Change-Id: I73a0f8c1dd44a90073b66a98aac63a97d7f4e3ca
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-12-27 12:03:32 +00:00
chrisl7 9847232c0c vendor: media: Add missing definitions to bengal
Change-Id: I4044eb6f967f99a8db6dcbdf0ae7afd2b6e18c7d
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-12-27 12:03:32 +00:00
Adithya R 3f6106f53e vendor: init: Directly set modules prop instead of script
For some reason, even when KERNEL_MODULES_OUT is set
it's using the no_modules script. Avoid this and set
the modules.ready prop directly if there are no modules.

This partially reverts commit 93382fa26a.

Change-Id: I237c6b31f335a71913d24a9c15f9c120ac24b1ba
2022-12-27 07:45:14 +00:00
Adithya R b41a81da56 vendor: media-5.4: Add C2D libs
Needed by libqcodec2_utils.so

Change-Id: I63e05da6cf648518384a22fa8f1c81ce8ff0e97b
2022-12-23 00:39:13 +00:00
Alexander Koskovich 3fd7853104 common: Add support for non NQ NFC platforms
* NXP NFC is becoming increasingly popular as an alternative
   to NQ NFC, especially on the PN5xx platform. Add support
   for disabling NQ NFC in favor of NXP NFC. Rename QTI
   component to reflect this change.

Change-Id: I63dd29357943d6e5a31e479e98e6ff79df9b5124
2022-12-17 18:09:38 -05:00
Alexander Koskovich eea144a2c3 vendor: audio: Build vendor.qti.hardware.pal@1.0.vendor
Change-Id: I7b5ff9268b586330acf0f5662fd426b301638e4b
2022-12-17 22:37:06 +00:00
Vishalcj17 9a6cb6251b media: Fixup makefile inclusion for media-5.4
Change-Id: I9c9759d6f8af0df0bf23039358aadfac83b24a38
2022-12-17 03:34:12 +00:00
Yuanfang Zhang 2a0bb783eb vendor: init: Add support for byte-cntr1
The device under /dev/byte-cntr1 should be with permission
root diag.

Change-Id: Id5e45789995b706360742253fc93dc2304f70442
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-12-16 10:06:09 +00:00
chrisl7 e3aa82fd17 vendor: perf: Set common cpuset to audio-app
Change-Id: I5bd73a64b9c0be978fd7a55f6f79a8cdb7f72768
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-12-08 15:12:12 +00:00
chrisl7 b41f29e56e vendor: telephony: Add missing holi specific properties
[1] - https://git.codelinaro.org/clo/la/platform/vendor/qcom/holi/-/tree/LA.UM.9.16.r1-12500.03-MANNAR.QSSI12.0

Change-Id: I9661a3937cc44341f8fdb997d272d652646484f5
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-12-08 15:11:22 +00:00
Jake Weinstein aca789be51 vendor: media: Add prebuilt_hidl_interfaces for dist builds
Change-Id: I2f904f3e98af96e77c57963c85a41334dbcda840
2022-12-05 04:03:37 +00:00
Alexander Koskovich 327de13160 vendor: media: Conditionally update to LA.VENDOR.1.0.r1-16000-WAIPIO.QSSI13.0
For now, this is for 5.10 only. 5.4 and others may upgrade
at some point. Until then, 5.4 uses media-5.4
and pre-5.4 uses media-legacy.

Change-Id: I7dccc184f81d5b1733852397c59d36ca0c3489ca
2022-12-05 04:03:27 +00:00
Alexander Koskovich 5d7681d6fb common: wlan: Update to LA.VENDOR.1.0.r1-16000-WAIPIO.QSSI13.0
NOTE:
[1] - It is necessary to remove HIDL entry in Manifest:

fe498fe66e

Change-Id: I49f05ed43fabc42230a8039a4ffa79c57f2f2c97
2022-12-05 04:00:56 +00:00
Jake Weinstein 639161d061 vendor: perf: Conditionally update to LA.VENDOR.1.0.r1
Blobs are updated to LA.VENDOR.1.0.r1-16000-WAIPIO.QSSI13.0
Configs are updated to to LA.VENDOR.1.0.r1-15600-WAIPIO.0

This does not work yet on pre-5.10 SoCs.
Those SoCs will use the perf-legacy
component until that is fixed (or indefinitely
depending on the complexity of the fix).

Note: I am aware that there are conditions in perf
that only apply to legacy and conditions in perf-legacy
that only apply to perf. We need to nail down the
supported targets before I can clean up completely.

Change-Id: I7925042da82fac6e5353c1a4b1660b3ca9e128d7
2022-12-05 03:57:46 +00:00
Jake Weinstein 9749276e50 vendor: adreno: Conditionally upgrade to LA.VENDOR.1.0.r1-16000-WAIPIO.QSSI13.0
Currently, this only works on 5.4 and 5.10,
so pre-5.4 devices will stay on 5.4
binaries for the time being. This
renames components to the below:

adreno: 5.4/5.10 (LA.VENDOR.1.0.r1-16000-WAIPIO.QSSI13.0)
adreno-6xx-legacy: 4.9-4.19 (LA.UM.9.14.r1-20200-LAHAINA.QSSI13.0)
adreno-5xx: 3.18/4.4 (LA.UM.10.6.2.r1-01600-89xx.0)

Change-Id: I892e3b2e3c5c1d6d95d7c0ab4674075aa5546a3a
2022-12-05 03:57:25 +00:00
Jake Weinstein 19ec3eba9c common: Redo component selection logic
Maintainers should not need to manually select
the appropriate variant of a component for
their SoC. We know what does and does not
work for an SoC. Automatically select
the necessary component. This allows us
to be more flexible when new SoCs launch
and components may need to be renamed or
refactored.

Change-Id: Ibe9815ba7f70ec760c7b0cbd3771707af2e59854
2022-12-05 03:57:01 +00:00
Jake Weinstein 8cd49f2619 Force pre-5.10 devices to treat 170M as sRGB in SF
Bug: 229442032
Test: builds, boots
Change-Id: If144724a342be4a74f823aa25ff8a74fe3d2843a
2022-11-28 14:53:58 +09:00
Pullakavi Srinivas ea327c78f7 hwc: Disable SF composition prediction model on 5.4 and lower
CRs-Fixed: 3243885
Change-Id: I64f82a25768b561bb343fdb7686b7d6c020d024a
2022-11-28 14:53:13 +09:00
chrisl7 676c5a53ff vendor: init: Fix condition for init legacy devices
[1] - The old definition wasn't working, and init post_boot.sh and early_boot.sh
      was being used on legacy devices, which shouldn't happen.

[2] - Yes I've tried other ways to pin but only this worked.

Change-Id: I2b3f41b34ba6297fe1019773c2e7d5fd7d17d00c
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-11-15 22:05:38 +00:00
chrisl7 c9d8b8cf45 vendor: init: Fix Invalid section keyword found after f9f83796b3
[1] - 346073a91a

Change-Id: I8fc63f3bffb8db4fecd119c55b9b2afc6b2a0fff
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-11-13 16:54:12 +00:00
Jake Weinstein 2f16a29f0a perf: Set restricted cpuset to the same CPUs as system-background
system-background should only include efficiency cores
and restricted should do the same in order to save
power while the screen is off. Copy system-background
CPUs instead of hardcoding to account for platforms
with varying numbers of efficiency cores.

Change-Id: I3a46190a2fa76eb1e9061a605c6a2e74006975de
2022-11-09 03:38:48 +00:00
Jake Weinstein 93382fa26a vendor: init: Allow 5.4+ devices to boot without modules
init.qti.kernel.rc waits for vendor.all.modules.ready to be
set before finishing init. This is never set when there
are no modules present. Adding vendor_modprobe_no_modules.sh
to unconditionally set vendor.all.modules.ready and boot.

Change-Id: I59f9ae8408f1341469ab7dd02c2ad1222f711fae
2022-11-06 19:30:41 +00:00
Jake Weinstein 35bbde4eaf vendor: init: Add legacy scripts for pre-5.10 devices
This allows legacy devices to keep working with
new init without increasing maintenance or affecting
more recent SoCs.

Change-Id: Ia66fa4b044bc9d7f2fabe9a0f6e4b18f6f1189e9
2022-11-04 19:48:07 +00:00
Alexander Koskovich f9f83796b3 vendor: init: Update to LA.VENDOR.1.0.r1-17700-WAIPIO.QSSI13.0
Remove init.qcom.factory.rc because it is not needed.
init.kernel* and init.qti.* are from LA.VENDOR.1.0.r1-15600-WAIPIO.QSSI13.0

Change-Id: Ia16d51b80f402634bd918314ee3cf7691421668d
2022-11-04 19:47:51 +00:00
Jake Weinstein c6e82f947b vendor: Use new IPA on 5.10 only for now
5.4 has broken tethering settings on some devices.
Will revisit.

Change-Id: I6c526c8fe8202fda4c6e2c985f20c3d0730d8c65
2022-10-30 02:27:35 +09:00
Jake Weinstein 02d1308f78 vendor: Use legacy IPA for pre-5.4 devices
Change-Id: Ifcc13f9531e174157852cda0549ec350fc5f67bd
2022-10-29 02:17:31 +09:00
Adithya R eb257f0266 Revert "vendor: bt: Switch BtAudio to AIDL"
Unnecessary and causes issues (such as broken LDAC offload)

This reverts commit 8101b263d0.

Change-Id: I2a184ab87efda93df5e4f677b0d7e0c7c3b873a8
2022-10-23 15:48:40 +00:00
Jake Weinstein 2b93fe3d69 system: perf: Enable pre-rendering feature on all targets
This is not 5.4+ specific, it just depends on SurfaceFlinger
and friends.

Change-Id: Iafca16bce6e15feed54eab1df42315696999efac
2022-10-15 04:38:57 +00:00
Jake Weinstein 60e5273902 vendor: perf: Set beluga props for parrot
Qualcomm sets these in the parrot device tree.

Change-Id: Icabad1af381a13ef4b33cac2094b3182b66b8a8b
2022-10-15 03:29:16 +00:00
Jake Weinstein 70690661df Revert "Revert "common: perf: Enable the pre-rendering feature.""
This should be fixed by
7d7ab89f28

This reverts commit f4e58c414b.

Change-Id: If3c04a11d9f8d7595fd646233ee616ed1d38d0ed
2022-10-15 01:53:58 +00:00
Paras Nagda 3222c77066 vendor: init: init: early_boot: add socid for Divar Gaming
- Add soc id for Diwar Gaming,IOT
- Set target version to pick correct
  config file for Divar

Change-Id: I1a8d13645ed42db11a1c4c4441b34a20bc216c54
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-10-13 00:05:45 +00:00
Anand Jha 2a0aeb1242 vendor: init: Remove vendor.ril-daemon commands
Remove legacy rild vendor.ril-daemon services
commands as they are not used now.

Change-Id: Ib1a88d34dc73ff72f553b923e75ef084dd5d56f1
CRs-Fixed: 3262433
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-10-13 00:02:43 +00:00
Shashi Shekar Shankar c6fbb8af89 vendor: init: post-boot: Update copyright markings
Update copyright markings in post-boot.

Change-Id: If43fb4aa47a1d0c8cfe87df376f1002854b0480f
CRs-Fixed: 3281988
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-10-13 00:01:25 +00:00
Jake Weinstein 20e8108e16 vendor: display: Build AIDL Lights HAL for 5.10
Change-Id: Ica7aeabb15b67e7440a5542115c5aa4ff7065567
2022-09-20 04:02:25 +00:00
Jake Weinstein de4e6cb11f wlan: Enable 802.11ax for holi and taro
Change-Id: I807db64781c04cdb22925d669dd819ccc1d40c9f
2022-09-20 04:01:27 +00:00
Jake Weinstein 659c2d9042 vendor: init: Upgrade diwali config to LA.VENDOR.1.0.r1-16000-WAIPIO.QSSI13.0
Change-Id: If013293ec2f36d3fafb32ebf87d0588397176781
2022-09-13 16:10:33 +00:00
Jake Weinstein 4fd4b120ad vendor: perf: Update taro configs to LA.VENDOR.1.0.r1-16000-WAIPIO.QSSI13.0
Change-Id: I07b88b9dac563d65afe7e34c9781e3d99b509ee0
2022-09-13 16:10:14 +00:00
chrisl7 f24fd5491b vendor: bt: Build libldacBT packages
[1] - It is now opensource on A13

Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Change-Id: I9db9207f6e0a2047f9770645b1c7442a4d80590f
2022-09-12 16:49:29 +00:00