xref: /linux/drivers/gpu/drm/msm/Kconfig (revision 1bf4d7c5651a7cfcdcd77389b42d266441ecf444)
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_FBDEV
18c8afe684SRob Clark	bool "Enable legacy fbdev support for MSM modesetting driver"
19c8afe684SRob Clark	depends on DRM_MSM
2092b6f89fSDaniel Vetter	select DRM_KMS_FB_HELPER
21c8afe684SRob Clark	select FB_SYS_FILLRECT
22c8afe684SRob Clark	select FB_SYS_COPYAREA
23c8afe684SRob Clark	select FB_SYS_IMAGEBLIT
24c8afe684SRob Clark	select FB_SYS_FOPS
25c8afe684SRob Clark	default y
26c8afe684SRob Clark	help
27c8afe684SRob Clark	  Choose this option if you have a need for the legacy fbdev
28c8afe684SRob Clark	  support. Note that this support also provide the linux console
29c8afe684SRob Clark	  support on top of the MSM modesetting driver.
30c8afe684SRob Clark
31c8afe684SRob Clarkconfig DRM_MSM_REGISTER_LOGGING
32c8afe684SRob Clark	bool "MSM DRM register logging"
33c8afe684SRob Clark	depends on DRM_MSM
34c8afe684SRob Clark	default n
35c8afe684SRob Clark	help
36c8afe684SRob Clark	  Compile in support for logging register reads/writes in a format
37c8afe684SRob Clark	  that can be parsed by envytools demsm tool.  If enabled, register
38c8afe684SRob Clark	  logging can be switched on via msm.reglog=y module param.
39a689554bSHai Li
40a689554bSHai Liconfig DRM_MSM_DSI
41a689554bSHai Li	bool "Enable DSI support in MSM DRM driver"
42a689554bSHai Li	depends on DRM_MSM
43a689554bSHai Li	select DRM_PANEL
44a689554bSHai Li	select DRM_MIPI_DSI
45a689554bSHai Li	default y
46a689554bSHai Li	help
47a689554bSHai Li	  Choose this option if you have a need for MIPI DSI connector
48a689554bSHai Li	  support.
49a689554bSHai Li
50825637b9SHai Liconfig DRM_MSM_DSI_PLL
51825637b9SHai Li	bool "Enable DSI PLL driver in MSM DRM"
52825637b9SHai Li	depends on DRM_MSM_DSI && COMMON_CLK
53825637b9SHai Li	default y
54825637b9SHai Li	help
55825637b9SHai Li	  Choose this option to enable DSI PLL driver which provides DSI
56825637b9SHai Li	  source clocks under common clock framework.
57*1bf4d7c5SHai Li
58*1bf4d7c5SHai Liconfig DRM_MSM_DSI_28NM_PHY
59*1bf4d7c5SHai Li	bool "Enable DSI 28nm PHY driver in MSM DRM"
60*1bf4d7c5SHai Li	depends on DRM_MSM_DSI
61*1bf4d7c5SHai Li	default y
62*1bf4d7c5SHai Li	help
63*1bf4d7c5SHai Li	  Choose this option if the 28nm DSI PHY is used on the platform.
64*1bf4d7c5SHai Li
65*1bf4d7c5SHai Liconfig DRM_MSM_DSI_20NM_PHY
66*1bf4d7c5SHai Li	bool "Enable DSI 20nm PHY driver in MSM DRM"
67*1bf4d7c5SHai Li	depends on DRM_MSM_DSI
68*1bf4d7c5SHai Li	default y
69*1bf4d7c5SHai Li	help
70*1bf4d7c5SHai Li	  Choose this option if the 20nm DSI PHY is used on the platform.
71