Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 1 | |
| 2 | config DRM_MSM |
| 3 | tristate "MSM DRM" |
| 4 | depends on DRM |
Jonathan Marek | e6f6d63 | 2018-12-04 10:16:58 -0500 | [diff] [blame] | 5 | depends on ARCH_QCOM || SOC_IMX5 || (ARM && COMPILE_TEST) |
Arnd Bergmann | 4003990 | 2015-01-28 14:48:09 +0100 | [diff] [blame] | 6 | depends on OF && COMMON_CLK |
Arnd Bergmann | f0c379a | 2017-01-11 14:33:35 +0100 | [diff] [blame] | 7 | depends on MMU |
Jordan Crouse | fcf9d0b | 2019-02-12 11:52:38 +0200 | [diff] [blame^] | 8 | depends on INTERCONNECT || !INTERCONNECT |
Arnd Bergmann | bdab8e8 | 2017-07-26 17:52:44 +0200 | [diff] [blame] | 9 | select QCOM_MDT_LOADER if ARCH_QCOM |
Rob Clark | b7bbd64 | 2014-10-31 12:19:40 -0400 | [diff] [blame] | 10 | select REGULATOR |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 11 | select DRM_KMS_HELPER |
Rob Clark | 3e87599 | 2014-08-01 13:08:11 -0400 | [diff] [blame] | 12 | select DRM_PANEL |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 13 | select SHMEM |
| 14 | select TMPFS |
Jonathan Marek | e6f6d63 | 2018-12-04 10:16:58 -0500 | [diff] [blame] | 15 | select QCOM_SCM if ARCH_QCOM |
Jordan Crouse | c0fec7f | 2018-07-24 10:33:27 -0600 | [diff] [blame] | 16 | select WANT_DEV_COREDUMP |
Srinivas Kandagatla | f142701 | 2016-06-10 10:45:56 +0100 | [diff] [blame] | 17 | select SND_SOC_HDMI_CODEC if SND_SOC |
Rob Clark | f0a42bb | 2016-06-16 16:08:19 -0400 | [diff] [blame] | 18 | select SYNC_FILE |
Rob Clark | ac20fa0 | 2017-05-02 12:39:53 -0400 | [diff] [blame] | 19 | select PM_OPP |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 20 | default y |
| 21 | help |
| 22 | DRM/KMS driver for MSM/snapdragon. |
| 23 | |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 24 | config DRM_MSM_REGISTER_LOGGING |
| 25 | bool "MSM DRM register logging" |
| 26 | depends on DRM_MSM |
| 27 | default n |
| 28 | help |
| 29 | Compile in support for logging register reads/writes in a format |
| 30 | that can be parsed by envytools demsm tool. If enabled, register |
| 31 | logging can be switched on via msm.reglog=y module param. |
Hai Li | a689554 | 2015-03-31 14:36:33 -0400 | [diff] [blame] | 32 | |
Rob Clark | 6a8bd08 | 2017-12-13 15:12:57 -0500 | [diff] [blame] | 33 | config DRM_MSM_GPU_SUDO |
| 34 | bool "Enable SUDO flag on submits" |
| 35 | depends on DRM_MSM && EXPERT |
| 36 | default n |
| 37 | help |
| 38 | Enable userspace that has CAP_SYS_RAWIO to submit GPU commands |
| 39 | that are run from RB instead of IB1. This essentially gives |
| 40 | userspace kernel level access, but is useful for firmware |
| 41 | debugging. |
| 42 | |
| 43 | Only use this if you are a driver developer. This should *not* |
| 44 | be enabled for production kernels. If unsure, say N. |
| 45 | |
Rob Clark | feb46f0 | 2016-03-20 10:16:29 -0400 | [diff] [blame] | 46 | config DRM_MSM_HDMI_HDCP |
| 47 | bool "Enable HDMI HDCP support in MSM DRM driver" |
| 48 | depends on DRM_MSM && QCOM_SCM |
| 49 | default y |
| 50 | help |
| 51 | Choose this option to enable HDCP state machine |
| 52 | |
Hai Li | a689554 | 2015-03-31 14:36:33 -0400 | [diff] [blame] | 53 | config DRM_MSM_DSI |
| 54 | bool "Enable DSI support in MSM DRM driver" |
| 55 | depends on DRM_MSM |
| 56 | select DRM_PANEL |
| 57 | select DRM_MIPI_DSI |
| 58 | default y |
| 59 | help |
| 60 | Choose this option if you have a need for MIPI DSI connector |
| 61 | support. |
| 62 | |
Hai Li | 825637b | 2015-05-15 13:04:04 -0400 | [diff] [blame] | 63 | config DRM_MSM_DSI_PLL |
| 64 | bool "Enable DSI PLL driver in MSM DRM" |
| 65 | depends on DRM_MSM_DSI && COMMON_CLK |
| 66 | default y |
| 67 | help |
| 68 | Choose this option to enable DSI PLL driver which provides DSI |
| 69 | source clocks under common clock framework. |
Hai Li | 1bf4d7c | 2015-08-13 17:45:53 -0400 | [diff] [blame] | 70 | |
| 71 | config DRM_MSM_DSI_28NM_PHY |
| 72 | bool "Enable DSI 28nm PHY driver in MSM DRM" |
| 73 | depends on DRM_MSM_DSI |
| 74 | default y |
| 75 | help |
| 76 | Choose this option if the 28nm DSI PHY is used on the platform. |
| 77 | |
| 78 | config DRM_MSM_DSI_20NM_PHY |
| 79 | bool "Enable DSI 20nm PHY driver in MSM DRM" |
| 80 | depends on DRM_MSM_DSI |
| 81 | default y |
| 82 | help |
| 83 | Choose this option if the 20nm DSI PHY is used on the platform. |
Archit Taneja | 225380b | 2015-10-14 12:00:34 +0530 | [diff] [blame] | 84 | |
| 85 | config DRM_MSM_DSI_28NM_8960_PHY |
| 86 | bool "Enable DSI 28nm 8960 PHY driver in MSM DRM" |
| 87 | depends on DRM_MSM_DSI |
| 88 | default y |
| 89 | help |
| 90 | Choose this option if the 28nm DSI PHY 8960 variant is used on the |
| 91 | platform. |
Archit Taneja | f079f6d | 2017-01-03 19:45:43 +0530 | [diff] [blame] | 92 | |
| 93 | config DRM_MSM_DSI_14NM_PHY |
| 94 | bool "Enable DSI 14nm PHY driver in MSM DRM (used by MSM8996/APQ8096)" |
| 95 | depends on DRM_MSM_DSI |
| 96 | default y |
| 97 | help |
| 98 | Choose this option if DSI PHY on 8996 is used on the platform. |
Archit Taneja | 973e02d | 2018-01-17 11:35:25 +0530 | [diff] [blame] | 99 | |
| 100 | config DRM_MSM_DSI_10NM_PHY |
| 101 | bool "Enable DSI 10nm PHY driver in MSM DRM (used by SDM845)" |
| 102 | depends on DRM_MSM_DSI |
| 103 | default y |
| 104 | help |
| 105 | Choose this option if DSI PHY on SDM845 is used on the platform. |