xref: /openbmc/linux/drivers/gpu/drm/exynos/Kconfig (revision a0b13bbd)
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"
29eccbf0d8SSachin Kamat	depends on DRM_EXYNOS && !FB_S3C && !ARCH_MULTIPLATFORM
301e2a4adbSVikas Sajjan	select FB_MODE_HELPERS
311c248b7dSInki Dae	help
321c248b7dSInki Dae	  Choose this option if you want to use Exynos FIMD for DRM.
33d8408326SSeung-Woo Kim
3414b6873aSAndrzej Hajdaconfig DRM_EXYNOS_DPI
3514b6873aSAndrzej Hajda	bool "EXYNOS DRM parallel output support"
36a0b13bbdSAndrzej Hajda	depends on DRM_EXYNOS_FIMD
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"
44a0b13bbdSAndrzej Hajda	depends on DRM_EXYNOS_FIMD
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"
53a0b13bbdSAndrzej Hajda	depends on DRM_EXYNOS_FIMD && ARCH_EXYNOS && (DRM_PTN3460=n || DRM_PTN3460=y || DRM_PTN3460=DRM_EXYNOS)
542e4e678aSSean Paul	default DRM_EXYNOS
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