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