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" |
Sachin Kamat | eccbf0d | 2013-08-28 10:47:53 +0530 | [diff] [blame] | 3 | depends on OF && DRM && (PLAT_SAMSUNG || 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 |
Joonyoung Shim | 132a5b9 | 2012-03-16 18:47:08 +0900 | [diff] [blame] | 24 | bool "Exynos DRM 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 |
| 32 | bool "Exynos5433 DRM DECON" |
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 |
Hyungwon Hwang | 9a09a69 | 2015-06-12 21:58:59 +0900 | [diff] [blame] | 37 | bool "Exynos7 DRM DECON" |
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 |
| 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 | |
| 49 | config 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 | |
| 54 | comment "Encoders and Bridges" |
| 55 | |
Andrzej Hajda | 14b6873 | 2014-03-17 13:03:56 +0100 | [diff] [blame] | 56 | config DRM_EXYNOS_DPI |
| 57 | bool "EXYNOS DRM parallel output support" |
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 |
| 65 | bool "EXYNOS DRM MIPI-DSI driver support" |
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 |
| 74 | bool "EXYNOS DRM DP driver support" |
Andrzej Hajda | dba6c52 | 2015-10-26 13:03:43 +0100 | [diff] [blame] | 75 | depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON |
Sean Paul | 2e4e678 | 2014-01-30 16:19:22 -0500 | [diff] [blame] | 76 | default DRM_EXYNOS |
Ajay Kumar | 5f1dcd8 | 2014-07-31 23:12:14 +0530 | [diff] [blame] | 77 | select DRM_PANEL |
Sean Paul | 2e4e678 | 2014-01-30 16:19:22 -0500 | [diff] [blame] | 78 | help |
| 79 | This enables support for DP device. |
| 80 | |
Seung-Woo Kim | d840832 | 2011-12-21 17:39:39 +0900 | [diff] [blame] | 81 | config DRM_EXYNOS_HDMI |
Joonyoung Shim | 132a5b9 | 2012-03-16 18:47:08 +0900 | [diff] [blame] | 82 | bool "Exynos DRM HDMI" |
Andrzej Hajda | dba6c52 | 2015-10-26 13:03:43 +0100 | [diff] [blame] | 83 | 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] | 84 | help |
| 85 | Choose this option if you want to use Exynos HDMI for DRM. |
Inki Dae | b73d123 | 2012-03-21 10:55:26 +0900 | [diff] [blame] | 86 | |
Andrzej Hajda | ea97764 | 2015-10-26 13:03:44 +0100 | [diff] [blame^] | 87 | config DRM_EXYNOS_MIC |
| 88 | bool "Exynos DRM MIC" |
| 89 | depends on DRM_EXYNOS5433_DECON |
Inki Dae | b73d123 | 2012-03-21 10:55:26 +0900 | [diff] [blame] | 90 | help |
Andrzej Hajda | ea97764 | 2015-10-26 13:03:44 +0100 | [diff] [blame^] | 91 | Choose this option if you want to use Exynos MIC for DRM. |
| 92 | |
| 93 | comment "Sub-drivers" |
Joonyoung Shim | d7f1642 | 2012-05-17 20:06:32 +0900 | [diff] [blame] | 94 | |
| 95 | config DRM_EXYNOS_G2D |
| 96 | bool "Exynos DRM G2D" |
Andrzej Hajda | dba6c52 | 2015-10-26 13:03:43 +0100 | [diff] [blame] | 97 | depends on !VIDEO_SAMSUNG_S5P_G2D |
Jan Kara | 63540f0 | 2015-07-20 05:03:35 -0300 | [diff] [blame] | 98 | select FRAME_VECTOR |
Joonyoung Shim | d7f1642 | 2012-05-17 20:06:32 +0900 | [diff] [blame] | 99 | help |
| 100 | Choose this option if you want to use Exynos G2D for DRM. |
Eunchul Kim | cb471f14 | 2012-12-14 18:10:31 +0900 | [diff] [blame] | 101 | |
| 102 | config DRM_EXYNOS_IPP |
| 103 | bool "Exynos DRM IPP" |
Eunchul Kim | cb471f14 | 2012-12-14 18:10:31 +0900 | [diff] [blame] | 104 | help |
| 105 | Choose this option if you want to use IPP feature for DRM. |
Eunchul Kim | 16102ed | 2012-12-14 17:58:55 +0900 | [diff] [blame] | 106 | |
| 107 | config DRM_EXYNOS_FIMC |
| 108 | bool "Exynos DRM FIMC" |
Sachin Kamat | 09bd14b | 2013-09-05 16:25:32 +0530 | [diff] [blame] | 109 | depends on DRM_EXYNOS_IPP && MFD_SYSCON |
Eunchul Kim | 16102ed | 2012-12-14 17:58:55 +0900 | [diff] [blame] | 110 | help |
| 111 | Choose this option if you want to use Exynos FIMC for DRM. |
Eunchul Kim | bea8a42 | 2012-12-14 17:58:56 +0900 | [diff] [blame] | 112 | |
| 113 | config 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 Kim | f264638 | 2012-12-14 17:58:57 +0900 | [diff] [blame] | 119 | config DRM_EXYNOS_GSC |
| 120 | bool "Exynos DRM GSC" |
Tushar Behera | 86ac5b8 | 2014-01-16 11:57:57 +0530 | [diff] [blame] | 121 | depends on DRM_EXYNOS_IPP && ARCH_EXYNOS5 && !ARCH_MULTIPLATFORM |
Eunchul Kim | f264638 | 2012-12-14 17:58:57 +0900 | [diff] [blame] | 122 | help |
| 123 | Choose this option if you want to use Exynos GSC for DRM. |
Hyungwon Hwang | 77bbd89 | 2015-06-12 21:59:02 +0900 | [diff] [blame] | 124 | |
Andrzej Hajda | dba6c52 | 2015-10-26 13:03:43 +0100 | [diff] [blame] | 125 | endif |