xref: /openbmc/linux/drivers/gpu/drm/exynos/Kconfig (revision 3854fab2)
11c248b7dSInki Daeconfig DRM_EXYNOS
21c248b7dSInki Dae	tristate "DRM Support for Samsung SoC EXYNOS Series"
3eccbf0d8SSachin Kamat	depends on OF && DRM && (PLAT_SAMSUNG || ARCH_MULTIPLATFORM)
41c248b7dSInki Dae	select DRM_KMS_HELPER
592b6f89fSDaniel Vetter	select DRM_KMS_FB_HELPER
61c248b7dSInki Dae	select FB_CFB_FILLRECT
71c248b7dSInki Dae	select FB_CFB_COPYAREA
81c248b7dSInki Dae	select FB_CFB_IMAGEBLIT
91c248b7dSInki Dae	select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE
106914262aSSachin Kamat	select VIDEOMODE_HELPERS
111c248b7dSInki Dae	help
121c248b7dSInki Dae	  Choose this option if you have a Samsung SoC EXYNOS chipset.
131c248b7dSInki Dae	  If M is selected the module will be called exynosdrm.
141c248b7dSInki Dae
150519f9a1SInki Daeconfig DRM_EXYNOS_IOMMU
160519f9a1SInki Dae	bool "EXYNOS DRM IOMMU Support"
170519f9a1SInki Dae	depends on DRM_EXYNOS && EXYNOS_IOMMU && ARM_DMA_USE_IOMMU
180519f9a1SInki Dae	help
190519f9a1SInki Dae	  Choose this option if you want to use IOMMU feature for DRM.
200519f9a1SInki Dae
21b2df26c1SInki Daeconfig DRM_EXYNOS_DMABUF
22b2df26c1SInki Dae	bool "EXYNOS DRM DMABUF"
23b2df26c1SInki Dae	depends on DRM_EXYNOS
24b2df26c1SInki Dae	help
25b2df26c1SInki Dae	  Choose this option if you want to use DMABUF feature for DRM.
26b2df26c1SInki Dae
271c248b7dSInki Daeconfig DRM_EXYNOS_FIMD
28132a5b91SJoonyoung Shim	bool "Exynos DRM FIMD"
29cd6ab4b4SAndrzej Hajda	depends on DRM_EXYNOS && !FB_S3C
301e2a4adbSVikas Sajjan	select FB_MODE_HELPERS
313854fab2SYoungJun Cho	select MFD_SYSCON
321c248b7dSInki Dae	help
331c248b7dSInki Dae	  Choose this option if you want to use Exynos FIMD for DRM.
34d8408326SSeung-Woo Kim
3514b6873aSAndrzej Hajdaconfig DRM_EXYNOS_DPI
3614b6873aSAndrzej Hajda	bool "EXYNOS DRM parallel output support"
37a0b13bbdSAndrzej Hajda	depends on DRM_EXYNOS_FIMD
3814b6873aSAndrzej Hajda	select DRM_PANEL
3914b6873aSAndrzej Hajda	default n
4014b6873aSAndrzej Hajda	help
4114b6873aSAndrzej Hajda	  This enables support for Exynos parallel output.
4214b6873aSAndrzej Hajda
437eb8f069SAndrzej Hajdaconfig DRM_EXYNOS_DSI
447eb8f069SAndrzej Hajda	bool "EXYNOS DRM MIPI-DSI driver support"
45a0b13bbdSAndrzej Hajda	depends on DRM_EXYNOS_FIMD
467eb8f069SAndrzej Hajda	select DRM_MIPI_DSI
477eb8f069SAndrzej Hajda	select DRM_PANEL
487eb8f069SAndrzej Hajda	default n
497eb8f069SAndrzej Hajda	help
507eb8f069SAndrzej Hajda	  This enables support for Exynos MIPI-DSI device.
517eb8f069SAndrzej Hajda
522e4e678aSSean Paulconfig DRM_EXYNOS_DP
532e4e678aSSean Paul	bool "EXYNOS DRM DP driver support"
54a0b13bbdSAndrzej Hajda	depends on DRM_EXYNOS_FIMD && ARCH_EXYNOS && (DRM_PTN3460=n || DRM_PTN3460=y || DRM_PTN3460=DRM_EXYNOS)
552e4e678aSSean Paul	default DRM_EXYNOS
562e4e678aSSean Paul	help
572e4e678aSSean Paul	  This enables support for DP device.
582e4e678aSSean Paul
59d8408326SSeung-Woo Kimconfig DRM_EXYNOS_HDMI
60132a5b91SJoonyoung Shim	bool "Exynos DRM HDMI"
612363dc63SSeung-Woo Kim	depends on DRM_EXYNOS && !VIDEO_SAMSUNG_S5P_TV
62d8408326SSeung-Woo Kim	help
63d8408326SSeung-Woo Kim	  Choose this option if you want to use Exynos HDMI for DRM.
64b73d1230SInki Dae
65b73d1230SInki Daeconfig DRM_EXYNOS_VIDI
66b73d1230SInki Dae	bool "Exynos DRM Virtual Display"
67b73d1230SInki Dae	depends on DRM_EXYNOS
68b73d1230SInki Dae	help
69b73d1230SInki Dae	  Choose this option if you want to use Exynos VIDI for DRM.
70d7f1642cSJoonyoung Shim
71d7f1642cSJoonyoung Shimconfig DRM_EXYNOS_G2D
72d7f1642cSJoonyoung Shim	bool "Exynos DRM G2D"
73254d4d11SSachin Kamat	depends on DRM_EXYNOS && !VIDEO_SAMSUNG_S5P_G2D
74d7f1642cSJoonyoung Shim	help
75d7f1642cSJoonyoung Shim	  Choose this option if you want to use Exynos G2D for DRM.
76cb471f14SEunchul Kim
77cb471f14SEunchul Kimconfig DRM_EXYNOS_IPP
78cb471f14SEunchul Kim	bool "Exynos DRM IPP"
7986ac5b84STushar Behera	depends on DRM_EXYNOS
80cb471f14SEunchul Kim	help
81cb471f14SEunchul Kim	  Choose this option if you want to use IPP feature for DRM.
8216102edbSEunchul Kim
8316102edbSEunchul Kimconfig DRM_EXYNOS_FIMC
8416102edbSEunchul Kim	bool "Exynos DRM FIMC"
8509bd14b2SSachin Kamat	depends on DRM_EXYNOS_IPP && MFD_SYSCON
8616102edbSEunchul Kim	help
8716102edbSEunchul Kim	  Choose this option if you want to use Exynos FIMC for DRM.
88bea8a429SEunchul Kim
89bea8a429SEunchul Kimconfig DRM_EXYNOS_ROTATOR
90bea8a429SEunchul Kim	bool "Exynos DRM Rotator"
91bea8a429SEunchul Kim	depends on DRM_EXYNOS_IPP
92bea8a429SEunchul Kim	help
93bea8a429SEunchul Kim	  Choose this option if you want to use Exynos Rotator for DRM.
94bea8a429SEunchul Kim
95f2646380SEunchul Kimconfig DRM_EXYNOS_GSC
96f2646380SEunchul Kim	bool "Exynos DRM GSC"
9786ac5b84STushar Behera	depends on DRM_EXYNOS_IPP && ARCH_EXYNOS5 && !ARCH_MULTIPLATFORM
98f2646380SEunchul Kim	help
99f2646380SEunchul Kim	  Choose this option if you want to use Exynos GSC for DRM.
100