blob: b0107f001937f98c1b305864487c2f687024d560 [file] [log] [blame]
Inki Dae1c248b72011-10-04 19:19:01 +09001config DRM_EXYNOS
2 tristate "DRM Support for Samsung SoC EXYNOS Series"
Sachin Kamateccbf0d2013-08-28 10:47:53 +05303 depends on OF && DRM && (PLAT_SAMSUNG || ARCH_MULTIPLATFORM)
Inki Dae1c248b72011-10-04 19:19:01 +09004 select DRM_KMS_HELPER
Daniel Vetter92b6f892013-10-08 17:44:47 +02005 select DRM_KMS_FB_HELPER
Inki Dae1c248b72011-10-04 19:19:01 +09006 select FB_CFB_FILLRECT
7 select FB_CFB_COPYAREA
8 select FB_CFB_IMAGEBLIT
Sachin Kamat69142622013-08-30 14:40:51 +05309 select VIDEOMODE_HELPERS
Inki Dae1c248b72011-10-04 19:19:01 +090010 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
Andrzej Hajdadba6c522015-10-26 13:03:43 +010014if DRM_EXYNOS
15
Inki Dae0519f9a2012-10-20 07:53:42 -070016config DRM_EXYNOS_IOMMU
Marek Szyprowski8dcc14f2015-01-20 15:31:14 +010017 bool
Andrzej Hajdadba6c522015-10-26 13:03:43 +010018 depends on EXYNOS_IOMMU && ARM_DMA_USE_IOMMU
Marek Szyprowski8dcc14f2015-01-20 15:31:14 +010019 default y
Inki Dae0519f9a2012-10-20 07:53:42 -070020
Inki Dae1c248b72011-10-04 19:19:01 +090021config DRM_EXYNOS_FIMD
Joonyoung Shim132a5b92012-03-16 18:47:08 +090022 bool "Exynos DRM FIMD"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010023 depends on !FB_S3C
Vikas Sajjan1e2a4ad2013-03-09 05:40:20 +053024 select FB_MODE_HELPERS
YoungJun Cho3854fab2014-07-17 18:01:21 +090025 select MFD_SYSCON
Inki Dae1c248b72011-10-04 19:19:01 +090026 help
27 Choose this option if you want to use Exynos FIMD for DRM.
Seung-Woo Kimd8408322011-12-21 17:39:39 +090028
Joonyoung Shimc8466a92015-06-12 21:59:00 +090029config DRM_EXYNOS5433_DECON
30 bool "Exynos5433 DRM DECON"
Joonyoung Shimc8466a92015-06-12 21:59:00 +090031 help
32 Choose this option if you want to use Exynos5433 DECON for DRM.
33
Ajay Kumar96976c32015-02-05 21:24:04 +053034config DRM_EXYNOS7_DECON
Hyungwon Hwang9a09a692015-06-12 21:58:59 +090035 bool "Exynos7 DRM DECON"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010036 depends on !FB_S3C
Ajay Kumar96976c32015-02-05 21:24:04 +053037 select FB_MODE_HELPERS
38 help
39 Choose this option if you want to use Exynos DECON for DRM.
40
Andrzej Hajda14b68732014-03-17 13:03:56 +010041config DRM_EXYNOS_DPI
42 bool "EXYNOS DRM parallel output support"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010043 depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON
Andrzej Hajda14b68732014-03-17 13:03:56 +010044 select DRM_PANEL
45 default n
46 help
47 This enables support for Exynos parallel output.
48
Andrzej Hajda7eb8f062014-04-04 01:19:56 +090049config DRM_EXYNOS_DSI
50 bool "EXYNOS DRM MIPI-DSI driver support"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010051 depends on DRM_EXYNOS_FIMD || DRM_EXYNOS5433_DECON || DRM_EXYNOS7_DECON
Andrzej Hajda7eb8f062014-04-04 01:19:56 +090052 select DRM_MIPI_DSI
53 select DRM_PANEL
54 default n
55 help
56 This enables support for Exynos MIPI-DSI device.
57
Sean Paul2e4e6782014-01-30 16:19:22 -050058config DRM_EXYNOS_DP
59 bool "EXYNOS DRM DP driver support"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010060 depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON
Sean Paul2e4e6782014-01-30 16:19:22 -050061 default DRM_EXYNOS
Ajay Kumar5f1dcd82014-07-31 23:12:14 +053062 select DRM_PANEL
Sean Paul2e4e6782014-01-30 16:19:22 -050063 help
64 This enables support for DP device.
65
Andrzej Hajda3cb02b42015-10-26 13:03:42 +010066config DRM_EXYNOS_MIXER
67 bool "Exynos DRM Mixer"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010068 depends on !VIDEO_SAMSUNG_S5P_TV
Andrzej Hajda3cb02b42015-10-26 13:03:42 +010069 help
70 Choose this option if you want to use Exynos Mixer for DRM.
71
Seung-Woo Kimd8408322011-12-21 17:39:39 +090072config DRM_EXYNOS_HDMI
Joonyoung Shim132a5b92012-03-16 18:47:08 +090073 bool "Exynos DRM HDMI"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010074 depends on !VIDEO_SAMSUNG_S5P_TV && (DRM_EXYNOS_MIXER || DRM_EXYNOS5433_DECON)
Seung-Woo Kimd8408322011-12-21 17:39:39 +090075 help
76 Choose this option if you want to use Exynos HDMI for DRM.
Inki Daeb73d1232012-03-21 10:55:26 +090077
78config DRM_EXYNOS_VIDI
79 bool "Exynos DRM Virtual Display"
Inki Daeb73d1232012-03-21 10:55:26 +090080 help
81 Choose this option if you want to use Exynos VIDI for DRM.
Joonyoung Shimd7f16422012-05-17 20:06:32 +090082
83config DRM_EXYNOS_G2D
84 bool "Exynos DRM G2D"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010085 depends on !VIDEO_SAMSUNG_S5P_G2D
Jan Kara63540f02015-07-20 05:03:35 -030086 select FRAME_VECTOR
Joonyoung Shimd7f16422012-05-17 20:06:32 +090087 help
88 Choose this option if you want to use Exynos G2D for DRM.
Eunchul Kimcb471f142012-12-14 18:10:31 +090089
90config DRM_EXYNOS_IPP
91 bool "Exynos DRM IPP"
Eunchul Kimcb471f142012-12-14 18:10:31 +090092 help
93 Choose this option if you want to use IPP feature for DRM.
Eunchul Kim16102ed2012-12-14 17:58:55 +090094
95config DRM_EXYNOS_FIMC
96 bool "Exynos DRM FIMC"
Sachin Kamat09bd14b2013-09-05 16:25:32 +053097 depends on DRM_EXYNOS_IPP && MFD_SYSCON
Eunchul Kim16102ed2012-12-14 17:58:55 +090098 help
99 Choose this option if you want to use Exynos FIMC for DRM.
Eunchul Kimbea8a422012-12-14 17:58:56 +0900100
101config DRM_EXYNOS_ROTATOR
102 bool "Exynos DRM Rotator"
103 depends on DRM_EXYNOS_IPP
104 help
105 Choose this option if you want to use Exynos Rotator for DRM.
106
Eunchul Kimf2646382012-12-14 17:58:57 +0900107config DRM_EXYNOS_GSC
108 bool "Exynos DRM GSC"
Tushar Behera86ac5b82014-01-16 11:57:57 +0530109 depends on DRM_EXYNOS_IPP && ARCH_EXYNOS5 && !ARCH_MULTIPLATFORM
Eunchul Kimf2646382012-12-14 17:58:57 +0900110 help
111 Choose this option if you want to use Exynos GSC for DRM.
Hyungwon Hwang77bbd892015-06-12 21:59:02 +0900112
113config DRM_EXYNOS_MIC
114 bool "Exynos DRM MIC"
Andrzej Hajdadba6c522015-10-26 13:03:43 +0100115 depends on DRM_EXYNOS5433_DECON
Hyungwon Hwang77bbd892015-06-12 21:59:02 +0900116 help
117 Choose this option if you want to use Exynos MIC for DRM.
Andrzej Hajdadba6c522015-10-26 13:03:43 +0100118
119endif