blob: 9c37e4de5896a72bcc3a5140ae564d25fa6622f9 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Rob Clarkc8afe682013-06-26 12:44:06 -04002
3config DRM_MSM
4 tristate "MSM DRM"
5 depends on DRM
Jonathan Mareke6f6d632018-12-04 10:16:58 -05006 depends on ARCH_QCOM || SOC_IMX5 || (ARM && COMPILE_TEST)
Arnd Bergmann40039902015-01-28 14:48:09 +01007 depends on OF && COMMON_CLK
Arnd Bergmannf0c379a2017-01-11 14:33:35 +01008 depends on MMU
Jordan Crousefcf9d0b2019-02-12 11:52:38 +02009 depends on INTERCONNECT || !INTERCONNECT
Arnd Bergmannbdab8e82017-07-26 17:52:44 +020010 select QCOM_MDT_LOADER if ARCH_QCOM
Rob Clarkb7bbd642014-10-31 12:19:40 -040011 select REGULATOR
Rob Clarkc8afe682013-06-26 12:44:06 -040012 select DRM_KMS_HELPER
Rob Clark3e875992014-08-01 13:08:11 -040013 select DRM_PANEL
Rob Clarkc8afe682013-06-26 12:44:06 -040014 select SHMEM
15 select TMPFS
Jonathan Mareke6f6d632018-12-04 10:16:58 -050016 select QCOM_SCM if ARCH_QCOM
Jordan Crousec0fec7f2018-07-24 10:33:27 -060017 select WANT_DEV_COREDUMP
Srinivas Kandagatlaf1427012016-06-10 10:45:56 +010018 select SND_SOC_HDMI_CODEC if SND_SOC
Rob Clarkf0a42bb2016-06-16 16:08:19 -040019 select SYNC_FILE
Rob Clarkac20fa02017-05-02 12:39:53 -040020 select PM_OPP
Rob Clarkc8afe682013-06-26 12:44:06 -040021 default y
22 help
23 DRM/KMS driver for MSM/snapdragon.
24
Jordan Crouseb02872d2019-04-10 10:58:16 -060025config DRM_MSM_GPU_STATE
26 bool
27 depends on DRM_MSM && (DEBUG_FS || DEV_COREDUMP)
28 default y
29
Rob Clarkc8afe682013-06-26 12:44:06 -040030config DRM_MSM_REGISTER_LOGGING
31 bool "MSM DRM register logging"
32 depends on DRM_MSM
33 default n
34 help
35 Compile in support for logging register reads/writes in a format
36 that can be parsed by envytools demsm tool. If enabled, register
37 logging can be switched on via msm.reglog=y module param.
Hai Lia6895542015-03-31 14:36:33 -040038
Rob Clark6a8bd082017-12-13 15:12:57 -050039config DRM_MSM_GPU_SUDO
40 bool "Enable SUDO flag on submits"
41 depends on DRM_MSM && EXPERT
42 default n
43 help
44 Enable userspace that has CAP_SYS_RAWIO to submit GPU commands
45 that are run from RB instead of IB1. This essentially gives
46 userspace kernel level access, but is useful for firmware
47 debugging.
48
49 Only use this if you are a driver developer. This should *not*
50 be enabled for production kernels. If unsure, say N.
51
Rob Clarkfeb46f02016-03-20 10:16:29 -040052config DRM_MSM_HDMI_HDCP
53 bool "Enable HDMI HDCP support in MSM DRM driver"
54 depends on DRM_MSM && QCOM_SCM
55 default y
56 help
57 Choose this option to enable HDCP state machine
58
Hai Lia6895542015-03-31 14:36:33 -040059config DRM_MSM_DSI
60 bool "Enable DSI support in MSM DRM driver"
61 depends on DRM_MSM
62 select DRM_PANEL
63 select DRM_MIPI_DSI
64 default y
65 help
66 Choose this option if you have a need for MIPI DSI connector
67 support.
68
Hai Li825637b2015-05-15 13:04:04 -040069config DRM_MSM_DSI_PLL
70 bool "Enable DSI PLL driver in MSM DRM"
71 depends on DRM_MSM_DSI && COMMON_CLK
72 default y
73 help
74 Choose this option to enable DSI PLL driver which provides DSI
75 source clocks under common clock framework.
Hai Li1bf4d7c2015-08-13 17:45:53 -040076
77config DRM_MSM_DSI_28NM_PHY
78 bool "Enable DSI 28nm PHY driver in MSM DRM"
79 depends on DRM_MSM_DSI
80 default y
81 help
82 Choose this option if the 28nm DSI PHY is used on the platform.
83
84config DRM_MSM_DSI_20NM_PHY
85 bool "Enable DSI 20nm PHY driver in MSM DRM"
86 depends on DRM_MSM_DSI
87 default y
88 help
89 Choose this option if the 20nm DSI PHY is used on the platform.
Archit Taneja225380b2015-10-14 12:00:34 +053090
91config DRM_MSM_DSI_28NM_8960_PHY
92 bool "Enable DSI 28nm 8960 PHY driver in MSM DRM"
93 depends on DRM_MSM_DSI
94 default y
95 help
96 Choose this option if the 28nm DSI PHY 8960 variant is used on the
97 platform.
Archit Tanejaf079f6d2017-01-03 19:45:43 +053098
99config DRM_MSM_DSI_14NM_PHY
100 bool "Enable DSI 14nm PHY driver in MSM DRM (used by MSM8996/APQ8096)"
101 depends on DRM_MSM_DSI
102 default y
103 help
104 Choose this option if DSI PHY on 8996 is used on the platform.
Archit Taneja973e02d2018-01-17 11:35:25 +0530105
106config DRM_MSM_DSI_10NM_PHY
107 bool "Enable DSI 10nm PHY driver in MSM DRM (used by SDM845)"
108 depends on DRM_MSM_DSI
109 default y
110 help
111 Choose this option if DSI PHY on SDM845 is used on the platform.