xref: /linux/drivers/gpu/drm/msm/Kconfig (revision feb46f02c3fa70e6d3e5307cb105cc69c60a3fe3)
1c8afe684SRob Clark
2c8afe684SRob Clarkconfig DRM_MSM
3c8afe684SRob Clark	tristate "MSM DRM"
4c8afe684SRob Clark	depends on DRM
5fb27b8f2SRob Clark	depends on ARCH_QCOM || (ARM && COMPILE_TEST)
640039904SArnd Bergmann	depends on OF && COMMON_CLK
7b7bbd640SRob Clark	select REGULATOR
8c8afe684SRob Clark	select DRM_KMS_HELPER
93e87599bSRob Clark	select DRM_PANEL
10c8afe684SRob Clark	select SHMEM
11c8afe684SRob Clark	select TMPFS
12c6a57a50Sjilai wang	select QCOM_SCM
13c8afe684SRob Clark	default y
14c8afe684SRob Clark	help
15c8afe684SRob Clark	  DRM/KMS driver for MSM/snapdragon.
16c8afe684SRob Clark
17c8afe684SRob Clarkconfig DRM_MSM_REGISTER_LOGGING
18c8afe684SRob Clark	bool "MSM DRM register logging"
19c8afe684SRob Clark	depends on DRM_MSM
20c8afe684SRob Clark	default n
21c8afe684SRob Clark	help
22c8afe684SRob Clark	  Compile in support for logging register reads/writes in a format
23c8afe684SRob Clark	  that can be parsed by envytools demsm tool.  If enabled, register
24c8afe684SRob Clark	  logging can be switched on via msm.reglog=y module param.
25a689554bSHai Li
26*feb46f02SRob Clarkconfig DRM_MSM_HDMI_HDCP
27*feb46f02SRob Clark	bool "Enable HDMI HDCP support in MSM DRM driver"
28*feb46f02SRob Clark	depends on DRM_MSM && QCOM_SCM
29*feb46f02SRob Clark	default y
30*feb46f02SRob Clark	help
31*feb46f02SRob Clark	  Choose this option to enable HDCP state machine
32*feb46f02SRob Clark
33a689554bSHai Liconfig DRM_MSM_DSI
34a689554bSHai Li	bool "Enable DSI support in MSM DRM driver"
35a689554bSHai Li	depends on DRM_MSM
36a689554bSHai Li	select DRM_PANEL
37a689554bSHai Li	select DRM_MIPI_DSI
38a689554bSHai Li	default y
39a689554bSHai Li	help
40a689554bSHai Li	  Choose this option if you have a need for MIPI DSI connector
41a689554bSHai Li	  support.
42a689554bSHai Li
43825637b9SHai Liconfig DRM_MSM_DSI_PLL
44825637b9SHai Li	bool "Enable DSI PLL driver in MSM DRM"
45825637b9SHai Li	depends on DRM_MSM_DSI && COMMON_CLK
46825637b9SHai Li	default y
47825637b9SHai Li	help
48825637b9SHai Li	  Choose this option to enable DSI PLL driver which provides DSI
49825637b9SHai Li	  source clocks under common clock framework.
501bf4d7c5SHai Li
511bf4d7c5SHai Liconfig DRM_MSM_DSI_28NM_PHY
521bf4d7c5SHai Li	bool "Enable DSI 28nm PHY driver in MSM DRM"
531bf4d7c5SHai Li	depends on DRM_MSM_DSI
541bf4d7c5SHai Li	default y
551bf4d7c5SHai Li	help
561bf4d7c5SHai Li	  Choose this option if the 28nm DSI PHY is used on the platform.
571bf4d7c5SHai Li
581bf4d7c5SHai Liconfig DRM_MSM_DSI_20NM_PHY
591bf4d7c5SHai Li	bool "Enable DSI 20nm PHY driver in MSM DRM"
601bf4d7c5SHai Li	depends on DRM_MSM_DSI
611bf4d7c5SHai Li	default y
621bf4d7c5SHai Li	help
631bf4d7c5SHai Li	  Choose this option if the 20nm DSI PHY is used on the platform.
64225380b3SArchit Taneja
65225380b3SArchit Tanejaconfig DRM_MSM_DSI_28NM_8960_PHY
66225380b3SArchit Taneja	bool "Enable DSI 28nm 8960 PHY driver in MSM DRM"
67225380b3SArchit Taneja	depends on DRM_MSM_DSI
68225380b3SArchit Taneja	default y
69225380b3SArchit Taneja	help
70225380b3SArchit Taneja	  Choose this option if the 28nm DSI PHY 8960 variant is used on the
71225380b3SArchit Taneja	  platform.
72