Commit 2838e8ae authored by Han Wang's avatar Han Wang Committed by Michael Bestas
Browse files

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
parent dd3a0f56
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment