blob: 3065cb290aa8e56b3383030a274aa89af79290ec [file] [log] [blame]
Rob Clarkc8afe682013-06-26 12:44:06 -04001
2config DRM_MSM
3 tristate "MSM DRM"
4 depends on DRM
Rob Clarkfb27b8f2014-05-30 15:37:54 -04005 depends on ARCH_QCOM || (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
Arnd Bergmannbdab8e82017-07-26 17:52:44 +02008 select QCOM_MDT_LOADER if ARCH_QCOM
Rob Clarkb7bbd642014-10-31 12:19:40 -04009 select REGULATOR
Rob Clarkc8afe682013-06-26 12:44:06 -040010 select DRM_KMS_HELPER
Rob Clark3e875992014-08-01 13:08:11 -040011 select DRM_PANEL
Rob Clarkc8afe682013-06-26 12:44:06 -040012 select SHMEM
13 select TMPFS
jilai wangc6a57a52015-04-02 17:49:01 -040014 select QCOM_SCM
Srinivas Kandagatlaf1427012016-06-10 10:45:56 +010015 select SND_SOC_HDMI_CODEC if SND_SOC
Rob Clarkf0a42bb2016-06-16 16:08:19 -040016 select SYNC_FILE
Rob Clarkac20fa02017-05-02 12:39:53 -040017 select PM_OPP
Rob Clarkc8afe682013-06-26 12:44:06 -040018 default y
19 help
20 DRM/KMS driver for MSM/snapdragon.
21
Rob Clarkc8afe682013-06-26 12:44:06 -040022config DRM_MSM_REGISTER_LOGGING
23 bool "MSM DRM register logging"
24 depends on DRM_MSM
25 default n
26 help
27 Compile in support for logging register reads/writes in a format
28 that can be parsed by envytools demsm tool. If enabled, register
29 logging can be switched on via msm.reglog=y module param.
Hai Lia6895542015-03-31 14:36:33 -040030
Rob Clark6a8bd082017-12-13 15:12:57 -050031config DRM_MSM_GPU_SUDO
32 bool "Enable SUDO flag on submits"
33 depends on DRM_MSM && EXPERT
34 default n
35 help
36 Enable userspace that has CAP_SYS_RAWIO to submit GPU commands
37 that are run from RB instead of IB1. This essentially gives
38 userspace kernel level access, but is useful for firmware
39 debugging.
40
41 Only use this if you are a driver developer. This should *not*
42 be enabled for production kernels. If unsure, say N.
43
Rob Clarkfeb46f02016-03-20 10:16:29 -040044config DRM_MSM_HDMI_HDCP
45 bool "Enable HDMI HDCP support in MSM DRM driver"
46 depends on DRM_MSM && QCOM_SCM
47 default y
48 help
49 Choose this option to enable HDCP state machine
50
Hai Lia6895542015-03-31 14:36:33 -040051config DRM_MSM_DSI
52 bool "Enable DSI support in MSM DRM driver"
53 depends on DRM_MSM
54 select DRM_PANEL
55 select DRM_MIPI_DSI
56 default y
57 help
58 Choose this option if you have a need for MIPI DSI connector
59 support.
60
Hai Li825637b2015-05-15 13:04:04 -040061config DRM_MSM_DSI_PLL
62 bool "Enable DSI PLL driver in MSM DRM"
63 depends on DRM_MSM_DSI && COMMON_CLK
64 default y
65 help
66 Choose this option to enable DSI PLL driver which provides DSI
67 source clocks under common clock framework.
Hai Li1bf4d7c2015-08-13 17:45:53 -040068
69config DRM_MSM_DSI_28NM_PHY
70 bool "Enable DSI 28nm PHY driver in MSM DRM"
71 depends on DRM_MSM_DSI
72 default y
73 help
74 Choose this option if the 28nm DSI PHY is used on the platform.
75
76config DRM_MSM_DSI_20NM_PHY
77 bool "Enable DSI 20nm PHY driver in MSM DRM"
78 depends on DRM_MSM_DSI
79 default y
80 help
81 Choose this option if the 20nm DSI PHY is used on the platform.
Archit Taneja225380b2015-10-14 12:00:34 +053082
83config DRM_MSM_DSI_28NM_8960_PHY
84 bool "Enable DSI 28nm 8960 PHY driver in MSM DRM"
85 depends on DRM_MSM_DSI
86 default y
87 help
88 Choose this option if the 28nm DSI PHY 8960 variant is used on the
89 platform.
Archit Tanejaf079f6d2017-01-03 19:45:43 +053090
91config DRM_MSM_DSI_14NM_PHY
92 bool "Enable DSI 14nm PHY driver in MSM DRM (used by MSM8996/APQ8096)"
93 depends on DRM_MSM_DSI
94 default y
95 help
96 Choose this option if DSI PHY on 8996 is used on the platform.