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
gugelfrei
Han Wang 5 years ago committed by Michael Bestas
parent dd3a0f56d3
commit 2838e8ae3b

@ -46,11 +46,13 @@ ifneq ($(filter $(UM_4_9_FAMILY) $(UM_4_14_FAMILY),$(TARGET_BOARD_PLATFORM)),)
TARGET_USES_DRM_PP := true
endif
# Mark GRALLOC_USAGE_PRIVATE_WFD as valid gralloc bits
# Mark GRALLOC_USAGE_HW_2D, GRALLOC_USAGE_EXTERNAL_DISP and GRALLOC_USAGE_PRIVATE_WFD as valid gralloc bits
TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS ?= 0
TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS += | (1 << 10)
TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS += | (1 << 13)
TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS += | (1 << 21)
# Mark GRALLOC_USAGE_PRIVATE_10BIT_TP as valid gralloc bits on UM platforms that support it
# Mark GRALLOC_USAGE_PRIVATE_HEIF_VIDEO as valid gralloc bits on UM platforms that support it
ifneq ($(filter $(UM_4_9_FAMILY) $(UM_4_14_FAMILY),$(TARGET_BOARD_PLATFORM)),)
TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS += | (1 << 27)
endif

Loading…
Cancel
Save