blob: 843a9d40c05e33f5f13d1cbb7b09c751127940f2 [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
Jordan Crousec0fec7f2018-07-24 10:33:27 -060015 select WANT_DEV_COREDUMP
Srinivas Kandagatlaf1427012016-06-10 10:45:56 +010016 select SND_SOC_HDMI_CODEC if SND_SOC
Rob Clarkf0a42bb2016-06-16 16:08:19 -040017 select SYNC_FILE
Rob Clarkac20fa02017-05-02 12:39:53 -040018 select PM_OPP
Rob Clarkc8afe682013-06-26 12:44:06 -040019 default y
20 help
21 DRM/KMS driver for MSM/snapdragon.
22
Rob Clarkc8afe682013-06-26 12:44:06 -040023config DRM_MSM_REGISTER_LOGGING
24 bool "MSM DRM register logging"
25 depends on DRM_MSM
26 default n
27 help
28 Compile in support for logging register reads/writes in a format
29 that can be parsed by envytools demsm tool. If enabled, register
30 logging can be switched on via msm.reglog=y module param.
Hai Lia6895542015-03-31 14:36:33 -040031
Rob Clark6a8bd082017-12-13 15:12:57 -050032config DRM_MSM_GPU_SUDO
33 bool "Enable SUDO flag on submits"
34 depends on DRM_MSM && EXPERT
35 default n
36 help
37 Enable userspace that has CAP_SYS_RAWIO to submit GPU commands
38 that are run from RB instead of IB1. This essentially gives
39 userspace kernel level access, but is useful for firmware
40 debugging.
41
42 Only use this if you are a driver developer. This should *not*
43 be enabled for production kernels. If unsure, say N.
44
Rob Clarkfeb46f02016-03-20 10:16:29 -040045config DRM_MSM_HDMI_HDCP
46 bool "Enable HDMI HDCP support in MSM DRM driver"
47 depends on DRM_MSM && QCOM_SCM
48 default y
49 help
50 Choose this option to enable HDCP state machine
51
Hai Lia6895542015-03-31 14:36:33 -040052config DRM_MSM_DSI
53 bool "Enable DSI support in MSM DRM driver"
54 depends on DRM_MSM
55 select DRM_PANEL
56 select DRM_MIPI_DSI
57 default y
58 help
59 Choose this option if you have a need for MIPI DSI connector
60 support.
61
Hai Li825637b2015-05-15 13:04:04 -040062config DRM_MSM_DSI_PLL
63 bool "Enable DSI PLL driver in MSM DRM"
64 depends on DRM_MSM_DSI && COMMON_CLK
65 default y
66 help
67 Choose this option to enable DSI PLL driver which provides DSI
68 source clocks under common clock framework.
Hai Li1bf4d7c2015-08-13 17:45:53 -040069
70config DRM_MSM_DSI_28NM_PHY
71 bool "Enable DSI 28nm PHY driver in MSM DRM"
72 depends on DRM_MSM_DSI
73 default y
74 help
75 Choose this option if the 28nm DSI PHY is used on the platform.
76
77config DRM_MSM_DSI_20NM_PHY
78 bool "Enable DSI 20nm PHY driver in MSM DRM"
79 depends on DRM_MSM_DSI
80 default y
81 help
82 Choose this option if the 20nm DSI PHY is used on the platform.
Archit Taneja225380b2015-10-14 12:00:34 +053083
84config DRM_MSM_DSI_28NM_8960_PHY
85 bool "Enable DSI 28nm 8960 PHY driver in MSM DRM"
86 depends on DRM_MSM_DSI
87 default y
88 help
89 Choose this option if the 28nm DSI PHY 8960 variant is used on the
90 platform.
Archit Tanejaf079f6d2017-01-03 19:45:43 +053091
92config DRM_MSM_DSI_14NM_PHY
93 bool "Enable DSI 14nm PHY driver in MSM DRM (used by MSM8996/APQ8096)"
94 depends on DRM_MSM_DSI
95 default y
96 help
97 Choose this option if DSI PHY on 8996 is used on the platform.
Archit Taneja973e02d2018-01-17 11:35:25 +053098
99config DRM_MSM_DSI_10NM_PHY
100 bool "Enable DSI 10nm PHY driver in MSM DRM (used by SDM845)"
101 depends on DRM_MSM_DSI
102 default y
103 help
104 Choose this option if DSI PHY on SDM845 is used on the platform.