xref: /openbmc/linux/drivers/gpu/drm/exynos/Kconfig (revision f3a8b664)
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 FB_MODE_HELPERS
23	select MFD_SYSCON
24	help
25	  Choose this option if you want to use Exynos FIMD for DRM.
26
27config DRM_EXYNOS5433_DECON
28	bool "DECON on Exynos5433"
29	help
30	  Choose this option if you want to use Exynos5433 DECON for DRM.
31
32config DRM_EXYNOS7_DECON
33	bool "DECON on Exynos7"
34	depends on !FB_S3C
35	select FB_MODE_HELPERS
36	help
37	  Choose this option if you want to use Exynos DECON for DRM.
38
39config DRM_EXYNOS_MIXER
40	bool "Mixer"
41	help
42	  Choose this option if you want to use Exynos Mixer for DRM.
43
44config DRM_EXYNOS_VIDI
45	bool "Virtual Display"
46	help
47	  Choose this option if you want to use Exynos VIDI for DRM.
48
49comment "Encoders and Bridges"
50
51config DRM_EXYNOS_DPI
52	bool "Parallel output"
53	depends on DRM_EXYNOS_FIMD
54	select DRM_PANEL
55	default n
56	help
57	  This enables support for Exynos parallel output.
58
59config DRM_EXYNOS_DSI
60	bool "MIPI-DSI host"
61	depends on DRM_EXYNOS_FIMD || DRM_EXYNOS5433_DECON || DRM_EXYNOS7_DECON
62	select DRM_MIPI_DSI
63	select DRM_PANEL
64	default n
65	help
66	  This enables support for Exynos MIPI-DSI device.
67
68config DRM_EXYNOS_DP
69	bool "EXYNOS specific extensions for Analogix DP driver"
70	depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON
71	select DRM_ANALOGIX_DP
72	default DRM_EXYNOS
73	select DRM_PANEL
74	help
75	  This enables support for DP device.
76
77config DRM_EXYNOS_HDMI
78	bool "HDMI"
79	depends on DRM_EXYNOS_MIXER || DRM_EXYNOS5433_DECON
80	help
81	  Choose this option if you want to use Exynos HDMI for DRM.
82
83config DRM_EXYNOS_MIC
84	bool "Mobile Image Compressor"
85	depends on DRM_EXYNOS5433_DECON
86	help
87	  Choose this option if you want to use Exynos MIC for DRM.
88
89comment "Sub-drivers"
90
91config DRM_EXYNOS_G2D
92	bool "G2D"
93	depends on VIDEO_SAMSUNG_S5P_G2D=n
94	select FRAME_VECTOR
95	help
96	  Choose this option if you want to use Exynos G2D for DRM.
97
98config DRM_EXYNOS_IPP
99	bool "Image Post Processor"
100	help
101	  Choose this option if you want to use IPP feature for DRM.
102
103config DRM_EXYNOS_FIMC
104	bool "FIMC"
105	depends on DRM_EXYNOS_IPP && MFD_SYSCON
106	help
107	  Choose this option if you want to use Exynos FIMC for DRM.
108
109config DRM_EXYNOS_ROTATOR
110	bool "Rotator"
111	depends on DRM_EXYNOS_IPP
112	help
113	  Choose this option if you want to use Exynos Rotator for DRM.
114
115config DRM_EXYNOS_GSC
116	bool "GScaler"
117	depends on DRM_EXYNOS_IPP && ARCH_EXYNOS5 && !VIDEO_SAMSUNG_EXYNOS_GSC
118	help
119	  Choose this option if you want to use Exynos GSC for DRM.
120
121endif
122