From 8b68b2cd2ceb24acc975f2a55e6bdf2635811e89 Mon Sep 17 00:00:00 2001 From: Vinoth Jayaram Date: Wed, 17 Nov 2021 23:59:57 +0800 Subject: [PATCH] sdm660-common: Updated Mapper & Allocator Updated Mapper & Allocator version. Enabled Gralloc4 target flag. Signed-off-by: clarencelol Signed-off-by: OdSazib Change-Id: Id053808a5799c163a161366366d24b8ff45f8245 Signed-off-by: pix106 --- BoardConfigCommon.mk | 3 +++ manifest.xml | 12 ------------ sdm660.mk | 7 ++++--- 3 files changed, 7 insertions(+), 15 deletions(-) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 5b970050..ffb6ba51 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -99,6 +99,9 @@ TARGET_FS_CONFIG_GEN := $(COMMON_PATH)/configs/config.fs # Display BOARD_USES_ADRENO := true +TARGET_USES_QTI_MAPPER_2_0 := true +TARGET_USES_QTI_MAPPER_EXTENSIONS_1_1 := true +TARGET_USES_GRALLOC4 := true TARGET_USES_HWC2 := true TARGET_USES_GRALLOC1 := true TARGET_USES_ION := true diff --git a/manifest.xml b/manifest.xml index 8ad052ec..cc897980 100755 --- a/manifest.xml +++ b/manifest.xml @@ -39,23 +39,11 @@ hwbinder @1.0::IGatekeeper/default - - android.hardware.graphics.allocator - hwbinder - @2.0::IAllocator/default - android.hardware.graphics.composer hwbinder @2.1::IComposer/default - - android.hardware.graphics.mapper - passthrough - @2.1::IMapper/default - @3.0::IMapper/default - @4.0::IMapper/default - android.hardware.media.omx hwbinder diff --git a/sdm660.mk b/sdm660.mk index 1d9a7134..30afdfd5 100644 --- a/sdm660.mk +++ b/sdm660.mk @@ -173,14 +173,15 @@ endif # Display PRODUCT_PACKAGES += \ android.frameworks.displayservice@1.0 \ - android.hardware.graphics.allocator@2.0-impl \ - android.hardware.graphics.allocator@2.0-service \ + android.frameworks.displayservice@1.0.vendor \ android.hardware.graphics.allocator@3.0-impl \ android.hardware.graphics.allocator@4.0-impl \ android.hardware.graphics.composer@2.1-service \ - android.hardware.graphics.mapper@2.0-impl-2.1 \ + android.hardware.graphics.mapper@3.0-impl-qti-display \ + android.hardware.graphics.mapper@4.0-impl-qti-display \ android.hardware.memtrack@1.0-impl \ android.hardware.memtrack@1.0-service \ + vendor.qti.hardware.display.allocator-service \ gralloc.sdm660 \ hwcomposer.sdm660 \ memtrack.sdm660 \