blob: 31e5b761d7a64d8bc2080496a0e0c6de87c57fd4 [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
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
42 default n
43 help
44 Compile in support for HDMI driver in msm drm
45 driver. HDMI external display support is enabled
46 through this config option. It can be primary or
47 secondary display on device.
Rob Clarkfeb46f02016-03-20 10:16:29 -040048
Hai Lia6895542015-03-31 14:36:33 -040049config DRM_MSM_DSI
50 bool "Enable DSI support in MSM DRM driver"
51 depends on DRM_MSM
52 select DRM_PANEL
53 select DRM_MIPI_DSI
Dhaval Patel1ba4ab92017-06-30 14:51:08 -070054 default n
Hai Lia6895542015-03-31 14:36:33 -040055 help
56 Choose this option if you have a need for MIPI DSI connector
57 support.
58
Ajay Singh Parmard7019152016-06-10 16:46:47 -070059config DRM_MSM_DSI_STAGING
60 bool "Enable new DSI driver 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 need MIPI DSI connector support on MSM
67 which conforms to DRM. MIPI stands for Mobile Industry Processor
68 Interface and DSI stands for Display Serial Interface which powers
69 the primary display of your mobile device.
70
Hai Li825637b2015-05-15 13:04:04 -040071config DRM_MSM_DSI_PLL
72 bool "Enable DSI PLL driver in MSM DRM"
73 depends on DRM_MSM_DSI && COMMON_CLK
74 default y
75 help
76 Choose this option to enable DSI PLL driver which provides DSI
77 source clocks under common clock framework.
Hai Li1bf4d7c2015-08-13 17:45:53 -040078
79config DRM_MSM_DSI_28NM_PHY
80 bool "Enable DSI 28nm PHY driver in MSM DRM"
81 depends on DRM_MSM_DSI
82 default y
83 help
84 Choose this option if the 28nm DSI PHY is used on the platform.
85
86config DRM_MSM_DSI_20NM_PHY
87 bool "Enable DSI 20nm PHY driver in MSM DRM"
88 depends on DRM_MSM_DSI
89 default y
90 help
91 Choose this option if the 20nm DSI PHY is used on the platform.
Archit Taneja225380b2015-10-14 12:00:34 +053092
93config DRM_MSM_DSI_28NM_8960_PHY
94 bool "Enable DSI 28nm 8960 PHY driver in MSM DRM"
95 depends on DRM_MSM_DSI
96 default y
97 help
98 Choose this option if the 28nm DSI PHY 8960 variant is used on the
99 platform.
Dhaval Patel1ba4ab92017-06-30 14:51:08 -0700100
101config DRM_MSM_MDP5
102 tristate "MSM MDP5 DRM driver"
103 depends on DRM_MSM
104 default n
105 help
106 Choose this option if MSM MDP5 revision support is
107 needed in DRM/KMS. This is not required if sde/mdp4
108 only target enabled. MDP5 supports DSI and HDMI
109 displays.
110
Stephane Viauee935002015-04-29 14:57:31 -0400111config DRM_MSM_MDP4
112 tristate "MSM MDP4 DRM driver"
113 depends on DRM_MSM
114 default n
115 help
116 Choose this option if MSM MDP4 revision support is needed in DRM/KMS.
117
Adrian Salido-Moreno6282c8e2015-08-20 15:50:25 -0700118config DRM_MSM_HDCP
119 tristate "HDCP for MSM DRM"
120 depends on DRM_MSM
121 default n
122 help
123 Chose this option if HDCP supported is needed in DRM/KMS driver.
Alan Kwongbb27c092016-07-20 16:41:25 -0400124
125config DRM_SDE_WB
126 bool "Enable Writeback support in SDE DRM"
127 depends on DRM_MSM
128 default y
129 help
130 Choose this option for writeback connector support.
131
Lloyd Atkinsona19267d2017-03-13 10:49:56 -0700132config DRM_SDE_EVTLOG_DEBUG
133 bool "Enable event logging in MSM DRM"
134 depends on DRM_MSM
135 help
136 The SDE DRM debugging provides support to enable display debugging
137 features to: dump SDE registers during driver errors, panic
138 driver during fatal errors and enable some display-driver logging
139 into an internal buffer (this avoids logging overhead).
140
Dhaval Patel49ef6d72017-03-26 09:35:53 -0700141config DRM_SDE_RSC
142 bool "Enable sde resource state coordinator(rsc) driver"
143 depends on DRM_MSM
144 help
145 The SDE DRM RSC provides display Resource State Coordinator support
146 to vote the ab/ib bandwidth for primary display. Each rsc client
147 can vote their active state. Any active request from any client
148 avoids the display core power collapse. A client can also register
149 for display core power collapse events on rsc.
150