From: Xianzhong Date: Fri, 4 May 2018 11:19:39 +0000 (+0800) Subject: MGS-3856-2 [#imx-1018] disable openvg2d for arm64 build X-Git-Tag: C0P2-H0.0--20200415~37 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=cf9e19fd111d6c5f7b0d08dc44a75da44155b810;p=linux.git 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) --- 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\