Inki Dae | 1c248b7 | 2011-10-04 19:19:01 +0900 | [diff] [blame] | 1 | config DRM_EXYNOS |
| 2 | tristate "DRM Support for Samsung SoC EXYNOS Series" |
Joonyoung Shim | dbbc925 | 2016-02-03 13:42:45 +0100 | [diff] [blame] | 3 | depends on OF && DRM && (ARCH_S3C64XX || ARCH_EXYNOS || ARCH_MULTIPLATFORM) |
Inki Dae | 1c248b7 | 2011-10-04 19:19:01 +0900 | [diff] [blame] | 4 | select DRM_KMS_HELPER |
Daniel Vetter | 92b6f89 | 2013-10-08 17:44:47 +0200 | [diff] [blame] | 5 | select DRM_KMS_FB_HELPER |
Inki Dae | 1c248b7 | 2011-10-04 19:19:01 +0900 | [diff] [blame] | 6 | select FB_CFB_FILLRECT |
| 7 | select FB_CFB_COPYAREA |
| 8 | select FB_CFB_IMAGEBLIT |
Sachin Kamat | 6914262 | 2013-08-30 14:40:51 +0530 | [diff] [blame] | 9 | select VIDEOMODE_HELPERS |
Inki Dae | 1c248b7 | 2011-10-04 19:19:01 +0900 | [diff] [blame] | 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 | |
Andrzej Hajda | dba6c52 | 2015-10-26 13:03:43 +0100 | [diff] [blame] | 14 | if DRM_EXYNOS |
| 15 | |
Inki Dae | 0519f9a | 2012-10-20 07:53:42 -0700 | [diff] [blame] | 16 | config DRM_EXYNOS_IOMMU |
Marek Szyprowski | 8dcc14f | 2015-01-20 15:31:14 +0100 | [diff] [blame] | 17 | bool |
Andrzej Hajda | dba6c52 | 2015-10-26 13:03:43 +0100 | [diff] [blame] | 18 | depends on EXYNOS_IOMMU && ARM_DMA_USE_IOMMU |
Marek Szyprowski | 8dcc14f | 2015-01-20 15:31:14 +0100 | [diff] [blame] | 19 | default y |
Inki Dae | 0519f9a | 2012-10-20 07:53:42 -0700 | [diff] [blame] | 20 | |
Andrzej Hajda | ea97764 | 2015-10-26 13:03:44 +0100 | [diff] [blame] | 21 | comment "CRTCs" |
| 22 | |
Inki Dae | 1c248b7 | 2011-10-04 19:19:01 +0900 | [diff] [blame] | 23 | config DRM_EXYNOS_FIMD |
Andrzej Hajda | 5a3c35b | 2015-10-26 13:03:45 +0100 | [diff] [blame] | 24 | bool "FIMD" |
Andrzej Hajda | dba6c52 | 2015-10-26 13:03:43 +0100 | [diff] [blame] | 25 | depends on !FB_S3C |
Vikas Sajjan | 1e2a4ad | 2013-03-09 05:40:20 +0530 | [diff] [blame] | 26 | select FB_MODE_HELPERS |
YoungJun Cho | 3854fab | 2014-07-17 18:01:21 +0900 | [diff] [blame] | 27 | select MFD_SYSCON |
Inki Dae | 1c248b7 | 2011-10-04 19:19:01 +0900 | [diff] [blame] | 28 | help |
| 29 | Choose this option if you want to use Exynos FIMD for DRM. |
Seung-Woo Kim | d840832 | 2011-12-21 17:39:39 +0900 | [diff] [blame] | 30 | |
Joonyoung Shim | c8466a9 | 2015-06-12 21:59:00 +0900 | [diff] [blame] | 31 | config DRM_EXYNOS5433_DECON |
Andrzej Hajda | 5a3c35b | 2015-10-26 13:03:45 +0100 | [diff] [blame] | 32 | bool "DECON on Exynos5433" |
Joonyoung Shim | c8466a9 | 2015-06-12 21:59:00 +0900 | [diff] [blame] | 33 | help |
| 34 | Choose this option if you want to use Exynos5433 DECON for DRM. |
| 35 | |
Ajay Kumar | 96976c3 | 2015-02-05 21:24:04 +0530 | [diff] [blame] | 36 | config DRM_EXYNOS7_DECON |
Andrzej Hajda | 5a3c35b | 2015-10-26 13:03:45 +0100 | [diff] [blame] | 37 | bool "DECON on Exynos7" |
Andrzej Hajda | dba6c52 | 2015-10-26 13:03:43 +0100 | [diff] [blame] | 38 | depends on !FB_S3C |
Ajay Kumar | 96976c3 | 2015-02-05 21:24:04 +0530 | [diff] [blame] | 39 | select FB_MODE_HELPERS |
| 40 | help |
| 41 | Choose this option if you want to use Exynos DECON for DRM. |
| 42 | |
Andrzej Hajda | ea97764 | 2015-10-26 13:03:44 +0100 | [diff] [blame] | 43 | config DRM_EXYNOS_MIXER |
Andrzej Hajda | 5a3c35b | 2015-10-26 13:03:45 +0100 | [diff] [blame] | 44 | bool "Mixer" |
Andrzej Hajda | ea97764 | 2015-10-26 13:03:44 +0100 | [diff] [blame] | 45 | depends on !VIDEO_SAMSUNG_S5P_TV |
| 46 | help |
| 47 | Choose this option if you want to use Exynos Mixer for DRM. |
| 48 | |
| 49 | config DRM_EXYNOS_VIDI |
Andrzej Hajda | 5a3c35b | 2015-10-26 13:03:45 +0100 | [diff] [blame] | 50 | bool "Virtual Display" |
Andrzej Hajda | ea97764 | 2015-10-26 13:03:44 +0100 | [diff] [blame] | 51 | help |
| 52 | Choose this option if you want to use Exynos VIDI for DRM. |
| 53 | |
| 54 | comment "Encoders and Bridges" |
| 55 | |
Andrzej Hajda | 14b6873 | 2014-03-17 13:03:56 +0100 | [diff] [blame] | 56 | config DRM_EXYNOS_DPI |
Andrzej Hajda | 5a3c35b | 2015-10-26 13:03:45 +0100 | [diff] [blame] | 57 | bool "Parallel output" |
Andrzej Hajda | ea97764 | 2015-10-26 13:03:44 +0100 | [diff] [blame] | 58 | depends on DRM_EXYNOS_FIMD |
Andrzej Hajda | 14b6873 | 2014-03-17 13:03:56 +0100 | [diff] [blame] | 59 | select DRM_PANEL |
| 60 | default n |
| 61 | help |
| 62 | This enables support for Exynos parallel output. |
| 63 | |
Andrzej Hajda | 7eb8f06 | 2014-04-04 01:19:56 +0900 | [diff] [blame] | 64 | config DRM_EXYNOS_DSI |
Andrzej Hajda | 5a3c35b | 2015-10-26 13:03:45 +0100 | [diff] [blame] | 65 | bool "MIPI-DSI host" |
Andrzej Hajda | dba6c52 | 2015-10-26 13:03:43 +0100 | [diff] [blame] | 66 | depends on DRM_EXYNOS_FIMD || DRM_EXYNOS5433_DECON || DRM_EXYNOS7_DECON |
Andrzej Hajda | 7eb8f06 | 2014-04-04 01:19:56 +0900 | [diff] [blame] | 67 | select DRM_MIPI_DSI |
| 68 | select DRM_PANEL |
| 69 | default n |
| 70 | help |
| 71 | This enables support for Exynos MIPI-DSI device. |
| 72 | |
Sean Paul | 2e4e678 | 2014-01-30 16:19:22 -0500 | [diff] [blame] | 73 | config DRM_EXYNOS_DP |
Yakir Yang | 3424e3a | 2016-03-29 09:57:03 +0800 | [diff] [blame^] | 74 | bool "EXYNOS specific extensions for Analogix DP driver" |
Andrzej Hajda | dba6c52 | 2015-10-26 13:03:43 +0100 | [diff] [blame] | 75 | depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON |
Yakir Yang | 3424e3a | 2016-03-29 09:57:03 +0800 | [diff] [blame^] | 76 | select DRM_ANALOGIX_DP |
Sean Paul | 2e4e678 | 2014-01-30 16:19:22 -0500 | [diff] [blame] | 77 | default DRM_EXYNOS |
Ajay Kumar | 5f1dcd8 | 2014-07-31 23:12:14 +0530 | [diff] [blame] | 78 | select DRM_PANEL |
Sean Paul | 2e4e678 | 2014-01-30 16:19:22 -0500 | [diff] [blame] | 79 | help |
| 80 | This enables support for DP device. |
| 81 | |
Seung-Woo Kim | d840832 | 2011-12-21 17:39:39 +0900 | [diff] [blame] | 82 | config DRM_EXYNOS_HDMI |
Andrzej Hajda | 5a3c35b | 2015-10-26 13:03:45 +0100 | [diff] [blame] | 83 | bool "HDMI" |
Andrzej Hajda | dba6c52 | 2015-10-26 13:03:43 +0100 | [diff] [blame] | 84 | depends on !VIDEO_SAMSUNG_S5P_TV && (DRM_EXYNOS_MIXER || DRM_EXYNOS5433_DECON) |
Seung-Woo Kim | d840832 | 2011-12-21 17:39:39 +0900 | [diff] [blame] | 85 | help |
| 86 | Choose this option if you want to use Exynos HDMI for DRM. |
Inki Dae | b73d123 | 2012-03-21 10:55:26 +0900 | [diff] [blame] | 87 | |
Andrzej Hajda | ea97764 | 2015-10-26 13:03:44 +0100 | [diff] [blame] | 88 | config DRM_EXYNOS_MIC |
Andrzej Hajda | 5a3c35b | 2015-10-26 13:03:45 +0100 | [diff] [blame] | 89 | bool "Mobile Image Compressor" |
Andrzej Hajda | ea97764 | 2015-10-26 13:03:44 +0100 | [diff] [blame] | 90 | depends on DRM_EXYNOS5433_DECON |
Inki Dae | b73d123 | 2012-03-21 10:55:26 +0900 | [diff] [blame] | 91 | help |
Andrzej Hajda | ea97764 | 2015-10-26 13:03:44 +0100 | [diff] [blame] | 92 | Choose this option if you want to use Exynos MIC for DRM. |
| 93 | |
| 94 | comment "Sub-drivers" |
Joonyoung Shim | d7f1642 | 2012-05-17 20:06:32 +0900 | [diff] [blame] | 95 | |
| 96 | config DRM_EXYNOS_G2D |
Andrzej Hajda | 5a3c35b | 2015-10-26 13:03:45 +0100 | [diff] [blame] | 97 | bool "G2D" |
Andrzej Hajda | dba6c52 | 2015-10-26 13:03:43 +0100 | [diff] [blame] | 98 | depends on !VIDEO_SAMSUNG_S5P_G2D |
Jan Kara | 63540f0 | 2015-07-20 05:03:35 -0300 | [diff] [blame] | 99 | select FRAME_VECTOR |
Joonyoung Shim | d7f1642 | 2012-05-17 20:06:32 +0900 | [diff] [blame] | 100 | help |
| 101 | Choose this option if you want to use Exynos G2D for DRM. |
Eunchul Kim | cb471f14 | 2012-12-14 18:10:31 +0900 | [diff] [blame] | 102 | |
| 103 | config DRM_EXYNOS_IPP |
Andrzej Hajda | 5a3c35b | 2015-10-26 13:03:45 +0100 | [diff] [blame] | 104 | bool "Image Post Processor" |
Eunchul Kim | cb471f14 | 2012-12-14 18:10:31 +0900 | [diff] [blame] | 105 | help |
| 106 | Choose this option if you want to use IPP feature for DRM. |
Eunchul Kim | 16102ed | 2012-12-14 17:58:55 +0900 | [diff] [blame] | 107 | |
| 108 | config DRM_EXYNOS_FIMC |
Andrzej Hajda | 5a3c35b | 2015-10-26 13:03:45 +0100 | [diff] [blame] | 109 | bool "FIMC" |
Sachin Kamat | 09bd14b | 2013-09-05 16:25:32 +0530 | [diff] [blame] | 110 | depends on DRM_EXYNOS_IPP && MFD_SYSCON |
Eunchul Kim | 16102ed | 2012-12-14 17:58:55 +0900 | [diff] [blame] | 111 | help |
| 112 | Choose this option if you want to use Exynos FIMC for DRM. |
Eunchul Kim | bea8a42 | 2012-12-14 17:58:56 +0900 | [diff] [blame] | 113 | |
| 114 | config DRM_EXYNOS_ROTATOR |
Andrzej Hajda | 5a3c35b | 2015-10-26 13:03:45 +0100 | [diff] [blame] | 115 | bool "Rotator" |
Eunchul Kim | bea8a42 | 2012-12-14 17:58:56 +0900 | [diff] [blame] | 116 | depends on DRM_EXYNOS_IPP |
| 117 | help |
| 118 | Choose this option if you want to use Exynos Rotator for DRM. |
| 119 | |
Eunchul Kim | f264638 | 2012-12-14 17:58:57 +0900 | [diff] [blame] | 120 | config DRM_EXYNOS_GSC |
Andrzej Hajda | 5a3c35b | 2015-10-26 13:03:45 +0100 | [diff] [blame] | 121 | bool "GScaler" |
Seung-Woo Kim | aeefb36 | 2015-11-30 14:53:18 +0100 | [diff] [blame] | 122 | depends on DRM_EXYNOS_IPP && ARCH_EXYNOS5 && !VIDEO_SAMSUNG_EXYNOS_GSC |
Eunchul Kim | f264638 | 2012-12-14 17:58:57 +0900 | [diff] [blame] | 123 | help |
| 124 | Choose this option if you want to use Exynos GSC for DRM. |
Hyungwon Hwang | 77bbd89 | 2015-06-12 21:59:02 +0900 | [diff] [blame] | 125 | |
Andrzej Hajda | dba6c52 | 2015-10-26 13:03:43 +0100 | [diff] [blame] | 126 | endif |