Commit Graph

2094 Commits

Author SHA1 Message Date
Alexander Koskovich 124511819b
common: audio: Disable audio HAL extensions.
* Was removed by CAF, we should follow.

Change-Id: I09a31f2179750cef1913bc7420ca28a164446778
2020-11-29 14:17:35 -07:00
Alexander Koskovich 4ecd8f8eeb
common: init: Update from LA.UM.9.12.r1-09300-SMxx50.0.
Change-Id: Ic33e7ec410bf9344202032fff045873b9b367950
2020-11-29 13:53:56 -07:00
Alex Naidis 26fb3a6a92
common: init: Override readahead to 128KiB after post-boot.
* Qualcomm decided to increase the read-ahead value to 512KiB [1].

 * This value resulted in frequent cases where read-ahead
   would be waiting for new I/O requests and thus ending
   up being synchronous rather than asynchronous.

 * As result, the main goal of Qualcomm's patch [1] which
   is to increase throughput ends up in a regression where
   read throughput is significantly lower than it ever
   would be with the recommended [2] read-ahead value.

 * This patch uses our existing loop in ramdisk to set
   the read-ahead value to 128KiB.

[1] https://source.codeaurora.org/quic/la/kernel/msm-4.19/commit/include/linux/mm.h?h=LA.UM.9.12.r1-09000-SMxx50.0&id=25d04e4ceb7c067907901842c223d62973d73a75
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/linux/mm.h?h=v4.19.160#n2397

Change-Id: I1980d904568fe4f1ce7b676452bcc44e4689f02f
2020-11-29 00:14:07 -07:00
Arian 628b695c85 common: Disable mount point symlinks by default
Since this was just included from
"common: Include QCOM AndroidBoardCommon"
a few days ago, there should be no impact on
legacy devices.

Change-Id: I97ebeb40eac0ae5592bca298dc42050f47812eb9
2020-11-29 02:08:43 +00:00
Jake Weinstein 05ae7dd4ad common: import BoardConfigQcom
Makes more sense here

Change-Id: Ib2b80d85236690f51f46ca34336f2ff4ac055238
2020-11-29 02:08:43 +00:00
Alexander Koskovich bfb0f67c7d
common: Update to LA.QSSI.11.0.r1-07800-qssi.0.
Change-Id: Id11473761ee9254d8eb45d8dca51b1abc33698da
2020-11-26 14:11:26 -07:00
Alexander Koskovich 094a29a014
common: Introduce a vibrator component.
Change-Id: Id37e2af91552fa656b6da5a11c108f1cf027fd88
2020-11-25 09:31:17 -07:00
Alexander Koskovich 6681d2a404
common: Swap common AndroidBoard include order.
* Went and did a derp.

Change-Id: I1ca4b829c73ea97546508e8d259abf395947b12c
2020-11-24 22:18:31 -07:00
Alexander Koskovich bcc4fc6830
common: Include QCOM AndroidBoardCommon.
* Has a couple things common to QCOM targets, mount
   points, and ION headers.

Change-Id: I2649e91f05b612a01877f0dd7ba300aec0461e8b
2020-11-24 12:08:42 -07:00
Alexander Koskovich 42bc486bb1 common: init: Revert 479952c641
* Was able to find a better solution.

Change-Id: Idfaf0aa46838b68d89297d5fca3b64dd73fd1d69
2020-11-22 06:35:32 +00:00
Alexander Koskovich 282c4a777c common: Add families for kernel versions.
* Wanted by some component checks, inspired by the way
   LOS handles families.

Change-Id: I63f0367ee7d6a1372c5d392bddbd3ec1153680a1
2020-11-22 06:35:32 +00:00
Alexander Koskovich e4ed545b95 common: Create a QTI USB component.
* Add in a script of our own to set product ID since
   QCOM's default is SOC based, e.g. KONA-MTP _SN:XXXXXXXX.

Change-Id: Ieede136b5dd8903dcfe2f41f59d5278df7b02ee6
2020-11-22 06:35:32 +00:00
Alexander Koskovich 40a5ab01d7 common: Create a NQ NFC component.
Change-Id: I6ebab18848b20d3c1848c0612b2196a1968b638b
2020-11-22 06:35:32 +00:00
Alexander Koskovich 45e7972be9 common: Create a WLAN component.
* Only pick up product makefile if it exists, some
   vendorless devices may be opting into all components.

 * Move BoardConfigWlan flags here as CAF's tries to
   include kernel modules that don't exist and this
   is a better solution than touching all of their
   BoardConfigs.

Change-Id: I16d49283f754e2c3dd1743ca85f3e625e8496e8f
2020-11-22 06:35:32 +00:00
Alexander Koskovich 513b7568d3 common: Create a media component.
* Only pick up product makefile if it exists, some
   vendorless devices may be opting into all components.

