Commit Graph

203 Commits

Author SHA1 Message Date
electimon ed1167bf41
common: Introduce alarm component
* Based upon LA.UM.9.14.r1-21000-LAHAINA.QSSI12.0
             LA.QSSI.13.0.r1-09700-qssi.0

Change-Id: I7085e5686c6cc2d63a62f84557bc1bac3d579e67
Signed-off-by: electimon <electimon@gmail.com>
2023-06-08 19:49:10 +09:00
Pritama Biswas 4b413f61dd vendor: init: Add permission for brightness sysfs for eDP
Change-Id: I211ba4f0bb6b2fbfe30009e4cd7d38581a451e67
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-06-04 13:46:12 +00:00
Jprimero15 540f8fe0bf common: components: Drop QCOM WFD legacy
* Does not work on A13 anymore
* legacy devices should use AOSP WFD instead.

Change-Id: I05b834b39720bb2b224eaaab24bb76cf9136ddb9
Signed-off-by: Jprimero15 <jprimero155@gmail.com>
2023-05-28 01:28:22 +00:00
electimon 0e822f7572 common: vendor/display: Only copy feature enabler rc for lahaina
test: Observe no crashing on holi due to missing QSEE app.
Change-Id: Ia56f3e13c99a4f90f6fecd9888ee429e444b2fa3
Signed-off-by: electimon <electimon@gmail.com>
2023-05-27 07:42:08 +00:00
Jprimero15 15172436cc common: vendor/init: Don't configure QTI Bservice here
* even with 2gb ram this is too agressive.
* let it be configured on perfconfigstore only because we can also set it per ram size there.

example:
<Prop Name="ro.vendor.qti.sys.fw.bservice_age" Value="5000" Ram="3" />

Change-Id: I94b98ebc400ac52eef735e6fcbf9ffd5d9eb9265
Signed-off-by: Jprimero15 <jprimero15@aospa.co>
2023-05-26 23:41:06 +00:00
Kumar Anurag Singh 0100f737fd vnedor: init: ueventd.rc: Add permissions for msm_lsm cdev
permissions are required for sthal communication
with kernel module to work.

Change-Id: I6f3daed36d20f70ce0fb789cc9142a4cd5a3923f
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-25 21:30:46 +00:00
PRANAY BHARGAV BHAVARAJU 7890290317 vendor: init: Avoid setting permission for /dev/hw_random
Below patch from system/core is setting required access policy
for /dev/hw_random. And CTS test is updated accordingly

https://android-review.googlesource.com/c/platform/system/core/+/2229337
https://android-review.googlesource.com/c/platform/cts/+/2232052

Change-Id: I762dfa3b1e84dee6c49fc178b5b75cf1c134cfb7
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-25 21:30:12 +00:00
Alex Sarraf ada7f8f654 vendor: display: Disable SF client composition cache for <5.4 targets
Disable SF client composition cache. Helps with framework
client target fence management.

Change-Id: I73e03e76f51d00fafad38479be00f4005be50665
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-23 16:59:23 +00:00
Yuan Si 151877f57a media-legacy: Replace LOCAL_COPY_HEADERS with headers lib
Change-Id: I4aa16a6aeabc878ae240776e823dff9a776032b3
Signed-off-by: Yuan Si <do4suki@gmail.com>
2023-05-21 16:29:36 +00:00
Cyber Knight f545a4912f vendor: perf-legacy: Enable CLO Userspace LMK
- This should improve the CLO LMKD experience.

Change-Id: I5def897ceb21202375f470da719194bc45fc4bab
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2023-05-20 14:13:46 +00:00
electimon e1f1099f6d Revert "vendor: audio: Copy audio_tuning_mixer_tavil to more paths"
* Not every device uses tavil based sound card, also
  the tuning txt contains settings specific to the
  tavil sound card so it makes no sense to copy it
  on all devices.

This reverts commit 5bb9c8399f.

