xref: /openbmc/linux/drivers/gpu/drm/exynos/Kconfig (revision 0c380187)
1config DRM_EXYNOS
2	tristate "DRM Support for Samsung SoC EXYNOS Series"
3	depends on OF && DRM && (ARCH_S3C64XX || ARCH_EXYNOS || ARCH_MULTIPLATFORM)
4	select DRM_KMS_HELPER
5	select VIDEOMODE_HELPERS
6	help
7	  Choose this option if you have a Samsung SoC EXYNOS chipset.
8	  If M is selected the module will be called exynosdrm.
9
10if DRM_EXYNOS
11
12config DRM_EXYNOS_IOMMU
13	bool
14	depends on EXYNOS_IOMMU
15	default y
16
17comment "CRTCs"
18
19config DRM_EXYNOS_FIMD
20	bool "FIMD"
21	depends on !FB_S3C
22	select MFD_SYSCON
23	help
24	  Choose this option if you want to use Exynos FIMD for DRM.
25
26config DRM_EXYNOS5433_DECON
27	bool "DECON on Exynos5433"
28	help
29	  Choose this option if you want to use Exynos5433 DECON for DRM.
30
31config DRM_EXYNOS7_DECON
32	bool "DECON on Exynos7"
33	depends on !FB_S3C
34	help
35	  Choose this option if you want to use Exynos DECON for DRM.
36
37config DRM_EXYNOS_MIXER
38	bool "Mixer"
39	help
40	  Choose this option if you want to use Exynos Mixer for DRM.
41
42config DRM_EXYNOS_VIDI
43	bool "Virtual Display"
44	help
45	  Choose this option if you want to use Exynos VIDI for DRM.
46
47comment "Encoders and Bridges"
48
49config DRM_EXYNOS_DPI
50	bool "Parallel output"
51	depends on DRM_EXYNOS_FIMD
52	select DRM_PANEL
53	default n
54	help
55	  This enables support for Exynos parallel output.
56
57config DRM_EXYNOS_DSI
58	bool "MIPI-DSI host"
59	depends on DRM_EXYNOS_FIMD || DRM_EXYNOS5433_DECON || DRM_EXYNOS7_DECON
60	select DRM_MIPI_DSI
61	select DRM_PANEL
62	default n
63	help
64	  This enables support for Exynos MIPI-DSI device.
65
66config DRM_EXYNOS_DP
67	bool "EXYNOS specific extensions for Analogix DP driver"
68	depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON
69	select DRM_ANALOGIX_DP
70	default DRM_EXYNOS
71	select DRM_PANEL
72	help
73	  This enables support for DP device.
74
75config DRM_EXYNOS_HDMI
76	bool "HDMI"
77	depends on DRM_EXYNOS_MIXER || DRM_EXYNOS5433_DECON
78	help
79	  Choose this option if you want to use Exynos HDMI for DRM.
80
81config DRM_EXYNOS_MIC
82	bool "Mobile Image Compressor"
83	depends on DRM_EXYNOS5433_DECON
84	help
85	  Choose this option if you want to use Exynos MIC for DRM.
86
87comment "Sub-drivers"
88
89config DRM_EXYNOS_G2D
90	bool "G2D"
91	depends on VIDEO_SAMSUNG_S5P_G2D=n
92	select FRAME_VECTOR
93	help
94	  Choose this option if you want to use Exynos G2D for DRM.
95
96config DRM_EXYNOS_IPP
97	bool "Image Post Processor"
98	help
99	  Choose this option if you want to use IPP feature for DRM.
100
101config DRM_EXYNOS_FIMC
102	bool "FIMC"
103	depends on DRM_EXYNOS_IPP && MFD_SYSCON
104	help
105	  Choose this option if you want to use Exynos FIMC for DRM.
106
107config DRM_EXYNOS_ROTATOR
108	bool "Rotator"
109	depends on DRM_EXYNOS_IPP
110	help
111	  Choose this option if you want to use Exynos Rotator for DRM.
112
113config DRM_EXYNOS_GSC
114	bool "GScaler"
115	depends on DRM_EXYNOS_IPP && ARCH_EXYNOS5 && VIDEO_SAMSUNG_EXYNOS_GSC=n
116	help
117	  Choose this option if you want to use Exynos GSC for DRM.
118
119endif
120