aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorJoonyoung Shim <jy0922.shim@samsung.com>2015-02-04 00:19:33 -0500
committerInki Dae <inki.dae@samsung.com>2015-02-07 02:38:40 -0500
commitb74ea6a97e82b8230309a95c1266ce4b97254d54 (patch)
tree2b27fb21c0a9f29cea11535792439701e367c47d /drivers/gpu/drm
parent8dcc14f82f06fce997e35f4c77ced9d4ed192f31 (diff)
drm/exynos: remove DRM_EXYNOS_DMABUF config
The exynos drm driver has DRIVER_PRIME capability, then it's reasonable to support dmabuf as default. Remove DRM_EXYNOS_DMABUF config, it will prevent that user selects the option unnecessarily. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/exynos/Kconfig6
-rw-r--r--drivers/gpu/drm/exynos/Makefile3
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_dmabuf.h5
3 files changed, 1 insertions, 13 deletions
diff --git a/drivers/gpu/drm/exynos/Kconfig b/drivers/gpu/drm/exynos/Kconfig
index 7cf0b46cd48b..627aaa04776c 100644
--- a/drivers/gpu/drm/exynos/Kconfig
+++ b/drivers/gpu/drm/exynos/Kconfig
@@ -16,12 +16,6 @@ config DRM_EXYNOS_IOMMU
16 depends on DRM_EXYNOS && EXYNOS_IOMMU && ARM_DMA_USE_IOMMU 16 depends on DRM_EXYNOS && EXYNOS_IOMMU && ARM_DMA_USE_IOMMU
17 default y 17 default y
18 18
19config DRM_EXYNOS_DMABUF
20 bool "EXYNOS DRM DMABUF"
21 depends on DRM_EXYNOS
22 help
23 Choose this option if you want to use DMABUF feature for DRM.
24
25config DRM_EXYNOS_FIMD 19config DRM_EXYNOS_FIMD
26 bool "Exynos DRM FIMD" 20 bool "Exynos DRM FIMD"
27 depends on DRM_EXYNOS && !FB_S3C 21 depends on DRM_EXYNOS && !FB_S3C
diff --git a/drivers/gpu/drm/exynos/Makefile b/drivers/gpu/drm/exynos/Makefile
index 33ae3652b8da..0856891f9bbf 100644
--- a/drivers/gpu/drm/exynos/Makefile
+++ b/drivers/gpu/drm/exynos/Makefile
@@ -6,10 +6,9 @@ ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/exynos
6exynosdrm-y := exynos_drm_drv.o exynos_drm_encoder.o \ 6exynosdrm-y := exynos_drm_drv.o exynos_drm_encoder.o \
7 exynos_drm_crtc.o exynos_drm_fbdev.o exynos_drm_fb.o \ 7 exynos_drm_crtc.o exynos_drm_fbdev.o exynos_drm_fb.o \
8 exynos_drm_buf.o exynos_drm_gem.o exynos_drm_core.o \ 8 exynos_drm_buf.o exynos_drm_gem.o exynos_drm_core.o \
9 exynos_drm_plane.o 9 exynos_drm_plane.o exynos_drm_dmabuf.o
10 10
11exynosdrm-$(CONFIG_DRM_EXYNOS_IOMMU) += exynos_drm_iommu.o 11exynosdrm-$(CONFIG_DRM_EXYNOS_IOMMU) += exynos_drm_iommu.o
12exynosdrm-$(CONFIG_DRM_EXYNOS_DMABUF) += exynos_drm_dmabuf.o
13exynosdrm-$(CONFIG_DRM_EXYNOS_FIMD) += exynos_drm_fimd.o 12exynosdrm-$(CONFIG_DRM_EXYNOS_FIMD) += exynos_drm_fimd.o
14exynosdrm-$(CONFIG_DRM_EXYNOS_DPI) += exynos_drm_dpi.o 13exynosdrm-$(CONFIG_DRM_EXYNOS_DPI) += exynos_drm_dpi.o
15exynosdrm-$(CONFIG_DRM_EXYNOS_DSI) += exynos_drm_dsi.o 14exynosdrm-$(CONFIG_DRM_EXYNOS_DSI) += exynos_drm_dsi.o
diff --git a/drivers/gpu/drm/exynos/exynos_drm_dmabuf.h b/drivers/gpu/drm/exynos/exynos_drm_dmabuf.h
index 49acfafb4fdb..886de9ff484d 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_dmabuf.h
+++ b/drivers/gpu/drm/exynos/exynos_drm_dmabuf.h
@@ -12,14 +12,9 @@
12#ifndef _EXYNOS_DRM_DMABUF_H_ 12#ifndef _EXYNOS_DRM_DMABUF_H_
13#define _EXYNOS_DRM_DMABUF_H_ 13#define _EXYNOS_DRM_DMABUF_H_
14 14
15#ifdef CONFIG_DRM_EXYNOS_DMABUF
16struct dma_buf *exynos_dmabuf_prime_export(struct drm_device *drm_dev, 15struct dma_buf *exynos_dmabuf_prime_export(struct drm_device *drm_dev,
17 struct drm_gem_object *obj, int flags); 16 struct drm_gem_object *obj, int flags);
18 17
19struct drm_gem_object *exynos_dmabuf_prime_import(struct drm_device *drm_dev, 18struct drm_gem_object *exynos_dmabuf_prime_import(struct drm_device *drm_dev,
20 struct dma_buf *dma_buf); 19 struct dma_buf *dma_buf);
21#else
22#define exynos_dmabuf_prime_export NULL
23#define exynos_dmabuf_prime_import NULL
24#endif
25#endif 20#endif