Change-Id: I4fb2b9a9be435cbb8debaff2121aa5a676795eda
2023-05-18 02:42:07 +00:00
Naman Jain 2b5c9202c7 vendor: init: ueventd: set permissions to rawdump node
move permission setting logic from init rc file to ueventd rc file.

Change-Id: Ifbb555affd9200eb3d2fb3e405fc81a266df9f5e
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:54:40 -04:00
Vamsi Krishna Gattupalli b4c372fc66 vendor: init: Disable cdsp daemon if cdsp defective
To disable cdsp daemon by checking value of node
fastrpc_cdsp_status which is set after checking if
NSP is defective.

Change-Id: Ic97aac8bf1c9fc392f96f9bb94e6f5097ce12700
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:54:19 -04:00
Pritama Biswas 454103512e vendor: init: ueventd.qcom.rc: add permission for HDMI CEC.
Change-Id: I7ee3146aa0d24468061c89ce8702e8c174fbe172
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:53:48 -04:00
Chandan Gera c5672c3d28 vendor: init: Add Permission for HDMI bridge driver
Add Permission for HDMI bridge driver

Change-Id: I6402686d44e7349dbc313f8b53071a7aed5a1d16
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:53:32 -04:00
Anand Abhishek Singh 8a3a1e954b vendor: init: Remove media related property
This property is  already set in Video HAl

Change-Id: Id0e062531c07547adf366dd0a3ccaf42e5f0b350
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:53:13 -04:00
chrisl7 329ee1e6aa vendor: init: Cleanup neo and anorak resources
Change-Id: I5f14b0a5a7272bc52b558b0c159af1e21811a3e5
2023-05-14 06:52:41 -04:00
chrisl7 0bf43c11b1 vendor: media: Update media-prop to LA.VENDOR.13.2.1.r1-06400-DIVAR.0
Change-Id: I22f2f6258b456af3574343e2613530a344636086
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:52:10 -04:00
chrisl7 4eff4e10c0 vendor: perf: Update perf configs to LA.VENDOR.13.2.1.r1-06400-DIVAR.0
Change-Id: I11f89cb863b073b25282a534cf5fc0a3c7857bcf
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:51:55 -04:00
chrisl7 f0a254e386 vendor: init: Update kernelscripts to LA.VENDOR.13.2.1.r1-06400-DIVAR.0
Change-Id: I6aaa8a02be7967790590092f18b9929f0f4e5b62
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:51:18 -04:00
Sandeep PR ed2005e570 vendor: init: ueventd:: Give audioserver permissions for virt-eavb
Change-Id: Ic4c20c4a3dd7058f3b711c2dcd63b6904ce725c4
Signed-off-by: Sandeep P R <quic_spr@quicinc.com>
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:50:50 -04:00
Sitong Chen b5c0a1f060 vendor: init: ueventd: set permissions for virt_sndcard_ctl node
gsl_fe needs to access and ioctl with virt_sndcard_ctl node,
set permissions in ueventd.qcom.rc

Change-Id: If8380dbb911ede7b9d2e943402a54613b9547daa
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:50:34 -04:00
Richard Raya 5bb9c8399f vendor: audio: Copy audio_tuning_mixer_tavil to more paths
- These platforms have audio_tuning_mixer_tavil.txt instead of audio_tuning_mixer.txt however there are still checks for audio_tuning_mixer.txt.
- Copy the audio_tuning_mixer_tavil.txt from these platforms to audio_tuning_mixer.txt as well to resolve the log below:

MCS-RT-CTL: Can't open the configuration file /vendor/etc/audio_tuning_mixer.txt