Change-Id: I3b564a20637c8a1ca4b4e54d829201d0d51f2561
2020-11-22 06:35:32 +00:00
Alexander Koskovich 83d6017f95 common: Import QCOM board utilities from LA.UM.9.12.r1-09000-SMxx50.0.
Change-Id: I77eee7bc8892d836e14564d99b13250b426ead35
2020-11-22 06:35:32 +00:00
Kuba Wojciechowski 57ab9d031a common: guard vendor/qcom/opensource/commonsys-intf includes
* non-caf roms don't have that repo causing the whole build to fail because of missing makefiles

Signed-off-by: Kuba Wojciechowski <nullbytepl@gmail.com>
Change-Id: Ief11b79e82da639118f64553c22d1e6a1326f282
2020-11-19 22:58:23 +03:00
Alexander Koskovich 6cc0103d68
common: init: Update to LA.UM.9.12.r1-09000-SMxx50.0.
Change-Id: Ia5c7bb37cb752846a062b0597376d52b9b585f94
2020-11-13 00:32:59 -07:00
Alexander Koskovich cc2e7e74a1
common: Update to LA.QSSI.11.0.r1-07500-qssi.0.
Change-Id: I6c2d30261395b2880d20a1d1ea1e37eaa03baf61
2020-11-12 23:44:28 -07:00
Jake Weinstein 95213832a0 common: remove reference to 1.0 Power HAL
Change-Id: I52126b84cb1d05aa6f76127bcf401c266f5e9c72
2020-11-08 06:32:48 +01:00
Jake Weinstein 8240544de0 common: ignore vendor modules if we're not building modules
Most build modules into kernel, this fixes errors like:
vendor/qcom/build/tasks/generate_extra_images.mk:244: error: writing to readonly directory: "/audio_apr.ko"

Change-Id: Ie45613c91f90f1e30340a5b173513c462e14d8b9
2020-11-02 05:11:54 +01:00
Alexander Koskovich b6862eb93f
common: overlay: Update from LA.QSSI.11.0.r1-06600-qssi.0.
Change-Id: Ieb4349bff020fd1a132cec3fd51083baffa17e37
2020-10-29 10:40:12 -07:00
Alexander Koskovich 13c5f465be
common: telephony: Remove MSDC_UI.
* On second thought, don't include this it appears to be user facing.

Change-Id: I7076a79e7ab44e077b9179c5496dceb2b0d4537d
2020-10-29 10:27:52 -07:00
Alexander Koskovich c7743f2530
common: init: Update from LA.UM.9.12.r1-08900-SMxx50.0.
Change-Id: Ia89315b272b6c948351babb153faaa096f02a7ae
2020-10-29 09:48:18 -07:00
Alexander Koskovich c7fdcb4209
common: Look through QSSI dump and find stuff we want to pull in.
Change-Id: I2bddc8cb1fc99f340d5b074870a5e908d70231fd
2020-10-29 08:17:03 -07:00
Anay Wadhera c3a4d504a0
common: include display HAL makefiles if they exist
Change-Id: If9c684ffe358d4ec012e71aface4077345e4f984
2020-10-28 18:14:13 -07:00
Jake Weinstein 6fca94be46
common: add libbeluga (Scudo performance optimization) to perf component
Change-Id: I6774fb91abf1f9f56d7283a0be9ee939a5a7a281
2020-10-27 16:48:32 -07:00
Alexander Koskovich 17b0a44d10
telephony: Add LTE broadcast library.
Change-Id: I3fbf67d2a56b278d5141cbabb56aceccd9bc6d2e
2020-10-27 16:48:07 -07:00
Alexander Koskovich e41457415d
Revert "common: only inherit display HAL makefiles if we build vendor"
* BoardConfig flags are not avaliable to components ATM.

This reverts commit b5a67f570a.

Change-Id: Ifc28f25bd8eac6871b36ae69dde115f512f1b18d
2020-10-25 10:05:18 -07:00
Anay Wadhera b5a67f570a common: only inherit display HAL makefiles if we build vendor
Change-Id: I3e732809feb2f1a34830095fdce97c55cfc63d74
2020-10-24 11:32:35 -07:00
Alexander Koskovich 479952c641
common: init: Split QCOM RC for Wigig NPT RC.
* Can't compile QCOM RC as a module if this exists
   in it because compile verifies the interfaces listed
   actually exist, and this one wouldn't exist in an OSS
   build.

 * Just keep it in mind when upstreaming this now.

