device_google_gs-common/gpu/gpu.mk
Devika Krishnadas c2312ed7a5 Enable Mapper V5 and Allocator V2
Bug: 267352318
Test: Conformance tests b/356892020
Test: IP smoke tests b/356907323
Test: Performance test b/356709819
Flag: EXEMPT HAL interface change
Change-Id: I97f04ef780b1b82cbfe79b1f24e4f190b3cc2347
Signed-off-by: Devika Krishnadas <kdevika@google.com>
2024-08-21 00:31:57 +00:00

16 lines
485 B
Makefile

BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/gpu/sepolicy
PRODUCT_PACKAGES += gpu_probe
USE_MAPPER5 := true
PRODUCT_PACKAGES += pixel_gralloc_allocator
PRODUCT_PACKAGES += pixel_gralloc_mapper
ifeq ($(USE_MAPPER5), true)
$(call soong_config_set,arm_gralloc,mapper_version,mapper5)
$(call soong_config_set,aion_buffer,mapper_version,mapper5)
else
$(call soong_config_set,arm_gralloc,mapper_version,mapper4)
$(call soong_config_set,aion_buffer,mapper_version,mapper4)
endif