Change-Id: I61e743fc0cb89990b87a10a56b55c244a0ff0362
2023-05-14 06:50:18 -04:00
chrisl7 54d66a119a vendor: charging: Add condition to use AIDL QTI healthd-ext
Change-Id: I55f97b28bd59dfde6c1f7bd758744b128a412aee
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:50:04 -04:00
Richard Raya f02c874e9a vendor: charging: Build QTI healthd-ext HIDL interfaces
Change-Id: I0f62499fe19ae06fe89201bdf8f344c49b81792b
2023-05-14 06:49:51 -04:00
Richard Raya 0238ca328f vendor: charging: Move charger service to charging component
Change-Id: I7a10d03334711837b1d6f069c59086027e9cf119
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:49:38 -04:00
Gagan Malvi db9f790ab3
vendor: perf-legacy: configs/sm6150: GameOptimizationFeature: Add MinDDR config
Change-Id: Ic2075501f336c94b60627a12e851e06e1a28bf4c
Signed-off-by: Gagan Malvi <malvigagan@gmail.com>
2023-05-10 07:48:32 +00:00
Gagan Malvi f9c15ac524
vendor: perf-legacy: configs/sm6150: perfboostsconfig: Add app resume boost
Change-Id: Ie71387bb0442b67d4a40afadd0ce8755856be252
Signed-off-by: Gagan Malvi <malvigagan@gmail.com>
2023-05-10 07:48:16 +00:00
Gagan Malvi fa2f0bc421
vendor: perf-legacy: configs/sm6150: Enable IO cgroups
Change-Id: I67074fd473d0faba533b12357e171c98fa7f285e
Signed-off-by: Gagan Malvi <malvigagan@gmail.com>
2023-05-10 07:48:02 +00:00
Adithya R 096a1df50a
vendor: perf-legacy: configs/sm6150: Enable IOP v3
Change-Id: Ie4865b0c23cdff27da75ec743911a5e4b3899965
2023-05-10 07:47:57 +00:00
chrisl7 803ea991da vendor: media: Revert 306d32cedc
[1] - C2 audio service is requesting AGM and PAL services in the logs, and this is only found in audio-ar.
      Then revert bengal to media-legacy

Change-Id: Iab5eb30f8c79976ae4f4a768da4a9228a7d6d1db
2023-04-22 19:15:16 +00:00
chrisl7 754f1688e5 vendor: init: Move qrtr service to legacy.rc
[1] - https://gerrit.aospa.co/c/AOSPA/android_device_qcom_common/+/28602

Change-Id: I370c5c37a02714a25f3e80b224456ec86298f6df
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-04-17 10:42:49 +00:00
Phani Deepak Parasuramuni 9cbf5ca1d2 vendor: init: create device nodes for CMA and DMA
Change-Id: Ied8a09d18e989ab265276bd1391bde74d5bda195
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-04-17 10:38:29 +00:00
Jake Weinstein 86bfaffa80 vendor: media: Declare QConfig 1.0 for 5.4 and VPP 2.0 for 5.4+
Change-Id: I22245de3a307e4bb037a2dedc05d3120bd83a1f2
2023-04-15 09:08:06 +09:00
Jake Weinstein de64015628 vendor: display: 5.4: Add missing binaries
Change-Id: I14b03e1522be19ac7052f1dc160e184c42629576
2023-04-14 18:57:55 -05:00
Jake Weinstein 7ace9938a4 perf: msmnile/kona/taro: Do not allow foreground tasks to run on CPU7
Gold+ cores use significantly more power than Gold cores.
Only allow top-app tasks to run on Gold+ to save power
and prioritize the most critical threads.

Change-Id: I95e5e18dfe0e5b6818eee1c589a22959bea4868a
2023-04-12 17:20:40 +00:00
Jake Weinstein d4929d335d perf: Disable multiple kswapd threads
https://lore.kernel.org/lkml/20180403133115.GA5501@dhcp22.suse.cz/

Change-Id: Ifc72726ad3c44bc0838d78031f70971f0677cd0e
2023-04-12 13:51:58 +00:00
Jake Weinstein 74991f5d4f perf: Wait until post-boot to lower foreground cpuset on lahaina
This could regress boot time.

Change-Id: I4ffabfb92b71b5d239c4f185bf9043d0c52c208e
2023-04-12 13:47:31 +00:00
Adithya R a2cdb3cac0 vendor: Move perf init script to init component
Makes no sense to duplicate it across both perf components.

