From 18814f6bf3507291d1f2f5b57509cd92e5d20249 Mon Sep 17 00:00:00 2001 From: John Stultz Date: Thu, 22 Feb 2018 16:02:49 -0800 Subject: 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 --- gralloc960/Android.hikey960.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gralloc960/Android.hikey960.mk') 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. -- cgit v1.2.3