blob: a9c5aa6e1557b1d6539f69f7b3f935fcc476735f [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
Rob Clarkc8afe682013-06-26 12:44:06 -040015 default y
16 help
17 DRM/KMS driver for MSM/snapdragon.
18
Rob Clarkc8afe682013-06-26 12:44:06 -040019config DRM_MSM_REGISTER_LOGGING
20 bool "MSM DRM register logging"
21 depends on DRM_MSM
22 default n
23 help
24 Compile in support for logging register reads/writes in a format
25 that can be parsed by envytools demsm tool. If enabled, register
26 logging can be switched on via msm.reglog=y module param.
Hai Lia6895542015-03-31 14:36:33 -040027
Rob Clarkfeb46f02016-03-20 10:16:29 -040028config DRM_MSM_HDMI_HDCP
29 bool "Enable HDMI HDCP support in MSM DRM driver"
30 depends on DRM_MSM && QCOM_SCM
31 default y
32 help
33 Choose this option to enable HDCP state machine
34
Hai Lia6895542015-03-31 14:36:33 -040035config DRM_MSM_DSI
36 bool "Enable DSI support in MSM DRM driver"
37 depends on DRM_MSM
38 select DRM_PANEL
39 select DRM_MIPI_DSI
40 default y
41 help
42 Choose this option if you have a need for MIPI DSI connector
43 support.
44
Ajay Singh Parmard7019152016-06-10 16:46:47 -070045config DRM_MSM_DSI_STAGING
46 bool "Enable new DSI driver support in MSM DRM driver"
47 depends on DRM_MSM
48 select DRM_PANEL
49 select DRM_MIPI_DSI
50 default y
51 help
52 Choose this option if you need MIPI DSI connector support on MSM
53 which conforms to DRM. MIPI stands for Mobile Industry Processor
54 Interface and DSI stands for Display Serial Interface which powers
55 the primary display of your mobile device.
56
Hai Li825637b2015-05-15 13:04:04 -040057config DRM_MSM_DSI_PLL
58 bool "Enable DSI PLL driver in MSM DRM"
59 depends on DRM_MSM_DSI && COMMON_CLK
60 default y
61 help
62 Choose this option to enable DSI PLL driver which provides DSI
63 source clocks under common clock framework.
Hai Li1bf4d7c2015-08-13 17:45:53 -040064
65config DRM_MSM_DSI_28NM_PHY
66 bool "Enable DSI 28nm PHY driver in MSM DRM"
67 depends on DRM_MSM_DSI
68 default y
69 help
70 Choose this option if the 28nm DSI PHY is used on the platform.
71
72config DRM_MSM_DSI_20NM_PHY
73 bool "Enable DSI 20nm PHY driver in MSM DRM"
74 depends on DRM_MSM_DSI
75 default y
76 help
77 Choose this option if the 20nm DSI PHY is used on the platform.
Archit Taneja225380b2015-10-14 12:00:34 +053078
79config DRM_MSM_DSI_28NM_8960_PHY
80 bool "Enable DSI 28nm 8960 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 8960 variant is used on the
85 platform.
Stephane Viauee935002015-04-29 14:57:31 -040086config DRM_MSM_MDP4
87 tristate "MSM MDP4 DRM driver"
88 depends on DRM_MSM
89 default n
90 help
91 Choose this option if MSM MDP4 revision support is needed in DRM/KMS.
92
Adrian Salido-Moreno6282c8e2015-08-20 15:50:25 -070093config DRM_MSM_HDCP
94 tristate "HDCP for MSM DRM"
95 depends on DRM_MSM
96 default n
97 help
98 Chose this option if HDCP supported is needed in DRM/KMS driver.
Alan Kwongbb27c092016-07-20 16:41:25 -040099
100config DRM_SDE_WB
101 bool "Enable Writeback support in SDE DRM"
102 depends on DRM_MSM
103 default y
104 help
105 Choose this option for writeback connector support.
106