blob: b2d6cbd63d7533af48eb3f40ac2e3ecb0a591683 [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
Andrzej Hajdaea977642015-10-26 13:03:44 +010021comment "CRTCs"
22
Inki Dae1c248b72011-10-04 19:19:01 +090023config DRM_EXYNOS_FIMD
Joonyoung Shim132a5b92012-03-16 18:47:08 +090024 bool "Exynos DRM FIMD"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010025 depends on !FB_S3C
Vikas Sajjan1e2a4ad2013-03-09 05:40:20 +053026 select FB_MODE_HELPERS
YoungJun Cho3854fab2014-07-17 18:01:21 +090027 select MFD_SYSCON
Inki Dae1c248b72011-10-04 19:19:01 +090028 help
29 Choose this option if you want to use Exynos FIMD for DRM.
Seung-Woo Kimd8408322011-12-21 17:39:39 +090030
Joonyoung Shimc8466a92015-06-12 21:59:00 +090031config DRM_EXYNOS5433_DECON
32 bool "Exynos5433 DRM DECON"
Joonyoung Shimc8466a92015-06-12 21:59:00 +090033 help
34 Choose this option if you want to use Exynos5433 DECON for DRM.
35
Ajay Kumar96976c32015-02-05 21:24:04 +053036config DRM_EXYNOS7_DECON
Hyungwon Hwang9a09a692015-06-12 21:58:59 +090037 bool "Exynos7 DRM DECON"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010038 depends on !FB_S3C
Ajay Kumar96976c32015-02-05 21:24:04 +053039 select FB_MODE_HELPERS
40 help
41 Choose this option if you want to use Exynos DECON for DRM.
42
Andrzej Hajdaea977642015-10-26 13:03:44 +010043config DRM_EXYNOS_MIXER
44 bool "Exynos DRM 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 "Exynos DRM Virtual Display"
51 help
52 Choose this option if you want to use Exynos VIDI for DRM.
53
54comment "Encoders and Bridges"
55
Andrzej Hajda14b68732014-03-17 13:03:56 +010056config DRM_EXYNOS_DPI
57 bool "EXYNOS DRM parallel output support"
Andrzej Hajdaea977642015-10-26 13:03:44 +010058 depends on DRM_EXYNOS_FIMD
Andrzej Hajda14b68732014-03-17 13:03:56 +010059 select DRM_PANEL
60 default n
61 help
62 This enables support for Exynos parallel output.
63
Andrzej Hajda7eb8f062014-04-04 01:19:56 +090064config DRM_EXYNOS_DSI
65 bool "EXYNOS DRM MIPI-DSI driver support"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010066 depends on DRM_EXYNOS_FIMD || DRM_EXYNOS5433_DECON || DRM_EXYNOS7_DECON
Andrzej Hajda7eb8f062014-04-04 01:19:56 +090067 select DRM_MIPI_DSI
68 select DRM_PANEL
69 default n
70 help
71 This enables support for Exynos MIPI-DSI device.
72
Sean Paul2e4e6782014-01-30 16:19:22 -050073config DRM_EXYNOS_DP
74 bool "EXYNOS DRM DP driver support"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010075 depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON
Sean Paul2e4e6782014-01-30 16:19:22 -050076 default DRM_EXYNOS
Ajay Kumar5f1dcd82014-07-31 23:12:14 +053077 select DRM_PANEL
Sean Paul2e4e6782014-01-30 16:19:22 -050078 help
79 This enables support for DP device.
80
Seung-Woo Kimd8408322011-12-21 17:39:39 +090081config DRM_EXYNOS_HDMI
Joonyoung Shim132a5b92012-03-16 18:47:08 +090082 bool "Exynos DRM HDMI"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010083 depends on !VIDEO_SAMSUNG_S5P_TV && (DRM_EXYNOS_MIXER || DRM_EXYNOS5433_DECON)
Seung-Woo Kimd8408322011-12-21 17:39:39 +090084 help
85 Choose this option if you want to use Exynos HDMI for DRM.
Inki Daeb73d1232012-03-21 10:55:26 +090086
Andrzej Hajdaea977642015-10-26 13:03:44 +010087config DRM_EXYNOS_MIC
88 bool "Exynos DRM MIC"
89 depends on DRM_EXYNOS5433_DECON
Inki Daeb73d1232012-03-21 10:55:26 +090090 help
Andrzej Hajdaea977642015-10-26 13:03:44 +010091 Choose this option if you want to use Exynos MIC for DRM.
92
93comment "Sub-drivers"
Joonyoung Shimd7f16422012-05-17 20:06:32 +090094
95config DRM_EXYNOS_G2D
96 bool "Exynos DRM G2D"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010097 depends on !VIDEO_SAMSUNG_S5P_G2D
Jan Kara63540f02015-07-20 05:03:35 -030098 select FRAME_VECTOR
Joonyoung Shimd7f16422012-05-17 20:06:32 +090099 help
100 Choose this option if you want to use Exynos G2D for DRM.
Eunchul Kimcb471f142012-12-14 18:10:31 +0900101
102config DRM_EXYNOS_IPP
103 bool "Exynos DRM IPP"
Eunchul Kimcb471f142012-12-14 18:10:31 +0900104 help
105 Choose this option if you want to use IPP feature for DRM.
Eunchul Kim16102ed2012-12-14 17:58:55 +0900106
107config DRM_EXYNOS_FIMC
108 bool "Exynos DRM FIMC"
Sachin Kamat09bd14b2013-09-05 16:25:32 +0530109 depends on DRM_EXYNOS_IPP && MFD_SYSCON
Eunchul Kim16102ed2012-12-14 17:58:55 +0900110 help
111 Choose this option if you want to use Exynos FIMC for DRM.
Eunchul Kimbea8a422012-12-14 17:58:56 +0900112
113config DRM_EXYNOS_ROTATOR
114 bool "Exynos DRM Rotator"
115 depends on DRM_EXYNOS_IPP
116 help
117 Choose this option if you want to use Exynos Rotator for DRM.
118
Eunchul Kimf2646382012-12-14 17:58:57 +0900119config DRM_EXYNOS_GSC
120 bool "Exynos DRM GSC"
Tushar Behera86ac5b82014-01-16 11:57:57 +0530121 depends on DRM_EXYNOS_IPP && ARCH_EXYNOS5 && !ARCH_MULTIPLATFORM
Eunchul Kimf2646382012-12-14 17:58:57 +0900122 help
123 Choose this option if you want to use Exynos GSC for DRM.
Hyungwon Hwang77bbd892015-06-12 21:59:02 +0900124
Andrzej Hajdadba6c522015-10-26 13:03:43 +0100125endif