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