Commit Graph

107 Commits

Author SHA1 Message Date
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
quick_sshakunt 8eb03a3a72 vendor: init: init.qcom.post_boot: Enable support for Gaming variant.
power tuning settings related sched and dcvs

Change-Id: I747e8bbb2cc88f188f7ee7bab17dfb2b57c610a1
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-09-09 09:24:29 +00:00
chrisl7 54b55eb453 vendor: bt: Build android.hardware.bluetooth.audio@2.1 again
[1] - It seems that for qti bt this should still be built with AIDL, to avoid problems with bt

Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Change-Id: I06c581c72a9f0f99331049740af934d96a0b59a7
2022-09-09 03:14:08 +00:00
Jake Weinstein e577f49325 init: Fix taro folder structure
Change-Id: Iabd2c1c1549eb4828f3211904e79759757b7b26a
2022-09-03 00:17:27 +09:00
Alexander Koskovich 346073a91a vendor: init: Fix "Invalid section keyword found" on ueventd
Change-Id: I8a3eb3abea82feb5e1a92cc859cd6498ee68666e
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2022-08-30 04:44:05 +00:00
Omkar Chandorkar 0965fbacd1 vendor: telephony: build missing interface for cne
- fixes F linker  : CANNOT LINK EXECUTABLE "/vendor/bin/mutualex": library "android.hardware.wifi.hostapd@1.0.so" not found: needed by main executable

Change-Id: I16362439c441219eb8cdd7721775e73d3e2e0066
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2022-08-29 20:23:05 +00:00
Jiyong Park 8101b263d0 vendor: bt: Switch BtAudio to AIDL
Test: m
Bug: 203490261
Change-Id: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
Merged-In: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-08-29 16:44:56 +00:00
Peng Xu 3aff499d36
qcom: wlan: Enable support for IEEE80211AX.
- This is to allow supporting WiFi 6 mobile hotspots,
  to be noted this is only supported on SDM865 and newer platforms.

Change-Id: Iab61bd12499968e8823b3078acd1c7b8bce46136
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2022-08-29 16:43:34 +09:00
Adithya R f5952c29b8 vendor: init: Install ueventd.qcom.rc to ueventd.rc
It's only loaded from /vendor/etc/ueventd.rc:
https://github.com/AOSPA/android_system_core/blob/topaz/rootdir/ueventd.rc#L1

Change-Id: I05d88bd7aab39bba1dd93b94989be3134280612d
2022-08-25 23:07:47 +05:30
Jake Weinstein b414ccad5a Revert "system: display: Setup soong configs for lights aidl"
We don't need to support multiple Android
Versions in the same tree, so revert to
avoid unnecessary complexity.

This reverts commit e11e8a5977.

Change-Id: I856b48f8120d4c8730bd591c1e5e9ab1226f48cb
2022-08-25 04:07:01 +00:00
Gabriel Biren 538f6e0473 vendor: init: Update init script to use Supplicant AIDL interface.
Bug: 196235436
Bug: 213271543
Test: m
Change-Id: I35ffd5390ba835e3b35e55ea38b27f1ab924b291
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-08-25 04:01:15 +00:00
Michael Bestas 831e893fcf common: Automatically add apk/jar/vintf fragments to PRODUCT_PACKAGES
Change-Id: Iaa9d66b0bbdc55f046ee1347cbf83c7eecebb35e
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2022-08-23 03:46:51 +00:00
Mathew Joseph Karimpanal 742f2dd5f1 vendor: init: ueventd.qcom.rc: Add lineptr_value drm sysfs config
CRs-Fixed: 3169765
Change-Id: Id4f1c62b835acc6f72da7827988e416902f83f02
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-08-22 17:25:04 +00:00
Jake Weinstein 44ed1c2718 bt: Remove guards for FM interface
libbt-hidlclient.so links against this
regardless of if FM is enabled.

Change-Id: I4b89491b148b1cbf5b359b8f1cf439c53d1272b4
2022-08-17 11:30:27 +09:00
Jake Weinstein a94b073a5f common: Add initial support for 5.10 targets
Change-Id: Id52edf0f17cbd65f9ea597dfd16cdd520ecb9bcc
2022-08-17 06:49:45 +09:00
Jake Weinstein fd22e2c264 bt: Build common packages
Change-Id: I3abc190d78bc02b4ffa85eea9c8c6cfa590035a5
2022-08-16 16:11:18 +00:00
Jake Weinstein 20cd8fabe8 audio: Build Qualcomm common audio overlay
TARGET_USES_RRO is used to guard the common audio overlay
in the audio HAL for recent chips. This enables
config_useDevInputEventForAudioJack

Change-Id: Ib1bde41434921fcd1b9001d02aeaa113d934e4bf
2022-08-14 11:12:10 +09:00
Jake Weinstein df9dffd8b1 perf: yupik: Use max frequency for main 2 second app launch boost
From Nothing Phone 1.

Change-Id: I6ac3dfb3e014286068cd6d46d00ed321df60521c
2022-08-12 06:21:11 +00:00