From cf9e19fd111d6c5f7b0d08dc44a75da44155b810 Mon Sep 17 00:00:00 2001 From: Xianzhong Date: Fri, 4 May 2018 19:19:39 +0800 Subject: [PATCH] MGS-3856-2 [#imx-1018] disable openvg2d for arm64 build MX8 chips does not have GC355. So no need to build the drivers Signed-off-by : Xianzhong Li Reviewed-by : Prabhu Sundararaj (cherry picked from commit a85b9583d459d6a0888db30564f0136739d7ec26) --- drivers/mxc/gpu-viv/Kbuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/mxc/gpu-viv/Kbuild b/drivers/mxc/gpu-viv/Kbuild index 39141de2d27d..a011a78f4666 100644 --- a/drivers/mxc/gpu-viv/Kbuild +++ b/drivers/mxc/gpu-viv/Kbuild @@ -125,6 +125,10 @@ ifeq ($(VIVANTE_ENABLE_3D), 1) OBJS += $(ARCH_KERNEL_DIR)/gc_hal_kernel_recorder.o endif +ifneq ($(CONFIG_ARM64),) +VIVANTE_ENABLE_VG=0 +endif + ifeq ($(VIVANTE_ENABLE_VG), 1) OBJS +=\ $(HAL_KERNEL_DIR)/gc_hal_kernel_vg.o\ -- 2.17.1