xref: /openbmc/linux/drivers/gpu/drm/exynos/Kconfig (revision 8dcc14f8)
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
19b2df26c1SInki Daeconfig DRM_EXYNOS_DMABUF
20b2df26c1SInki Dae	bool "EXYNOS DRM DMABUF"
21b2df26c1SInki Dae	depends on DRM_EXYNOS
22b2df26c1SInki Dae	help
23b2df26c1SInki Dae	  Choose this option if you want to use DMABUF feature for DRM.
24b2df26c1SInki Dae
251c248b7dSInki Daeconfig DRM_EXYNOS_FIMD
26132a5b91SJoonyoung Shim	bool "Exynos DRM FIMD"
27cd6ab4b4SAndrzej Hajda	depends on DRM_EXYNOS && !FB_S3C
281e2a4adbSVikas Sajjan	select FB_MODE_HELPERS
293854fab2SYoungJun Cho	select MFD_SYSCON
301c248b7dSInki Dae	help
311c248b7dSInki Dae	  Choose this option if you want to use Exynos FIMD for DRM.
32d8408326SSeung-Woo Kim
3314b6873aSAndrzej Hajdaconfig DRM_EXYNOS_DPI
3414b6873aSAndrzej Hajda	bool "EXYNOS DRM parallel output support"
35a0b13bbdSAndrzej Hajda	depends on DRM_EXYNOS_FIMD
3614b6873aSAndrzej Hajda	select DRM_PANEL
3714b6873aSAndrzej Hajda	default n
3814b6873aSAndrzej Hajda	help
3914b6873aSAndrzej Hajda	  This enables support for Exynos parallel output.
4014b6873aSAndrzej Hajda
417eb8f069SAndrzej Hajdaconfig DRM_EXYNOS_DSI
427eb8f069SAndrzej Hajda	bool "EXYNOS DRM MIPI-DSI driver support"
43a0b13bbdSAndrzej Hajda	depends on DRM_EXYNOS_FIMD
447eb8f069SAndrzej Hajda	select DRM_MIPI_DSI
457eb8f069SAndrzej Hajda	select DRM_PANEL
467eb8f069SAndrzej Hajda	default n
477eb8f069SAndrzej Hajda	help
487eb8f069SAndrzej Hajda	  This enables support for Exynos MIPI-DSI device.
497eb8f069SAndrzej Hajda
502e4e678aSSean Paulconfig DRM_EXYNOS_DP
512e4e678aSSean Paul	bool "EXYNOS DRM DP driver support"
52a0b13bbdSAndrzej Hajda	depends on DRM_EXYNOS_FIMD && ARCH_EXYNOS && (DRM_PTN3460=n || DRM_PTN3460=y || DRM_PTN3460=DRM_EXYNOS)
532e4e678aSSean Paul	default DRM_EXYNOS
545f1dcd8bSAjay Kumar	select DRM_PANEL
552e4e678aSSean Paul	help
562e4e678aSSean Paul	  This enables support for DP device.
572e4e678aSSean Paul
58d8408326SSeung-Woo Kimconfig DRM_EXYNOS_HDMI
59132a5b91SJoonyoung Shim	bool "Exynos DRM HDMI"
602363dc63SSeung-Woo Kim	depends on DRM_EXYNOS && !VIDEO_SAMSUNG_S5P_TV
61d8408326SSeung-Woo Kim	help
62d8408326SSeung-Woo Kim	  Choose this option if you want to use Exynos HDMI for DRM.
63b73d1230SInki Dae
64b73d1230SInki Daeconfig DRM_EXYNOS_VIDI
65b73d1230SInki Dae	bool "Exynos DRM Virtual Display"
66b73d1230SInki Dae	depends on DRM_EXYNOS
67b73d1230SInki Dae	help
68b73d1230SInki Dae	  Choose this option if you want to use Exynos VIDI for DRM.
69d7f1642cSJoonyoung Shim
70d7f1642cSJoonyoung Shimconfig DRM_EXYNOS_G2D
71d7f1642cSJoonyoung Shim	bool "Exynos DRM G2D"
72254d4d11SSachin Kamat	depends on DRM_EXYNOS && !VIDEO_SAMSUNG_S5P_G2D
73d7f1642cSJoonyoung Shim	help
74d7f1642cSJoonyoung Shim	  Choose this option if you want to use Exynos G2D for DRM.
75cb471f14SEunchul Kim
76cb471f14SEunchul Kimconfig DRM_EXYNOS_IPP
77cb471f14SEunchul Kim	bool "Exynos DRM IPP"
7886ac5b84STushar Behera	depends on DRM_EXYNOS
79cb471f14SEunchul Kim	help
80cb471f14SEunchul Kim	  Choose this option if you want to use IPP feature for DRM.
8116102edbSEunchul Kim
8216102edbSEunchul Kimconfig DRM_EXYNOS_FIMC
8316102edbSEunchul Kim	bool "Exynos DRM FIMC"
8409bd14b2SSachin Kamat	depends on DRM_EXYNOS_IPP && MFD_SYSCON
8516102edbSEunchul Kim	help
8616102edbSEunchul Kim	  Choose this option if you want to use Exynos FIMC for DRM.
87bea8a429SEunchul Kim
88bea8a429SEunchul Kimconfig DRM_EXYNOS_ROTATOR
89bea8a429SEunchul Kim	bool "Exynos DRM Rotator"
90bea8a429SEunchul Kim	depends on DRM_EXYNOS_IPP
91bea8a429SEunchul Kim	help
92bea8a429SEunchul Kim	  Choose this option if you want to use Exynos Rotator for DRM.
93bea8a429SEunchul Kim
94f2646380SEunchul Kimconfig DRM_EXYNOS_GSC
95f2646380SEunchul Kim	bool "Exynos DRM GSC"
9686ac5b84STushar Behera	depends on DRM_EXYNOS_IPP && ARCH_EXYNOS5 && !ARCH_MULTIPLATFORM
97f2646380SEunchul Kim	help
98f2646380SEunchul Kim	  Choose this option if you want to use Exynos GSC for DRM.
99