blob: ba71ce8466a6f7199b90dd443a8e58ef9eeb0152 [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)
Maria Yu5efb0a62017-12-06 13:35:43 +08006 depends on OF
Rob Clarkb7bbd642014-10-31 12:19:40 -04007 select REGULATOR
Rob Clarkc8afe682013-06-26 12:44:06 -04008 select DRM_KMS_HELPER
Rob Clark3e875992014-08-01 13:08:11 -04009 select DRM_PANEL
Rob Clarkc8afe682013-06-26 12:44:06 -040010 select SHMEM
11 select TMPFS
jilai wangc6a57a52015-04-02 17:49:01 -040012 select QCOM_SCM
Srinivas Kandagatlaf1427012016-06-10 10:45:56 +010013 select SND_SOC_HDMI_CODEC if SND_SOC
Rob Clarkf0a42bb2016-06-16 16:08:19 -040014 select SYNC_FILE
Tatenda Chipeperekwa65935362017-06-07 13:44:11 -070015 select HDCP_QSEECOM
Tatenda Chipeperekwa326526e2017-04-24 16:51:50 -070016 select MSM_EXT_DISPLAY
Rob Clarkc8afe682013-06-26 12:44:06 -040017 default y
18 help
19 DRM/KMS driver for MSM/snapdragon.
20
Rob Clarkc8afe682013-06-26 12:44:06 -040021config DRM_MSM_REGISTER_LOGGING
22 bool "MSM DRM register logging"
23 depends on DRM_MSM
24 default n
25 help
26 Compile in support for logging register reads/writes in a format
27 that can be parsed by envytools demsm tool. If enabled, register
28 logging can be switched on via msm.reglog=y module param.
Hai Lia6895542015-03-31 14:36:33 -040029
Rob Clarkfeb46f02016-03-20 10:16:29 -040030config DRM_MSM_HDMI_HDCP
31 bool "Enable HDMI HDCP support in MSM DRM driver"
32 depends on DRM_MSM && QCOM_SCM
Dhaval Patel1ba4ab92017-06-30 14:51:08 -070033 default n
Rob Clarkfeb46f02016-03-20 10:16:29 -040034 help
Dhaval Patel1ba4ab92017-06-30 14:51:08 -070035 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.
38
39config DRM_MSM_HDMI
40 bool "Enable HDMI support in MSM DRM driver"
41 depends on DRM_MSM
Maria Yu5efb0a62017-12-06 13:35:43 +080042 depends on COMMON_CLK
Dhaval Patel1ba4ab92017-06-30 14:51:08 -070043 default n
44 help
45 Compile in support for HDMI driver in msm drm
46 driver. HDMI external display support is enabled
47 through this config option. It can be primary or
48 secondary display on device.
Rob Clarkfeb46f02016-03-20 10:16:29 -040049
Hai Lia6895542015-03-31 14:36:33 -040050config DRM_MSM_DSI
51 bool "Enable DSI support in MSM DRM driver"
52 depends on DRM_MSM
53 select DRM_PANEL
54 select DRM_MIPI_DSI
Dhaval Patel1ba4ab92017-06-30 14:51:08 -070055 default n
Hai Lia6895542015-03-31 14:36:33 -040056 help
57 Choose this option if you have a need for MIPI DSI connector
58 support.
59
Ajay Singh Parmard7019152016-06-10 16:46:47 -070060config DRM_MSM_DSI_STAGING
61 bool "Enable new DSI driver support in MSM DRM driver"
62 depends on DRM_MSM
63 select DRM_PANEL
64 select DRM_MIPI_DSI
65 default y
66 help
67 Choose this option if you need MIPI DSI connector support on MSM
68 which conforms to DRM. MIPI stands for Mobile Industry Processor
69 Interface and DSI stands for Display Serial Interface which powers
70 the primary display of your mobile device.
71
Hai Li825637b2015-05-15 13:04:04 -040072config DRM_MSM_DSI_PLL
73 bool "Enable DSI PLL driver in MSM DRM"
74 depends on DRM_MSM_DSI && COMMON_CLK
75 default y
76 help
77 Choose this option to enable DSI PLL driver which provides DSI
78 source clocks under common clock framework.
Hai Li1bf4d7c2015-08-13 17:45:53 -040079
80config DRM_MSM_DSI_28NM_PHY
81 bool "Enable DSI 28nm PHY driver in MSM DRM"
82 depends on DRM_MSM_DSI
83 default y
84 help
85 Choose this option if the 28nm DSI PHY is used on the platform.
86
87config DRM_MSM_DSI_20NM_PHY
88 bool "Enable DSI 20nm PHY driver in MSM DRM"
89 depends on DRM_MSM_DSI
90 default y
91 help
92 Choose this option if the 20nm DSI PHY is used on the platform.
Archit Taneja225380b2015-10-14 12:00:34 +053093
94config DRM_MSM_DSI_28NM_8960_PHY
95 bool "Enable DSI 28nm 8960 PHY driver in MSM DRM"
96 depends on DRM_MSM_DSI
97 default y
98 help
99 Choose this option if the 28nm DSI PHY 8960 variant is used on the
100 platform.
Dhaval Patel1ba4ab92017-06-30 14:51:08 -0700101
102config DRM_MSM_MDP5
103 tristate "MSM MDP5 DRM driver"
104 depends on DRM_MSM
105 default n
106 help
107 Choose this option if MSM MDP5 revision support is
108 needed in DRM/KMS. This is not required if sde/mdp4
109 only target enabled. MDP5 supports DSI and HDMI
110 displays.
111
Stephane Viauee935002015-04-29 14:57:31 -0400112config DRM_MSM_MDP4
113 tristate "MSM MDP4 DRM driver"
114 depends on DRM_MSM
115 default n
116 help
117 Choose this option if MSM MDP4 revision support is needed in DRM/KMS.
118
Adrian Salido-Moreno6282c8e2015-08-20 15:50:25 -0700119config DRM_MSM_HDCP
120 tristate "HDCP for MSM DRM"
121 depends on DRM_MSM
122 default n
123 help
124 Chose this option if HDCP supported is needed in DRM/KMS driver.
Alan Kwongbb27c092016-07-20 16:41:25 -0400125
126config DRM_SDE_WB
127 bool "Enable Writeback support in SDE DRM"
128 depends on DRM_MSM
129 default y
130 help
131 Choose this option for writeback connector support.
132
Lloyd Atkinsona19267d2017-03-13 10:49:56 -0700133config DRM_SDE_EVTLOG_DEBUG
134 bool "Enable event logging in MSM DRM"
135 depends on DRM_MSM
136 help
137 The SDE DRM debugging provides support to enable display debugging
138 features to: dump SDE registers during driver errors, panic
139 driver during fatal errors and enable some display-driver logging
140 into an internal buffer (this avoids logging overhead).
141
Dhaval Patel49ef6d72017-03-26 09:35:53 -0700142config DRM_SDE_RSC
143 bool "Enable sde resource state coordinator(rsc) driver"
144 depends on DRM_MSM
145 help
146 The SDE DRM RSC provides display Resource State Coordinator support
147 to vote the ab/ib bandwidth for primary display. Each rsc client
148 can vote their active state. Any active request from any client
149 avoids the display core power collapse. A client can also register
150 for display core power collapse events on rsc.
151