Change-Id: I0b33e829d9e766724cd448fe571cd88614b1ebde
2020-10-20 13:18:53 -07:00
Alexander Koskovich 431020339c
common: telephony: Add some missing blobs wanted by QAS_DVC_MSP.
Change-Id: Ic14741f2c43a1da696a09a2f2c2caa974e352327
2020-10-20 12:51:21 -07:00
Alexander Koskovich d103e6d7e1
common: display: Also include interfaces.
Change-Id: Ic222681c83bbdcc0295243435dc8382e802c8a1e
2020-10-20 12:51:21 -07:00
Alexander Koskovich d9b56f06ea
common: av: Build libavservices_minijail.vendor.
Change-Id: Ie0993b9027049fc4ead39cddb64792a3b592db77
2020-10-20 12:51:21 -07:00
Alexander Koskovich 18b2d98d71
common: Add an option to pick up all of the QTI components.
Change-Id: I7325dcdd89e28c0df077e1df997cedd108e3ea12
2020-10-20 12:51:21 -07:00
Alexander Koskovich b41c9380fb
common: wfd: Add libwfdaac_vendor.
Change-Id: Ia042309906c8d33f0959838928763747dde4f2b2
2020-10-20 12:51:21 -07:00
Alexander Koskovich acd75a6e51
common: Update to LA.QSSI.11.0.r1-06600-qssi.0.
Change-Id: I2b4e5fcf5b07285a5ffd52fd59a2a3eb08498829
2020-10-18 11:14:10 -07:00
Alexander Koskovich c36e65455f
common: overlay: Remove MMS stuff.
* Also set priority to 700.
   - PA = 600
   - QCOM = 700
   - DT Common = 750
   - DT = 800

Change-Id: Ia33d73ae59d09c97ab450039b02febbded63fedf
2020-10-14 16:07:45 -07:00
Alexander Koskovich cfbd2c16b4
Add an initialization component from LA.UM.9.1.r1-08400-SMxxx0.0.
Change-Id: I49dbed09776c6d8437c4a749ee78849a5d8206e6
2020-10-14 09:06:10 -07:00
Alexander Koskovich 6dc01b2f24
audio: Enable AUDIO_FEATURE_ENABLED_AHAL_EXT.
* Build interface from source.

Change-Id: I487a9fda0ca473e92e86d7715b339b063a76afa2
2020-10-14 09:00:53 -07:00
Alexander Koskovich 6a706e0b60
common: Add an overlays component from LA.QSSI.11.0.r1-06200-qssi.0.
Change-Id: I6fc4494effa67f52126653867e23e90ad7f0c978
2020-10-14 09:00:46 -07:00
Jake Weinstein a7cf60681a common: opt-out of DLKM script if module install path is not defined
Change-Id: Ia8643c5ba1d77b15309e46b1269d18682b4a287c
2020-10-06 02:48:30 +00:00
SayanAcharya 18bd9b8039 common: telephony-diag: Fix typo
Change-Id: I7c513cf192c8923462af97a9de9055b0b162a4dc
2020-10-05 17:17:43 +05:30
Alexander Koskovich fec8087fb3
common: Introduce a diag component, and have telephony depend on it.
* This should not be called as a component independantly,
   only pick it up when we are using telephony component.

Change-Id: Ia1127ccbf1b684937e89a6c540c1c4e19d8dbe8b
2020-10-04 09:01:27 -07:00
Alexander Koskovich 44a4c0710d
common: audio: Make audio HAL include optional.
* Don't need the audio HAL on vendorless builds as
   it's primarily vendor modules.

Change-Id: Ibdd15d6e1ca31638b721a5d2c3701fb7f5e84ff1
2020-10-04 09:01:25 -07:00
Jake Weinstein d91165b1c0 common: audio: disable AUDIO_FEATURE_ENABLED_DYNAMIC_LOG
This depends on proprietary headers and is enabled on most
if not all recent chips

Change-Id: I421a0e362588cf89257109f1cc124e254cbb8a19
2020-10-02 16:54:29 +02:00
Alexander Koskovich f871c4ec19
common: Don't dump product config in the make output logs.
* Revert of 58ceb965d1.

Change-Id: I364eecede2f7b911c17071b5f3680091899fa440
2020-09-27 13:19:10 -07:00
Alexander Koskovich 492e836343
common: Fix possible DTBO directories.
Change-Id: Ia96933d0021058042c0845fb8a29f39fd4469f0d
2020-09-27 13:19:10 -07:00
Jyotiraditya 5941911c9f common: Switch to AIDL based power HAL service
Change-Id: Id375d27b2d85cdc874d9583344848d5fc6329aba
2020-09-26 13:50:24 +00:00
Alexander Koskovich 6454a3ac50
common: Add a couple makefiles from LA.UM.9.8.r1-02700-SDM710.0.
* DLKM for kernel modules, and a task to generate extra
   images, e.g. DTBO.

Change-Id: I9dceb8c786af6e42b4160a8e12f94b1d03df49ce
2020-09-25 18:25:50 -07:00