diff --git a/config/BoardConfigQcom.mk b/config/BoardConfigQcom.mk index 1569f211..344ced84 100644 --- a/config/BoardConfigQcom.mk +++ b/config/BoardConfigQcom.mk @@ -43,6 +43,15 @@ ifeq ($(call is-board-platform-in-list, $(UM_4_9_FAMILY)),true) TARGET_USES_DRM_PP := true endif +# Mark GRALLOC_USAGE_PRIVATE_WFD as valid gralloc bits +TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS ?= 0 +TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS += | (1 << 21) + +# Mark GRALLOC_USAGE_PRIVATE_10BIT_TP as valid gralloc bits on UM platforms that support it +ifeq ($(call is-board-platform-in-list, $(UM_4_9_FAMILY)),true) + TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS += | (1 << 27) +endif + # List of targets that use master side content protection MASTER_SIDE_CP_TARGET_LIST := msm8996 msm8998 sdm660 sdm845