xref: /openbmc/linux/drivers/gpu/drm/exynos/Kconfig (revision 96976c3d)
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
2796976c3dSAjay Kumarconfig DRM_EXYNOS7_DECON
2896976c3dSAjay Kumar	bool "Exynos DRM DECON"
2996976c3dSAjay Kumar	depends on DRM_EXYNOS
3096976c3dSAjay Kumar	select FB_MODE_HELPERS
3196976c3dSAjay Kumar	help
3296976c3dSAjay Kumar	  Choose this option if you want to use Exynos DECON for DRM.
3396976c3dSAjay Kumar
3414b6873aSAndrzej Hajdaconfig DRM_EXYNOS_DPI
3514b6873aSAndrzej Hajda	bool "EXYNOS DRM parallel output support"
3696976c3dSAjay Kumar	depends on (DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON)
3714b6873aSAndrzej Hajda	select DRM_PANEL
3814b6873aSAndrzej Hajda	default n
3914b6873aSAndrzej Hajda	help
4014b6873aSAndrzej Hajda	  This enables support for Exynos parallel output.
4114b6873aSAndrzej Hajda
427eb8f069SAndrzej Hajdaconfig DRM_EXYNOS_DSI
437eb8f069SAndrzej Hajda	bool "EXYNOS DRM MIPI-DSI driver support"
4496976c3dSAjay Kumar	depends on (DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON)
457eb8f069SAndrzej Hajda	select DRM_MIPI_DSI
467eb8f069SAndrzej Hajda	select DRM_PANEL
477eb8f069SAndrzej Hajda	default n
487eb8f069SAndrzej Hajda	help
497eb8f069SAndrzej Hajda	  This enables support for Exynos MIPI-DSI device.
507eb8f069SAndrzej Hajda
512e4e678aSSean Paulconfig DRM_EXYNOS_DP
522e4e678aSSean Paul	bool "EXYNOS DRM DP driver support"
5396976c3dSAjay Kumar	depends on (DRM_EXYNOS_FIMD || DRM_EXYNOS7DECON) && ARCH_EXYNOS && (DRM_PTN3460=n || DRM_PTN3460=y || DRM_PTN3460=DRM_EXYNOS)
542e4e678aSSean Paul	default DRM_EXYNOS
555f1dcd8bSAjay Kumar	select DRM_PANEL
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