Commit graph

31 commits

Author SHA1 Message Date
Bharath
b5da8d5da2 msm8953: Split msm8953 from UM_3_18_FAMILY [2/2]
msm8953 has updated HAL projects. Make use of them.

This can be made use of by setting `TARGET_ENFORCES_QSSI`
to true.

Change-Id: Ib7ababd52470913c915f1da3d6b726eff2f38410
2022-05-02 16:38:15 +02:00
Arian
03503fee70 qcom: Drop unused media flags for UM 5.4 family
These variables are not used in media HAL anymore since sm8350

Change-Id: Iaa65fbd38ae79f24a24dc030e1eea5af83b8bdf3
2022-04-15 16:03:16 +02:00
Alexander Koskovich
c6b93b4b4e lineage: config: Set default values for UDFPS in display HAL
Change-Id: I4308facd2f1f9e56b1a922c6e7aa610a7cf56919
2022-03-18 19:36:32 +01:00
LuK1337
a585122d85 lineage: Add vendor/qcom/opensource/commonsys/display to soong ns
Change-Id: Ic9f5fb64a3cd7cfdd38c5caf38ee6e94ef9c8c73
2022-01-26 21:28:39 +01:00
Pig
ffb9554ff0 lineage: Add vendor/qcom/opensource/commonsys/system/bt/main to soong ns
Add one more product soong namespace to reflect S(QSSI 12) changes

Change-Id: I84580b04fd34bad35435753f917694a4dd1cc3b9
2022-01-23 23:43:14 +01:00
Arian
faeef6de96
qcom: Add new vendor display repository to soong namespaces for qssi supported platforms
Change-Id: Id9fe3a5393bc579564259c9e0699a6534fb896b5
2021-12-06 16:48:42 +01:00
Michael Bestas
a445f2a977
config: Cleanup additional gralloc bits
Change-Id: I4ba1638513c4e5c92ee9756bfbfe8a5ff93d04cd
2021-09-16 19:28:15 +03:00
JamieHoSzeYui
902f4474ba qcom: add lahaina platform
lahaina = Snapdragon 888

Signed-off-by: Aryan Sinha <sinha.aryan03@gmail.com>
Change-Id: Iaad90031451a9d1d3c8cbe8b61c1cf19717df4ee
2021-05-31 22:51:36 +02:00
TheMalachite
ec016fd19b qcom: Add bengal platform
Signed-off-by: TheMalachite <eliasgheeraert@gmail.com>
Change-Id: Ia9f602a1d6f109554c6462eaa02214c43b9295dd
2021-02-02 16:47:05 +01:00
Alessandro Astone
9f160e6e5f lineage: Commonize display_intf_headers for QSSI supported platforms
Change-Id: I7224c10295c4123222d81b92f7829502e3cc2d61
2021-01-07 11:21:54 +01:00
Michael Bestas
3aa50f85cf config: Add dataservices to PRODUCT_SOONG_NAMESPACES if needed
The mk files in vendor/qcom/opensource/dataservices were
converted to bp, so this is needed to avoid duplicate module
build errors on devices that use a different dataservices lib.

Change-Id: Ic5c1ad77342c045253cfd093c76706862ed6fd0e
2020-12-31 18:20:23 +01:00
Pig
f85f7e802b config: Setup soong namespaces for TARGET_USE_QTI_BT_STACK
To opt-in for QTI BT addons, enable TARGET_USE_QTI_BT_STACK in BoardConfig.mk

