xref: /openbmc/linux/drivers/gpu/drm/exynos/Kconfig (revision 8f4e01f9)
11c248b7dSInki Daeconfig DRM_EXYNOS
21c248b7dSInki Dae	tristate "DRM Support for Samsung SoC EXYNOS Series"
3dbbc925bSJoonyoung Shim	depends on OF && DRM && (ARCH_S3C64XX || ARCH_EXYNOS || ARCH_MULTIPLATFORM)
41c248b7dSInki Dae	select DRM_KMS_HELPER
56914262aSSachin Kamat	select VIDEOMODE_HELPERS
61c248b7dSInki Dae	help
71c248b7dSInki Dae	  Choose this option if you have a Samsung SoC EXYNOS chipset.
81c248b7dSInki Dae	  If M is selected the module will be called exynosdrm.
91c248b7dSInki Dae
10dba6c528SAndrzej Hajdaif DRM_EXYNOS
11dba6c528SAndrzej Hajda
120519f9a1SInki Daeconfig DRM_EXYNOS_IOMMU
138dcc14f8SMarek Szyprowski	bool
14197adf0bSMarek Szyprowski	depends on EXYNOS_IOMMU
158dcc14f8SMarek Szyprowski	default y
160519f9a1SInki Dae
17ea977646SAndrzej Hajdacomment "CRTCs"
18ea977646SAndrzej Hajda
191c248b7dSInki Daeconfig DRM_EXYNOS_FIMD
205a3c35b3SAndrzej Hajda	bool "FIMD"
21dba6c528SAndrzej Hajda	depends on !FB_S3C
223854fab2SYoungJun Cho	select MFD_SYSCON
231c248b7dSInki Dae	help
241c248b7dSInki Dae	  Choose this option if you want to use Exynos FIMD for DRM.
25d8408326SSeung-Woo Kim
26c8466a91SJoonyoung Shimconfig DRM_EXYNOS5433_DECON
275a3c35b3SAndrzej Hajda	bool "DECON on Exynos5433"
28c8466a91SJoonyoung Shim	help
29c8466a91SJoonyoung Shim	  Choose this option if you want to use Exynos5433 DECON for DRM.
30c8466a91SJoonyoung Shim
3196976c3dSAjay Kumarconfig DRM_EXYNOS7_DECON
325a3c35b3SAndrzej Hajda	bool "DECON on Exynos7"
33dba6c528SAndrzej Hajda	depends on !FB_S3C
3496976c3dSAjay Kumar	help
3596976c3dSAjay Kumar	  Choose this option if you want to use Exynos DECON for DRM.
3696976c3dSAjay Kumar
37ea977646SAndrzej Hajdaconfig DRM_EXYNOS_MIXER
385a3c35b3SAndrzej Hajda	bool "Mixer"
39ea977646SAndrzej Hajda	help
40ea977646SAndrzej Hajda	  Choose this option if you want to use Exynos Mixer for DRM.
41ea977646SAndrzej Hajda
42ea977646SAndrzej Hajdaconfig DRM_EXYNOS_VIDI
435a3c35b3SAndrzej Hajda	bool "Virtual Display"
44ea977646SAndrzej Hajda	help
45ea977646SAndrzej Hajda	  Choose this option if you want to use Exynos VIDI for DRM.
46ea977646SAndrzej Hajda
47ea977646SAndrzej Hajdacomment "Encoders and Bridges"
48ea977646SAndrzej Hajda
4914b6873aSAndrzej Hajdaconfig DRM_EXYNOS_DPI
505a3c35b3SAndrzej Hajda	bool "Parallel output"
51ea977646SAndrzej Hajda	depends on DRM_EXYNOS_FIMD
5214b6873aSAndrzej Hajda	select DRM_PANEL
5314b6873aSAndrzej Hajda	default n
5414b6873aSAndrzej Hajda	help
5514b6873aSAndrzej Hajda	  This enables support for Exynos parallel output.
5614b6873aSAndrzej Hajda
577eb8f069SAndrzej Hajdaconfig DRM_EXYNOS_DSI
585a3c35b3SAndrzej Hajda	bool "MIPI-DSI host"
59dba6c528SAndrzej Hajda	depends on DRM_EXYNOS_FIMD || DRM_EXYNOS5433_DECON || DRM_EXYNOS7_DECON
607eb8f069SAndrzej Hajda	select DRM_MIPI_DSI
617eb8f069SAndrzej Hajda	select DRM_PANEL
627eb8f069SAndrzej Hajda	default n
637eb8f069SAndrzej Hajda	help
647eb8f069SAndrzej Hajda	  This enables support for Exynos MIPI-DSI device.
657eb8f069SAndrzej Hajda
662e4e678aSSean Paulconfig DRM_EXYNOS_DP
673424e3a4SYakir Yang	bool "EXYNOS specific extensions for Analogix DP driver"
68dba6c528SAndrzej Hajda	depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON
693424e3a4SYakir Yang	select DRM_ANALOGIX_DP
702e4e678aSSean Paul	default DRM_EXYNOS
715f1dcd8bSAjay Kumar	select DRM_PANEL
722e4e678aSSean Paul	help
732e4e678aSSean Paul	  This enables support for DP device.
742e4e678aSSean Paul
75d8408326SSeung-Woo Kimconfig DRM_EXYNOS_HDMI
765a3c35b3SAndrzej Hajda	bool "HDMI"
77d0d44516SHans Verkuil	depends on DRM_EXYNOS_MIXER || DRM_EXYNOS5433_DECON
788f4e01f9SHans Verkuil	select CEC_CORE if CEC_NOTIFIER
79d8408326SSeung-Woo Kim	help
80d8408326SSeung-Woo Kim	  Choose this option if you want to use Exynos HDMI for DRM.
81b73d1230SInki Dae
82ea977646SAndrzej Hajdaconfig DRM_EXYNOS_MIC
835a3c35b3SAndrzej Hajda	bool "Mobile Image Compressor"
84ea977646SAndrzej Hajda	depends on DRM_EXYNOS5433_DECON
85b73d1230SInki Dae	help
86ea977646SAndrzej Hajda	  Choose this option if you want to use Exynos MIC for DRM.
87ea977646SAndrzej Hajda
88ea977646SAndrzej Hajdacomment "Sub-drivers"
89d7f1642cSJoonyoung Shim
90d7f1642cSJoonyoung Shimconfig DRM_EXYNOS_G2D
915a3c35b3SAndrzej Hajda	bool "G2D"
9212867e4eSJavier Martinez Canillas	depends on VIDEO_SAMSUNG_S5P_G2D=n
9363540f01SJan Kara	select FRAME_VECTOR
94d7f1642cSJoonyoung Shim	help
95d7f1642cSJoonyoung Shim	  Choose this option if you want to use Exynos G2D for DRM.
96cb471f14SEunchul Kim
97cb471f14SEunchul Kimconfig DRM_EXYNOS_IPP
985a3c35b3SAndrzej Hajda	bool "Image Post Processor"
99cb471f14SEunchul Kim	help
100cb471f14SEunchul Kim	  Choose this option if you want to use IPP feature for DRM.
10116102edbSEunchul Kim
10216102edbSEunchul Kimconfig DRM_EXYNOS_FIMC
1035a3c35b3SAndrzej Hajda	bool "FIMC"
10409bd14b2SSachin Kamat	depends on DRM_EXYNOS_IPP && MFD_SYSCON
10516102edbSEunchul Kim	help
10616102edbSEunchul Kim	  Choose this option if you want to use Exynos FIMC for DRM.
107bea8a429SEunchul Kim
108bea8a429SEunchul Kimconfig DRM_EXYNOS_ROTATOR
1095a3c35b3SAndrzej Hajda	bool "Rotator"
110bea8a429SEunchul Kim	depends on DRM_EXYNOS_IPP
111bea8a429SEunchul Kim	help
112bea8a429SEunchul Kim	  Choose this option if you want to use Exynos Rotator for DRM.
113bea8a429SEunchul Kim
114f2646380SEunchul Kimconfig DRM_EXYNOS_GSC
1155a3c35b3SAndrzej Hajda	bool "GScaler"
1164e775249SJavier Martinez Canillas	depends on DRM_EXYNOS_IPP && ARCH_EXYNOS5 && VIDEO_SAMSUNG_EXYNOS_GSC=n
117f2646380SEunchul Kim	help
118f2646380SEunchul Kim	  Choose this option if you want to use Exynos GSC for DRM.
11977bbd891SHyungwon Hwang
120dba6c528SAndrzej Hajdaendif
121