xref: /openbmc/linux/drivers/gpu/drm/exynos/Kconfig (revision dba6c528)
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
14dba6c528SAndrzej Hajdaif DRM_EXYNOS
15dba6c528SAndrzej Hajda
160519f9a1SInki Daeconfig DRM_EXYNOS_IOMMU
178dcc14f8SMarek Szyprowski	bool
18dba6c528SAndrzej Hajda	depends on EXYNOS_IOMMU && ARM_DMA_USE_IOMMU
198dcc14f8SMarek Szyprowski	default y
200519f9a1SInki Dae
211c248b7dSInki Daeconfig DRM_EXYNOS_FIMD
22132a5b91SJoonyoung Shim	bool "Exynos DRM FIMD"
23dba6c528SAndrzej Hajda	depends on !FB_S3C
241e2a4adbSVikas Sajjan	select FB_MODE_HELPERS
253854fab2SYoungJun Cho	select MFD_SYSCON
261c248b7dSInki Dae	help
271c248b7dSInki Dae	  Choose this option if you want to use Exynos FIMD for DRM.
28d8408326SSeung-Woo Kim
29c8466a91SJoonyoung Shimconfig DRM_EXYNOS5433_DECON
30c8466a91SJoonyoung Shim	bool "Exynos5433 DRM DECON"
31c8466a91SJoonyoung Shim	help
32c8466a91SJoonyoung Shim	  Choose this option if you want to use Exynos5433 DECON for DRM.
33c8466a91SJoonyoung Shim
3496976c3dSAjay Kumarconfig DRM_EXYNOS7_DECON
359a09a69aSHyungwon Hwang	bool "Exynos7 DRM DECON"
36dba6c528SAndrzej Hajda	depends on !FB_S3C
3796976c3dSAjay Kumar	select FB_MODE_HELPERS
3896976c3dSAjay Kumar	help
3996976c3dSAjay Kumar	  Choose this option if you want to use Exynos DECON for DRM.
4096976c3dSAjay Kumar
4114b6873aSAndrzej Hajdaconfig DRM_EXYNOS_DPI
4214b6873aSAndrzej Hajda	bool "EXYNOS DRM parallel output support"
43dba6c528SAndrzej Hajda	depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON
4414b6873aSAndrzej Hajda	select DRM_PANEL
4514b6873aSAndrzej Hajda	default n
4614b6873aSAndrzej Hajda	help
4714b6873aSAndrzej Hajda	  This enables support for Exynos parallel output.
4814b6873aSAndrzej Hajda
497eb8f069SAndrzej Hajdaconfig DRM_EXYNOS_DSI
507eb8f069SAndrzej Hajda	bool "EXYNOS DRM MIPI-DSI driver support"
51dba6c528SAndrzej Hajda	depends on DRM_EXYNOS_FIMD || DRM_EXYNOS5433_DECON || DRM_EXYNOS7_DECON
527eb8f069SAndrzej Hajda	select DRM_MIPI_DSI
537eb8f069SAndrzej Hajda	select DRM_PANEL
547eb8f069SAndrzej Hajda	default n
557eb8f069SAndrzej Hajda	help
567eb8f069SAndrzej Hajda	  This enables support for Exynos MIPI-DSI device.
577eb8f069SAndrzej Hajda
582e4e678aSSean Paulconfig DRM_EXYNOS_DP
592e4e678aSSean Paul	bool "EXYNOS DRM DP driver support"
60dba6c528SAndrzej Hajda	depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON
612e4e678aSSean Paul	default DRM_EXYNOS
625f1dcd8bSAjay Kumar	select DRM_PANEL
632e4e678aSSean Paul	help
642e4e678aSSean Paul	  This enables support for DP device.
652e4e678aSSean Paul
663cb02b4aSAndrzej Hajdaconfig DRM_EXYNOS_MIXER
673cb02b4aSAndrzej Hajda	bool "Exynos DRM Mixer"
68dba6c528SAndrzej Hajda	depends on !VIDEO_SAMSUNG_S5P_TV
693cb02b4aSAndrzej Hajda	help
703cb02b4aSAndrzej Hajda	  Choose this option if you want to use Exynos Mixer for DRM.
713cb02b4aSAndrzej Hajda
72d8408326SSeung-Woo Kimconfig DRM_EXYNOS_HDMI
73132a5b91SJoonyoung Shim	bool "Exynos DRM HDMI"
74dba6c528SAndrzej Hajda	depends on !VIDEO_SAMSUNG_S5P_TV && (DRM_EXYNOS_MIXER || DRM_EXYNOS5433_DECON)
75d8408326SSeung-Woo Kim	help
76d8408326SSeung-Woo Kim	  Choose this option if you want to use Exynos HDMI for DRM.
77b73d1230SInki Dae
78b73d1230SInki Daeconfig DRM_EXYNOS_VIDI
79b73d1230SInki Dae	bool "Exynos DRM Virtual Display"
80b73d1230SInki Dae	help
81b73d1230SInki Dae	  Choose this option if you want to use Exynos VIDI for DRM.
82d7f1642cSJoonyoung Shim
83d7f1642cSJoonyoung Shimconfig DRM_EXYNOS_G2D
84d7f1642cSJoonyoung Shim	bool "Exynos DRM G2D"
85dba6c528SAndrzej Hajda	depends on !VIDEO_SAMSUNG_S5P_G2D
8663540f01SJan Kara	select FRAME_VECTOR
87d7f1642cSJoonyoung Shim	help
88d7f1642cSJoonyoung Shim	  Choose this option if you want to use Exynos G2D for DRM.
89cb471f14SEunchul Kim
90cb471f14SEunchul Kimconfig DRM_EXYNOS_IPP
91cb471f14SEunchul Kim	bool "Exynos DRM IPP"
92cb471f14SEunchul Kim	help
93cb471f14SEunchul Kim	  Choose this option if you want to use IPP feature for DRM.
9416102edbSEunchul Kim
9516102edbSEunchul Kimconfig DRM_EXYNOS_FIMC
9616102edbSEunchul Kim	bool "Exynos DRM FIMC"
9709bd14b2SSachin Kamat	depends on DRM_EXYNOS_IPP && MFD_SYSCON
9816102edbSEunchul Kim	help
9916102edbSEunchul Kim	  Choose this option if you want to use Exynos FIMC for DRM.
100bea8a429SEunchul Kim
101bea8a429SEunchul Kimconfig DRM_EXYNOS_ROTATOR
102bea8a429SEunchul Kim	bool "Exynos DRM Rotator"
103bea8a429SEunchul Kim	depends on DRM_EXYNOS_IPP
104bea8a429SEunchul Kim	help
105bea8a429SEunchul Kim	  Choose this option if you want to use Exynos Rotator for DRM.
106bea8a429SEunchul Kim
107f2646380SEunchul Kimconfig DRM_EXYNOS_GSC
108f2646380SEunchul Kim	bool "Exynos DRM GSC"
10986ac5b84STushar Behera	depends on DRM_EXYNOS_IPP && ARCH_EXYNOS5 && !ARCH_MULTIPLATFORM
110f2646380SEunchul Kim	help
111f2646380SEunchul Kim	  Choose this option if you want to use Exynos GSC for DRM.
11277bbd891SHyungwon Hwang
11377bbd891SHyungwon Hwangconfig DRM_EXYNOS_MIC
11477bbd891SHyungwon Hwang	bool "Exynos DRM MIC"
115dba6c528SAndrzej Hajda	depends on DRM_EXYNOS5433_DECON
11677bbd891SHyungwon Hwang	help
11777bbd891SHyungwon Hwang	  Choose this option if you want to use Exynos MIC for DRM.
118dba6c528SAndrzej Hajda
119dba6c528SAndrzej Hajdaendif
120