Reference: [https://github.com/LineageOS/android_vendor_qcom_opensource_bluetooth-commonsys-intf/blob/lineage-18.0/bt-system-opensource-product.mk]

Change-Id: I6bf3e1dda6fe5dc66f6fafdb32a1daecb9616c84
2020-12-26 19:16:08 +01:00
LuK1337
beb10414d2 lineage: Add data-ipa-cfg-mgr to soong namespace in BoardConfigQcom
Before:
  $ breakfast capricorn && m ipacm
  FAILED: ninja: unknown target 'ipacm', did you mean 'lpadd'?

After:
  $ breakfast capricorn && m ipacm
  * happily compiles *

Change-Id: Ib68978d4f287dcdea45fc21382af05b1890caca4
2020-11-01 11:29:01 +01:00
Pig
a98d12f8e3 soong: Add lineage soong config variables
Ref: https://android.googlesource.com/platform/build/soong/+/refs/tags/android-11.0.0_r4#soong-config-variables

Change-Id: Icaf35b65b63d4245c92e39ce628bb8d6ffd0d4bb
2020-10-16 14:47:33 +01:00
LuK1337
80b922cb08 soong: Add SOONG_CONFIG_DATASERVICES_USES_PRE_UPLINK_FEATURES_NETMGRD
* See: https://android.googlesource.com/platform/build/soong/+/refs/tags/android-11.0.0_r4#soong-config-variables

Change-Id: I332dcd289d9617938738d1959daee106439de5c6
2020-10-14 18:41:15 +02:00
LuK1337
b82776e2a4 qcom: Add UM 4.19 platforms
Change-Id: Ida4861b95b0b9748ef3848674b7121010126dd3d
2020-06-25 20:17:38 +02:00
TheHitMan7
eb18aa6af9 qcom: Add atoll platform
Signed-off-by: TheHitMan7 <krtik.vrma@gmail.com>
Change-Id: Idc74d064620649e7423a2fee076da8bd43e1cbd3
2020-06-25 20:16:52 +02:00
Andrew Hexen
8d08a5f96c BoardConfigQcom: Allow a device to opt-out hardset of PRODUCT_SOONG_NAMESPACES
By setting QCOM_SOONG_NAMESPACE in device.mk
This will allow a device to specify a device specific branch within
hardware/qcom-caf/ or the device tree.

Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: I39693a0fb9665129f0810590d389c4cb06cdf8d7
2020-05-15 01:42:01 +02:00
Han Wang
2838e8ae3b config: Mark more gralloc bits as valid
* Mimic the behavior of https://source.codeaurora.org/quic/la/platform/frameworks/native/commit/?h=LA.UM.8.6.r1-01900-89xx.0&id=002db77e0d84893d498f5a9544ec7941158c71e8.

Change-Id: Id87564acde3d05f10a266c580f6931d444c91b9e
2019-12-01 12:59:12 +01:00
Bruno Martins
5c9d6c40e3 Revert "vendor: Add qcom platform type to soongs vars"
These vars are no longer useful as of Q because it looks like CAF dropped
their surfaceflinger extensions (ExtSurfaceFlinger).

This reverts commit 97cb87c809.

Change-Id: I09701f6a47830a30486f35052b4ea7ab15a9660b
2019-11-05 11:42:21 +01:00
Michael Bestas
8a5dec51c2 build: Remove TARGET_CRYPTFS_HW_PATH
* Not used since 16.0 where vold/cryptfs_hw switched to bp

Change-Id: I649402d9a3b94df8810d577147e09a51833192a0
2019-09-27 15:38:44 +03:00
Rashed Abdel-Tawab
84948089b6 build: Move to new qcom HAL directory layout
All CAF forked HALs now reside in hardware/qcom-caf/

Change-Id: I9f84cebf021418c0b402bc3186f37643e63afb24
2019-09-25 21:03:29 +03:00
Bruno Martins
d47d062016 BoardConfigQcom: Fix setting UM4.9 and UM4.14 specific flags
Calling is-board-platform-in-list from this makefile was not
returning the desirable output, thus resulting in a failure
to meet the conditions for the UM4.9 and UM4.14 family platforms.

Due to the fact that this makefile is included in a very early
stage in the build process, the QCOM macros are not defined.
Simply use standard macros like in rest of the makefile.

Change-Id: Iad889882f94167f1bc1761ddd549dac9dcdee3ba
2019-09-19 18:33:00 +02:00
jhenrique09
97cb87c809 vendor: Add qcom platform type to soongs vars
Required for new commits on frameworks/native

* Fix lag during screen recording on some platforms
* Fix screen flickering after disconnecting from Android Auto on some platforms

Change-Id: Ia0ed0bbfda44fb5ccb184ace854ec1bf9a7d819a
2019-08-11 12:01:44 +02:00
Rashed Abdel-Tawab
05aded86f3 qcom: Add UM 4.14 platforms
* Note: msmnile is treated like msmnile because unlike other Qualcomm
  codenames msmnile does not expand to 8150.

Change-Id: If246c0ec06de22097d369c17ce48aa1270bab19c
2019-07-20 08:36:55 +02:00
Isaac Chen
60912cff97 build: Support SDM710 platform
Change-Id: I958a6bfd1087f5437f4074e614198bb622d476ce
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2019-06-27 20:00:28 +01:00
Ethan Chen
66ce59c88e build: Reorganize inclusion of QCOM macros
* There's actually not a whole lot QC-specific about these macros,
  make them available at definition.mk inclusion time rather than
  relying on BoardConfig to include them.
* Don't create a dependency on QCOM macros from a makefile
  that is included very early in the build process.

Change-Id: I3dcaf0e068ca44732cfe58f69384621781ddda67
2019-06-26 01:10:51 +02:00
Ethan Chen
b7b49cc07d build: Use ifeq/else ifeq/else construction in board config
* Instead of nesting ifeq/else/ifeq/else/endif/endif construction, make
  allows the more readable ifeq/else ifeq/else/endif construction. Use it
  instead.

Change-Id: Ifd2635929799db593e04a13827f05c97e95487e4
2019-06-25 23:13:21 +02:00
Bruno Martins
9717ee7b80 qcom: Mark some gralloc bits as valid
* Add GRALLOC_USAGE_PRIVATE_WFD as valid gralloc bits for all
   the platforms and GRALLOC_USAGE_PRIVATE_10BIT_TP only for the
   UM 4.9-based platforms. Both are defined in the respective
   display HALs (in gralloc/gralloc_priv.h) being the latter
   only available for sdm845.

 * This results in the same as applying https://goo.gl/SR7sFY,
   but it's preferable since it makes use of our own method of
   extending the valid gralloc 1.0 usage bits (see commit 59009f8).
   TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS is extended here on
   purpose and as a bitwise OR of all the values in order not to
   clear what might have been set in the device trees.

Change-Id: I5536f341e75088cc72ac369065011388f0a6d3f1
2019-02-05 11:29:04 +01:00
Rashed Abdel-Tawab
a94cf0c781 qcom: Declare PRODUCT_SOONG_NAMESPACES for HALs
HALs are starting to move to blueprint files, which means that pathmap
ifeqs no longer work. This results in modules with the same name in
different platform HAL directories. Since these modules aren't used or
linked anywhere outside the HAL directories and a device's device.mk,
we can safely use a soong namespace to isolate the different HAL
directories' blueprints. This defines the PRODUCT_SOONG_NAMESPACES
make flag so make knows which namespace to look in as well.

Change-Id: I549e6da863465d79b12c7453aa169d5d963afa52
2018-09-03 22:30:59 +01:00
Rashed Abdel-Tawab
b8ac142535 lineage: Move QC board variables earlier
These variables are usually set in a device's BoardConfig, setting them
in qcom_target is at the very end of the "configuration process" which
results in them being unavailable to plenty of other configuration
"things" (ex. soong namespaces or soong config). Move them to right
after a device's BoardConfig has been found and loaded.

Change-Id: Iddd731202d22ed3f8eb010197ce20d3c75a1f40a
2018-09-03 22:30:59 +01:00