summaryrefslogtreecommitdiff
path: root/gralloc960/Android.hikey960.mk
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2018-02-22 16:02:49 -0800
committerDmitry Shmidt <dimitrysh@google.com>2018-03-29 15:06:07 -0700
commit18814f6bf3507291d1f2f5b57509cd92e5d20249 (patch)
tree1012d746fa9b8a8d17a78ed25d8b66ded10767ce /gralloc960/Android.hikey960.mk
parent9b2761dac62ef47645626024d1e537bf1b2c8337 (diff)
downloadhikey-18814f6bf3507291d1f2f5b57509cd92e5d20249.tar.gz
gralloc960: Update to the r9p0 gralloc release
This is necessary in order to support r9p0 libGLES_mali.so binaries. NOTE: This unfortunately drops recent changes like v4.12+ ION abi compatibility, which will need to be re-implemented and re-added. NOTE: This change requires both kernel changes for the r9p0 driver as well as binariy r9p0 libGLES_mali.so libraries. Don't merge until those are all lined up to land. Change-Id: I6c7fdf7585edea08196d1a323db3ec0629883311 Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'gralloc960/Android.hikey960.mk')
-rw-r--r--gralloc960/Android.hikey960.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/gralloc960/Android.hikey960.mk b/gralloc960/Android.hikey960.mk
index a7bb4721..b865bf1f 100644
--- a/gralloc960/Android.hikey960.mk
+++ b/gralloc960/Android.hikey960.mk
@@ -16,8 +16,6 @@
# limitations under the License.
$(info gralloc for hikey960)
-GRALLOC_FB_SWAP_RED_BLUE := 0
-GRALLOC_DEPTH := GRALLOC_32_BITS
# GPU support for AFBC 1.0
MALI_GPU_SUPPORT_AFBC_BASIC=1
@@ -34,12 +32,16 @@ MALI_GPU_USE_YUV_AFBC_WIDEBLK=0
# Software behaviour defines
#
+# Gralloc1 support
+GRALLOC_USE_GRALLOC1_API=0
# Use ION DMA heap for all allocations. Default is system heap.
GRALLOC_USE_ION_DMA_HEAP=0
# Use ION Compound heap for all allocations. Default is system heap.
GRALLOC_USE_ION_COMPOUND_PAGE_HEAP=0
# Properly initializes an empty AFBC buffer
GRALLOC_INIT_AFBC=0
+# fbdev bitdepth to use
+GRALLOC_DEPTH=GRALLOC_32_BITS
# When enabled, forces display framebuffer format to BGRA_8888
GRALLOC_FB_SWAP_RED_BLUE=0
# Disables the framebuffer HAL device. When a hwc impl is available.