blob: 343813a5fbc87e4b36304274fb14da2a836e9ce1 [file] [log] [blame]
Inki Dae1c248b72011-10-04 19:19:01 +09001config DRM_EXYNOS
2 tristate "DRM Support for Samsung SoC EXYNOS Series"
Joonyoung Shimdbbc9252016-02-03 13:42:45 +01003 depends on OF && DRM && (ARCH_S3C64XX || ARCH_EXYNOS || 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
Marek Szyprowski197adf02016-06-17 09:54:27 +020018 depends on EXYNOS_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
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010024 bool "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
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010032 bool "DECON on Exynos5433"
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
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010037 bool "DECON on Exynos7"
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
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010044 bool "Mixer"
Andrzej Hajdaea977642015-10-26 13:03:44 +010045 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
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010050 bool "Virtual Display"
Andrzej Hajdaea977642015-10-26 13:03:44 +010051 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
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010057 bool "Parallel output"
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
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010065 bool "MIPI-DSI host"
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
Yakir Yang3424e3a2016-03-29 09:57:03 +080074 bool "EXYNOS specific extensions for Analogix DP driver"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010075 depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON
Yakir Yang3424e3a2016-03-29 09:57:03 +080076 select DRM_ANALOGIX_DP
Sean Paul2e4e6782014-01-30 16:19:22 -050077 default DRM_EXYNOS
Ajay Kumar5f1dcd82014-07-31 23:12:14 +053078 select DRM_PANEL
Sean Paul2e4e6782014-01-30 16:19:22 -050079 help
80 This enables support for DP device.
81
Seung-Woo Kimd8408322011-12-21 17:39:39 +090082config DRM_EXYNOS_HDMI
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010083 bool "HDMI"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010084 depends on !VIDEO_SAMSUNG_S5P_TV && (DRM_EXYNOS_MIXER || DRM_EXYNOS5433_DECON)
Seung-Woo Kimd8408322011-12-21 17:39:39 +090085 help
86 Choose this option if you want to use Exynos HDMI for DRM.
Inki Daeb73d1232012-03-21 10:55:26 +090087
Andrzej Hajdaea977642015-10-26 13:03:44 +010088config DRM_EXYNOS_MIC
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010089 bool "Mobile Image Compressor"
Andrzej Hajdaea977642015-10-26 13:03:44 +010090 depends on DRM_EXYNOS5433_DECON
Inki Daeb73d1232012-03-21 10:55:26 +090091 help
Andrzej Hajdaea977642015-10-26 13:03:44 +010092 Choose this option if you want to use Exynos MIC for DRM.
93
94comment "Sub-drivers"
Joonyoung Shimd7f16422012-05-17 20:06:32 +090095
96config DRM_EXYNOS_G2D
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010097 bool "G2D"
Javier Martinez Canillas12867e42016-03-29 10:28:55 +090098 depends on VIDEO_SAMSUNG_S5P_G2D=n
Jan Kara63540f02015-07-20 05:03:35 -030099 select FRAME_VECTOR
Joonyoung Shimd7f16422012-05-17 20:06:32 +0900100 help
101 Choose this option if you want to use Exynos G2D for DRM.
Eunchul Kimcb471f142012-12-14 18:10:31 +0900102
103config DRM_EXYNOS_IPP
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +0100104 bool "Image Post Processor"
Eunchul Kimcb471f142012-12-14 18:10:31 +0900105 help
106 Choose this option if you want to use IPP feature for DRM.
Eunchul Kim16102ed2012-12-14 17:58:55 +0900107
108config DRM_EXYNOS_FIMC
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +0100109 bool "FIMC"
Sachin Kamat09bd14b2013-09-05 16:25:32 +0530110 depends on DRM_EXYNOS_IPP && MFD_SYSCON
Eunchul Kim16102ed2012-12-14 17:58:55 +0900111 help
112 Choose this option if you want to use Exynos FIMC for DRM.
Eunchul Kimbea8a422012-12-14 17:58:56 +0900113
114config DRM_EXYNOS_ROTATOR
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +0100115 bool "Rotator"
Eunchul Kimbea8a422012-12-14 17:58:56 +0900116 depends on DRM_EXYNOS_IPP
117 help
118 Choose this option if you want to use Exynos Rotator for DRM.
119
Eunchul Kimf2646382012-12-14 17:58:57 +0900120config DRM_EXYNOS_GSC
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +0100121 bool "GScaler"
Seung-Woo Kimaeefb362015-11-30 14:53:18 +0100122 depends on DRM_EXYNOS_IPP && ARCH_EXYNOS5 && !VIDEO_SAMSUNG_EXYNOS_GSC
Eunchul Kimf2646382012-12-14 17:58:57 +0900123 help
124 Choose this option if you want to use Exynos GSC for DRM.
Hyungwon Hwang77bbd892015-06-12 21:59:02 +0900125
Andrzej Hajdadba6c522015-10-26 13:03:43 +0100126endif