aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin F. Haggerty <haggertk@lineageos.org>2018-10-09 15:04:51 +0200
committerfirebird11 <hbgassel@gmail.com>2019-01-12 14:07:21 +0100
commit098308add0fe674c60f6c4067e01947c9e7ef00d (patch)
tree9d3e081d131e91aee1baf1c14499a759d091dfec
parent1c6f11757afccce644bbf734609237352b86b4f3 (diff)
g3-common: Allow additional gralloc 1.0 buffer usage bits
* Our platform requires 0x02000000U, which appears to be USAGE_PRIVATE_NONSECURE * Resolves the following Gralloc2 failure upon playback: buffer descriptor contains invalid usage bits 0x2000000 Change-Id: I8c2a94ebd188ca991471ffab0e42d87a05772790
-rw-r--r--BoardConfigCommon.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index b1ea9d9..064b7cf 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -82,6 +82,7 @@ OVERRIDE_RS_DRIVER:= libRSDriver_adreno.so
TARGET_USES_C2D_COMPOSITION := true
TARGET_USES_ION := true
USE_OPENGL_RENDERER := true
+TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS := 0x02000000U
# Filesystem
TARGET_FS_CONFIG_GEN := $(LOCAL_PATH)/config.fs