From a97e51b536e43b3a6b6fea6767e401b70967334e Mon Sep 17 00:00:00 2001 From: Vitaliy Tomin Date: Tue, 3 May 2022 08:46:12 +0800 Subject: [PATCH] bifrost: Add missing EXTRA_FLAGS to Android.mk * it is set in gpu-v2.mk, but missing in Android.mk * fixes kernel issues like: [ 113.437969@0]d WARNING: CPU: 0 PID: 3478 at drivers/dma-buf/dma-buf.c:584 dma_buf_unmap_attachment+0x6c/0x7 Change-Id: Ie880908fd69d3cee80043a18e7d93477f3978bdf --- Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Android.mk b/Android.mk index ec2dbd4..36c5a13 100644 --- a/Android.mk +++ b/Android.mk @@ -40,7 +40,7 @@ LOCAL_C_INCLUDES := \ _mali_intermediates := $(call intermediates-dir-for,$(LOCAL_MODULE_CLASS),$(LOCAL_MODULE)) _mali_ko := $(_mali_intermediates)/$(LOCAL_MODULE)$(LOCAL_MODULE_SUFFIX) KERNEL_OUT := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ -GPU_CFLAGS := $(LOCAL_CFLAGS) $(addprefix -I,$(LOCAL_C_INCLUDES)) +GPU_CFLAGS := $(LOCAL_CFLAGS) $(addprefix -I,$(LOCAL_C_INCLUDES)) -DCONFIG_MALI_PLATFORM_DEVICETREE -DCONFIG_MALI_MIDGARD_DVFS -DCONFIG_MALI_BACKEND=gpu -DCONFIG_MALI_DMA_BUF_MAP_ON_DEMAND=1 -DCONFIG_MALI_DMA_BUF_LEGACY_COMPAT=0 $(_mali_ko): $(KERNEL_OUT)/arch/$(KERNEL_ARCH)/boot/$(BOARD_KERNEL_IMAGE_NAME) @mkdir -p $(dir $@) -- 2.20.1