xref: /linux/drivers/gpu/drm/exynos/Kconfig (revision dbbc925bb83a6cd717e5668c530fbc4b804fac71)
11c248b7dSInki Daeconfig DRM_EXYNOS
21c248b7dSInki Dae	tristate "DRM Support for Samsung SoC EXYNOS Series"
3*dbbc925bSJoonyoung Shim	depends on OF && DRM && (ARCH_S3C64XX || ARCH_EXYNOS || 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
21ea977646SAndrzej Hajdacomment "CRTCs"
22ea977646SAndrzej Hajda
231c248b7dSInki Daeconfig DRM_EXYNOS_FIMD
245a3c35b3SAndrzej Hajda	bool "FIMD"
25dba6c528SAndrzej Hajda	depends on !FB_S3C
261e2a4adbSVikas Sajjan	select FB_MODE_HELPERS
273854fab2SYoungJun Cho	select MFD_SYSCON
281c248b7dSInki Dae	help
291c248b7dSInki Dae	  Choose this option if you want to use Exynos FIMD for DRM.
30d8408326SSeung-Woo Kim
31c8466a91SJoonyoung Shimconfig DRM_EXYNOS5433_DECON
325a3c35b3SAndrzej Hajda	bool "DECON on Exynos5433"
33c8466a91SJoonyoung Shim	help
34c8466a91SJoonyoung Shim	  Choose this option if you want to use Exynos5433 DECON for DRM.
35c8466a91SJoonyoung Shim
3696976c3dSAjay Kumarconfig DRM_EXYNOS7_DECON
375a3c35b3SAndrzej Hajda	bool "DECON on Exynos7"
38dba6c528SAndrzej Hajda	depends on !FB_S3C
3996976c3dSAjay Kumar	select FB_MODE_HELPERS
4096976c3dSAjay Kumar	help
4196976c3dSAjay Kumar	  Choose this option if you want to use Exynos DECON for DRM.
4296976c3dSAjay Kumar
43ea977646SAndrzej Hajdaconfig DRM_EXYNOS_MIXER
445a3c35b3SAndrzej Hajda	bool "Mixer"
45ea977646SAndrzej Hajda	depends on !VIDEO_SAMSUNG_S5P_TV
46ea977646SAndrzej Hajda	help
47ea977646SAndrzej Hajda	  Choose this option if you want to use Exynos Mixer for DRM.
48ea977646SAndrzej Hajda
49ea977646SAndrzej Hajdaconfig DRM_EXYNOS_VIDI
505a3c35b3SAndrzej Hajda	bool "Virtual Display"
51ea977646SAndrzej Hajda	help
52ea977646SAndrzej Hajda	  Choose this option if you want to use Exynos VIDI for DRM.
53ea977646SAndrzej Hajda
54ea977646SAndrzej Hajdacomment "Encoders and Bridges"
55ea977646SAndrzej Hajda
5614b6873aSAndrzej Hajdaconfig DRM_EXYNOS_DPI
575a3c35b3SAndrzej Hajda	bool "Parallel output"
58ea977646SAndrzej Hajda	depends on DRM_EXYNOS_FIMD
5914b6873aSAndrzej Hajda	select DRM_PANEL
6014b6873aSAndrzej Hajda	default n
6114b6873aSAndrzej Hajda	help
6214b6873aSAndrzej Hajda	  This enables support for Exynos parallel output.
6314b6873aSAndrzej Hajda
647eb8f069SAndrzej Hajdaconfig DRM_EXYNOS_DSI
655a3c35b3SAndrzej Hajda	bool "MIPI-DSI host"
66dba6c528SAndrzej Hajda	depends on DRM_EXYNOS_FIMD || DRM_EXYNOS5433_DECON || DRM_EXYNOS7_DECON
677eb8f069SAndrzej Hajda	select DRM_MIPI_DSI
687eb8f069SAndrzej Hajda	select DRM_PANEL
697eb8f069SAndrzej Hajda	default n
707eb8f069SAndrzej Hajda	help
717eb8f069SAndrzej Hajda	  This enables support for Exynos MIPI-DSI device.
727eb8f069SAndrzej Hajda
732e4e678aSSean Paulconfig DRM_EXYNOS_DP
745a3c35b3SAndrzej Hajda	bool "Display Port"
75dba6c528SAndrzej Hajda	depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON
762e4e678aSSean Paul	default DRM_EXYNOS
775f1dcd8bSAjay Kumar	select DRM_PANEL
782e4e678aSSean Paul	help
792e4e678aSSean Paul	  This enables support for DP device.
802e4e678aSSean Paul
81d8408326SSeung-Woo Kimconfig DRM_EXYNOS_HDMI
825a3c35b3SAndrzej Hajda	bool "HDMI"
83dba6c528SAndrzej Hajda	depends on !VIDEO_SAMSUNG_S5P_TV && (DRM_EXYNOS_MIXER || DRM_EXYNOS5433_DECON)
84d8408326SSeung-Woo Kim	help
85d8408326SSeung-Woo Kim	  Choose this option if you want to use Exynos HDMI for DRM.
86b73d1230SInki Dae
87ea977646SAndrzej Hajdaconfig DRM_EXYNOS_MIC
885a3c35b3SAndrzej Hajda	bool "Mobile Image Compressor"
89ea977646SAndrzej Hajda	depends on DRM_EXYNOS5433_DECON
90b73d1230SInki Dae	help
91ea977646SAndrzej Hajda	  Choose this option if you want to use Exynos MIC for DRM.
92ea977646SAndrzej Hajda
93ea977646SAndrzej Hajdacomment "Sub-drivers"
94d7f1642cSJoonyoung Shim
95d7f1642cSJoonyoung Shimconfig DRM_EXYNOS_G2D
965a3c35b3SAndrzej Hajda	bool "G2D"
97dba6c528SAndrzej Hajda	depends on !VIDEO_SAMSUNG_S5P_G2D
9863540f01SJan Kara	select FRAME_VECTOR
99d7f1642cSJoonyoung Shim	help
100d7f1642cSJoonyoung Shim	  Choose this option if you want to use Exynos G2D for DRM.
101cb471f14SEunchul Kim
102cb471f14SEunchul Kimconfig DRM_EXYNOS_IPP
1035a3c35b3SAndrzej Hajda	bool "Image Post Processor"
104cb471f14SEunchul Kim	help
105cb471f14SEunchul Kim	  Choose this option if you want to use IPP feature for DRM.
10616102edbSEunchul Kim
10716102edbSEunchul Kimconfig DRM_EXYNOS_FIMC
1085a3c35b3SAndrzej Hajda	bool "FIMC"
10909bd14b2SSachin Kamat	depends on DRM_EXYNOS_IPP && MFD_SYSCON
11016102edbSEunchul Kim	help
11116102edbSEunchul Kim	  Choose this option if you want to use Exynos FIMC for DRM.
112bea8a429SEunchul Kim
113bea8a429SEunchul Kimconfig DRM_EXYNOS_ROTATOR
1145a3c35b3SAndrzej Hajda	bool "Rotator"
115bea8a429SEunchul Kim	depends on DRM_EXYNOS_IPP
116bea8a429SEunchul Kim	help
117bea8a429SEunchul Kim	  Choose this option if you want to use Exynos Rotator for DRM.
118bea8a429SEunchul Kim
119f2646380SEunchul Kimconfig DRM_EXYNOS_GSC
1205a3c35b3SAndrzej Hajda	bool "GScaler"
121aeefb368SSeung-Woo Kim	depends on DRM_EXYNOS_IPP && ARCH_EXYNOS5 && !VIDEO_SAMSUNG_EXYNOS_GSC
122f2646380SEunchul Kim	help
123f2646380SEunchul Kim	  Choose this option if you want to use Exynos GSC for DRM.
12477bbd891SHyungwon Hwang
125dba6c528SAndrzej Hajdaendif
126