blob: 78c9e5a5e79336cd004b9cd4524a7fdc764c9b5d [file] [log] [blame]
Rob Clarkc8afe682013-06-26 12:44:06 -04001
2config DRM_MSM
3 tristate "MSM DRM"
4 depends on DRM
Jonathan Mareke6f6d632018-12-04 10:16:58 -05005 depends on ARCH_QCOM || SOC_IMX5 || (ARM && COMPILE_TEST)
Arnd Bergmann40039902015-01-28 14:48:09 +01006 depends on OF && COMMON_CLK
Arnd Bergmannf0c379a2017-01-11 14:33:35 +01007 depends on MMU
Jordan Crousefcf9d0b2019-02-12 11:52:38 +02008 depends on INTERCONNECT || !INTERCONNECT
Arnd Bergmannbdab8e82017-07-26 17:52:44 +02009 select QCOM_MDT_LOADER if ARCH_QCOM
Rob Clarkb7bbd642014-10-31 12:19:40 -040010 select REGULATOR
Rob Clarkc8afe682013-06-26 12:44:06 -040011 select DRM_KMS_HELPER
Rob Clark3e875992014-08-01 13:08:11 -040012 select DRM_PANEL
Rob Clarkc8afe682013-06-26 12:44:06 -040013 select SHMEM
14 select TMPFS
Jonathan Mareke6f6d632018-12-04 10:16:58 -050015 select QCOM_SCM if ARCH_QCOM
Jordan Crousec0fec7f2018-07-24 10:33:27 -060016 select WANT_DEV_COREDUMP
Srinivas Kandagatlaf1427012016-06-10 10:45:56 +010017 select SND_SOC_HDMI_CODEC if SND_SOC
Rob Clarkf0a42bb2016-06-16 16:08:19 -040018 select SYNC_FILE
Rob Clarkac20fa02017-05-02 12:39:53 -040019 select PM_OPP
Rob Clarkc8afe682013-06-26 12:44:06 -040020 default y
21 help
22 DRM/KMS driver for MSM/snapdragon.
23
Rob Clarkc8afe682013-06-26 12:44:06 -040024config 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 Lia6895542015-03-31 14:36:33 -040032
Rob Clark6a8bd082017-12-13 15:12:57 -050033config 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 Clarkfeb46f02016-03-20 10:16:29 -040046config 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 Lia6895542015-03-31 14:36:33 -040053config 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 Li825637b2015-05-15 13:04:04 -040063config 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 Li1bf4d7c2015-08-13 17:45:53 -040070
71config 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
78config 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 Taneja225380b2015-10-14 12:00:34 +053084
85config 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 Tanejaf079f6d2017-01-03 19:45:43 +053092
93config 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 Taneja973e02d2018-01-17 11:35:25 +053099
100config 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.