summaryrefslogtreecommitdiff
path: root/drivers/mxc
diff options
context:
space:
mode:
authorXianzhong <xianzhong.li@nxp.com>2020-11-05 14:43:54 +0800
committerXianzhong <xianzhong.li@nxp.com>2020-11-19 11:54:17 +0800
commit0cbc4419bd2f810d1689d81f24884bb527bbe5fd (patch)
treeb336c908e536b97848da67b555b79dad6130c30f /drivers/mxc
parentb61e64bb72917bc34aa7380bfa2b17788fe3f231 (diff)
MGS-4929 [#imx-2382] enable vivante drm for linux build
weston-simple-dmabuf-egl has failure without drm render node, need enable vivante drm to fix dmabuf failure issue. Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
Diffstat (limited to 'drivers/mxc')
-rw-r--r--drivers/mxc/gpu-viv/Kbuild6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/mxc/gpu-viv/Kbuild b/drivers/mxc/gpu-viv/Kbuild
index 5348191a543c..65813c1cc89a 100644
--- a/drivers/mxc/gpu-viv/Kbuild
+++ b/drivers/mxc/gpu-viv/Kbuild
@@ -299,11 +299,7 @@ EXTRA_CFLAGS += -DgcdSECURITY=1
endif
ifneq ($(CONFIG_DRM), )
- ifneq ($(CONFIG_ANDROID),)
- EXTRA_CFLAGS += -DgcdENABLE_DRM=$(VIVANTE_ENABLE_DRM)
- else
- EXTRA_CFLAGS += -DgcdENABLE_DRM=0
- endif
+EXTRA_CFLAGS += -DgcdENABLE_DRM=$(VIVANTE_ENABLE_DRM)
else
EXTRA_CFLAGS += -DgcdENABLE_DRM=0
endif