xref: /linux/drivers/gpu/drm/msm/Kconfig (revision bdab8e8b2bc89dce73b6bcabcd295806ce2e5ef9)
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
7f0c379a1SArnd Bergmann	depends on MMU
8*bdab8e8bSArnd Bergmann	select QCOM_MDT_LOADER if ARCH_QCOM
9b7bbd640SRob Clark	select REGULATOR
10c8afe684SRob Clark	select DRM_KMS_HELPER
113e87599bSRob Clark	select DRM_PANEL
12c8afe684SRob Clark	select SHMEM
13c8afe684SRob Clark	select TMPFS
14c6a57a50Sjilai wang	select QCOM_SCM
15f1427016SSrinivas Kandagatla	select SND_SOC_HDMI_CODEC if SND_SOC
16f0a42bb5SRob Clark	select SYNC_FILE
17ac20fa0aSRob Clark	select PM_OPP
18c8afe684SRob Clark	default y
19c8afe684SRob Clark	help
20c8afe684SRob Clark	  DRM/KMS driver for MSM/snapdragon.
21c8afe684SRob Clark
22c8afe684SRob Clarkconfig DRM_MSM_REGISTER_LOGGING
23c8afe684SRob Clark	bool "MSM DRM register logging"
24c8afe684SRob Clark	depends on DRM_MSM
25c8afe684SRob Clark	default n
26c8afe684SRob Clark	help
27c8afe684SRob Clark	  Compile in support for logging register reads/writes in a format
28c8afe684SRob Clark	  that can be parsed by envytools demsm tool.  If enabled, register
29c8afe684SRob Clark	  logging can be switched on via msm.reglog=y module param.
30a689554bSHai Li
31feb46f02SRob Clarkconfig DRM_MSM_HDMI_HDCP
32feb46f02SRob Clark	bool "Enable HDMI HDCP support in MSM DRM driver"
33feb46f02SRob Clark	depends on DRM_MSM && QCOM_SCM
34feb46f02SRob Clark	default y
35feb46f02SRob Clark	help
36feb46f02SRob Clark	  Choose this option to enable HDCP state machine
37feb46f02SRob Clark
38a689554bSHai Liconfig DRM_MSM_DSI
39a689554bSHai Li	bool "Enable DSI support in MSM DRM driver"
40a689554bSHai Li	depends on DRM_MSM
41a689554bSHai Li	select DRM_PANEL
42a689554bSHai Li	select DRM_MIPI_DSI
43a689554bSHai Li	default y
44a689554bSHai Li	help
45a689554bSHai Li	  Choose this option if you have a need for MIPI DSI connector
46a689554bSHai Li	  support.
47a689554bSHai Li
48825637b9SHai Liconfig DRM_MSM_DSI_PLL
49825637b9SHai Li	bool "Enable DSI PLL driver in MSM DRM"
50825637b9SHai Li	depends on DRM_MSM_DSI && COMMON_CLK
51825637b9SHai Li	default y
52825637b9SHai Li	help
53825637b9SHai Li	  Choose this option to enable DSI PLL driver which provides DSI
54825637b9SHai Li	  source clocks under common clock framework.
551bf4d7c5SHai Li
561bf4d7c5SHai Liconfig DRM_MSM_DSI_28NM_PHY
571bf4d7c5SHai Li	bool "Enable DSI 28nm PHY driver in MSM DRM"
581bf4d7c5SHai Li	depends on DRM_MSM_DSI
591bf4d7c5SHai Li	default y
601bf4d7c5SHai Li	help
611bf4d7c5SHai Li	  Choose this option if the 28nm DSI PHY is used on the platform.
621bf4d7c5SHai Li
631bf4d7c5SHai Liconfig DRM_MSM_DSI_20NM_PHY
641bf4d7c5SHai Li	bool "Enable DSI 20nm PHY driver in MSM DRM"
651bf4d7c5SHai Li	depends on DRM_MSM_DSI
661bf4d7c5SHai Li	default y
671bf4d7c5SHai Li	help
681bf4d7c5SHai Li	  Choose this option if the 20nm DSI PHY is used on the platform.
69225380b3SArchit Taneja
70225380b3SArchit Tanejaconfig DRM_MSM_DSI_28NM_8960_PHY
71225380b3SArchit Taneja	bool "Enable DSI 28nm 8960 PHY driver in MSM DRM"
72225380b3SArchit Taneja	depends on DRM_MSM_DSI
73225380b3SArchit Taneja	default y
74225380b3SArchit Taneja	help
75225380b3SArchit Taneja	  Choose this option if the 28nm DSI PHY 8960 variant is used on the
76225380b3SArchit Taneja	  platform.
77f079f6d9SArchit Taneja
78f079f6d9SArchit Tanejaconfig DRM_MSM_DSI_14NM_PHY
79f079f6d9SArchit Taneja	bool "Enable DSI 14nm PHY driver in MSM DRM (used by MSM8996/APQ8096)"
80f079f6d9SArchit Taneja	depends on DRM_MSM_DSI
81f079f6d9SArchit Taneja	default y
82f079f6d9SArchit Taneja	help
83f079f6d9SArchit Taneja	  Choose this option if DSI PHY on 8996 is used on the platform.
84