From 265aa519a4df3c0b9d055524eab14b6da25078d2 Mon Sep 17 00:00:00 2001 From: Luofan Chen Date: Sun, 11 Aug 2024 20:16:00 +0530 Subject: [PATCH] sm6375-common: Define TARGET_GRALLOC_HANDLE_HAS_RESERVED_SIZE Otherwise the error happens: * E qdmetadata: Invalid gralloc handle (at 0xb400007aaf240a10): ver(12/12) ints(22/23) fds(2/2) * E qdmetadata: validateAndMap: Private handle is invalid - handle:0xb400007aaf240a10 Change-Id: Ia62146e8e4bef1342dc964724bd0d088656ad4bc --- BoardConfigCommon.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index b7154cd..a72bf35 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -113,6 +113,7 @@ TARGET_USES_GRALLOC1 := true TARGET_USES_GRALLOC4 := true TARGET_USES_HWC2 := true TARGET_USES_ION := true +TARGET_GRALLOC_HANDLE_HAS_RESERVED_SIZE := true # DRM TARGET_ENABLE_MEDIADRM_64 := true