Change-Id: I954fc77155ad5a6a1ea421b57d26c2f0f4514b69
2023-04-09 19:42:02 +00:00
Kunmun 722f92ead4 vendor: wlan: Drop wifi factory test mode services
Change-Id: I814a75f6d2a4b74fc5a00dcac10347ec59a2cf4c
2023-04-09 06:15:55 +00:00
Kunmun 7ba29265fe common: Drop system and vendor tag definition
There are different tags being used in different
components, hence this doesn't makes much sense.
Also, the mentioned tags are outdated with respect
to what the components are using at the moment.

Change-Id: Ie6d60343e2beec37ac0c9fe911bc12a26146bcee
2023-04-09 08:31:33 +05:30
chrisl7 ad96d8dfed vendor: charging: Build libsuspend
[1] - Required for offline charging on some devices

Change-Id: I612a8cebd63b64e1ba47fda6a16b86cc85c63569
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-04-06 02:34:48 +00:00
electimon 311dcdd617 common: vendor/dsprpcd: Move sscrpcd to class core
* If sscrpcd start early, the dsp it runs on
  isn't ready yet.

test: Notice reduction of
      "Error 0x200: apps_dev_init failed for domain 0, errno No such device"
      in early boot logcat.
Change-Id: Ib3ec232677e4831262de631f5ccd9dfa6008f6a0
Signed-off-by: electimon <electimon@gmail.com>
2023-04-06 01:48:29 +00:00
electimon d1024c9f0a common: vendor/dsprpcd: Remove libsnsapi.so
* sensors.ssc.so and libsnsapi.so is canonically
  modified by OEMs to allow custom sensors,
  sensors.ssc being the library that holds sensor
  implementations and libsnsapi holding sensor
  proto files also loaded by sscrpcd

Change-Id: I676fb3f988b02b3289d6efaad510094dafbf5bfd
Signed-off-by: electimon <electimon@gmail.com>
2023-03-18 21:59:29 +00:00
chrisl7 780cbb760c vendor: media/media-legacy: Add vppservice_interface prebuilt_hidl_interfaces
[1] - https://gerrit.aospa.co/c/AOSPA/android_device_qcom_common/+/28005

Change-Id: Ia433be924f34352aebe7d40fed5e95f76999a445
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-18 11:28:53 +00:00
chrisl7 5fd9daca33 vendor: perf-legacy: Remove monaco and taro configs on perf-legacy
[1] - monaco and taro always uses 2.3 hal and only perf component

Change-Id: Idff89e0d56a326b29d30db467c411938fd80ab56
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-14 13:53:58 -03:00
chrisl7 cecac494a3 vendor: media: Import media_codecs_c2_audio from LA.VENDOR.1.0.r1-20500-WAIPIO.QSSI13.0
Change-Id: I14cb0606c7786b215f91a0cbebe0b6e4183edc6d
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-14 13:53:58 -03:00
electimon 9e591338e2 common: vendor/keymaster: Include gatekeeper vintf fragment
Change-Id: I55c50119e26989ff1fbed2df7b6798b20fe9cd4f
Signed-off-by: electimon <electimon@gmail.com>
2023-03-14 15:21:55 +08:00
chrisl7 4d6813af3b vendor: init: Remove rawdump definitions on legacy script
[1] - Add on  https://gerrit.aospa.co/c/AOSPA/android_device_qcom_common/+/28048/4

Change-Id: I79510bcddbd298620c6b3f264e83aa10acbc922b
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-14 01:16:51 -03:00
chrisl7 7ce8cc2a2a vendor: init: Add missing nodes on early_boot.legacy script
[1] - f9f83796b3
[2] - https://gerrit.aospa.co/c/AOSPA/android_device_qcom_common/+/28047

Change-Id: I8ecf688a99ed57bc1134b7f6b717694b87d62e8c
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-14 01:16:51 -03:00