xref: /openbmc/linux/drivers/gpu/drm/exynos/Kconfig (revision 63540f01)
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
96914262aSSachin Kamat	select VIDEOMODE_HELPERS
101c248b7dSInki Dae	help
111c248b7dSInki Dae	  Choose this option if you have a Samsung SoC EXYNOS chipset.
121c248b7dSInki Dae	  If M is selected the module will be called exynosdrm.
131c248b7dSInki Dae
140519f9a1SInki Daeconfig DRM_EXYNOS_IOMMU
158dcc14f8SMarek Szyprowski	bool
160519f9a1SInki Dae	depends on DRM_EXYNOS && EXYNOS_IOMMU && ARM_DMA_USE_IOMMU
178dcc14f8SMarek Szyprowski	default y
180519f9a1SInki Dae
191c248b7dSInki Daeconfig DRM_EXYNOS_FIMD
20132a5b91SJoonyoung Shim	bool "Exynos DRM FIMD"
21cd6ab4b4SAndrzej Hajda	depends on DRM_EXYNOS && !FB_S3C
221e2a4adbSVikas Sajjan	select FB_MODE_HELPERS
233854fab2SYoungJun Cho	select MFD_SYSCON
241c248b7dSInki Dae	help
251c248b7dSInki Dae	  Choose this option if you want to use Exynos FIMD for DRM.
26d8408326SSeung-Woo Kim
27c8466a91SJoonyoung Shimconfig DRM_EXYNOS5433_DECON
28c8466a91SJoonyoung Shim	bool "Exynos5433 DRM DECON"
29c8466a91SJoonyoung Shim	depends on DRM_EXYNOS
30c8466a91SJoonyoung Shim	help
31c8466a91SJoonyoung Shim	  Choose this option if you want to use Exynos5433 DECON for DRM.
32c8466a91SJoonyoung Shim
3396976c3dSAjay Kumarconfig DRM_EXYNOS7_DECON
349a09a69aSHyungwon Hwang	bool "Exynos7 DRM DECON"
351e5507ceSInki Dae	depends on DRM_EXYNOS && !FB_S3C
3696976c3dSAjay Kumar	select FB_MODE_HELPERS
3796976c3dSAjay Kumar	help
3896976c3dSAjay Kumar	  Choose this option if you want to use Exynos DECON for DRM.
3996976c3dSAjay Kumar
4014b6873aSAndrzej Hajdaconfig DRM_EXYNOS_DPI
4114b6873aSAndrzej Hajda	bool "EXYNOS DRM parallel output support"
423f46d807SHyungwon Hwang	depends on DRM_EXYNOS && (DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON)
4314b6873aSAndrzej Hajda	select DRM_PANEL
4414b6873aSAndrzej Hajda	default n
4514b6873aSAndrzej Hajda	help
4614b6873aSAndrzej Hajda	  This enables support for Exynos parallel output.
4714b6873aSAndrzej Hajda
487eb8f069SAndrzej Hajdaconfig DRM_EXYNOS_DSI
497eb8f069SAndrzej Hajda	bool "EXYNOS DRM MIPI-DSI driver support"
50e6f988a4SHyungwon Hwang	depends on DRM_EXYNOS && (DRM_EXYNOS_FIMD || DRM_EXYNOS5433_DECON || DRM_EXYNOS7_DECON)
517eb8f069SAndrzej Hajda	select DRM_MIPI_DSI
527eb8f069SAndrzej Hajda	select DRM_PANEL
537eb8f069SAndrzej Hajda	default n
547eb8f069SAndrzej Hajda	help
557eb8f069SAndrzej Hajda	  This enables support for Exynos MIPI-DSI device.
567eb8f069SAndrzej Hajda
572e4e678aSSean Paulconfig DRM_EXYNOS_DP
582e4e678aSSean Paul	bool "EXYNOS DRM DP driver support"
593f46d807SHyungwon Hwang	depends on DRM_EXYNOS && (DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON) && (DRM_PTN3460=n || DRM_PTN3460=y || DRM_PTN3460=DRM_EXYNOS)
602e4e678aSSean Paul	default DRM_EXYNOS
615f1dcd8bSAjay Kumar	select DRM_PANEL
622e4e678aSSean Paul	help
632e4e678aSSean Paul	  This enables support for DP device.
642e4e678aSSean Paul
65d8408326SSeung-Woo Kimconfig DRM_EXYNOS_HDMI
66132a5b91SJoonyoung Shim	bool "Exynos DRM HDMI"
672363dc63SSeung-Woo Kim	depends on DRM_EXYNOS && !VIDEO_SAMSUNG_S5P_TV
68d8408326SSeung-Woo Kim	help
69d8408326SSeung-Woo Kim	  Choose this option if you want to use Exynos HDMI for DRM.
70b73d1230SInki Dae
71b73d1230SInki Daeconfig DRM_EXYNOS_VIDI
72b73d1230SInki Dae	bool "Exynos DRM Virtual Display"
73b73d1230SInki Dae	depends on DRM_EXYNOS
74b73d1230SInki Dae	help
75b73d1230SInki Dae	  Choose this option if you want to use Exynos VIDI for DRM.
76d7f1642cSJoonyoung Shim
77d7f1642cSJoonyoung Shimconfig DRM_EXYNOS_G2D
78d7f1642cSJoonyoung Shim	bool "Exynos DRM G2D"
79254d4d11SSachin Kamat	depends on DRM_EXYNOS && !VIDEO_SAMSUNG_S5P_G2D
8063540f01SJan Kara	select FRAME_VECTOR
81d7f1642cSJoonyoung Shim	help
82d7f1642cSJoonyoung Shim	  Choose this option if you want to use Exynos G2D for DRM.
83cb471f14SEunchul Kim
84cb471f14SEunchul Kimconfig DRM_EXYNOS_IPP
85cb471f14SEunchul Kim	bool "Exynos DRM IPP"
8686ac5b84STushar Behera	depends on DRM_EXYNOS
87cb471f14SEunchul Kim	help
88cb471f14SEunchul Kim	  Choose this option if you want to use IPP feature for DRM.
8916102edbSEunchul Kim
9016102edbSEunchul Kimconfig DRM_EXYNOS_FIMC
9116102edbSEunchul Kim	bool "Exynos DRM FIMC"
9209bd14b2SSachin Kamat	depends on DRM_EXYNOS_IPP && MFD_SYSCON
9316102edbSEunchul Kim	help
9416102edbSEunchul Kim	  Choose this option if you want to use Exynos FIMC for DRM.
95bea8a429SEunchul Kim
96bea8a429SEunchul Kimconfig DRM_EXYNOS_ROTATOR
97bea8a429SEunchul Kim	bool "Exynos DRM Rotator"
98bea8a429SEunchul Kim	depends on DRM_EXYNOS_IPP
99bea8a429SEunchul Kim	help
100bea8a429SEunchul Kim	  Choose this option if you want to use Exynos Rotator for DRM.
101bea8a429SEunchul Kim
102f2646380SEunchul Kimconfig DRM_EXYNOS_GSC
103f2646380SEunchul Kim	bool "Exynos DRM GSC"
10486ac5b84STushar Behera	depends on DRM_EXYNOS_IPP && ARCH_EXYNOS5 && !ARCH_MULTIPLATFORM
105f2646380SEunchul Kim	help
106f2646380SEunchul Kim	  Choose this option if you want to use Exynos GSC for DRM.
10777bbd891SHyungwon Hwang
10877bbd891SHyungwon Hwangconfig DRM_EXYNOS_MIC
10977bbd891SHyungwon Hwang	bool "Exynos DRM MIC"
11077bbd891SHyungwon Hwang	depends on (DRM_EXYNOS && DRM_EXYNOS5433_DECON)
11177bbd891SHyungwon Hwang	help
11277bbd891SHyungwon Hwang	  Choose this option if you want to use Exynos MIC for DRM.
113