xref: /openbmc/linux/drivers/gpu/drm/msm/Kconfig (revision c0e297dc)
1
2config DRM_MSM
3	tristate "MSM DRM"
4	depends on DRM
5	depends on ARCH_QCOM || (ARM && COMPILE_TEST)
6	depends on OF && COMMON_CLK
7	select REGULATOR
8	select DRM_KMS_HELPER
9	select DRM_PANEL
10	select SHMEM
11	select TMPFS
12	select QCOM_SCM
13	default y
14	help
15	  DRM/KMS driver for MSM/snapdragon.
16
17config DRM_MSM_FBDEV
18	bool "Enable legacy fbdev support for MSM modesetting driver"
19	depends on DRM_MSM
20	select DRM_KMS_FB_HELPER
21	select FB_SYS_FILLRECT
22	select FB_SYS_COPYAREA
23	select FB_SYS_IMAGEBLIT
24	select FB_SYS_FOPS
25	default y
26	help
27	  Choose this option if you have a need for the legacy fbdev
28	  support. Note that this support also provide the linux console
29	  support on top of the MSM modesetting driver.
30
31config DRM_MSM_REGISTER_LOGGING
32	bool "MSM DRM register logging"
33	depends on DRM_MSM
34	default n
35	help
36	  Compile in support for logging register reads/writes in a format
37	  that can be parsed by envytools demsm tool.  If enabled, register
38	  logging can be switched on via msm.reglog=y module param.
39
40config DRM_MSM_DSI
41	bool "Enable DSI support in MSM DRM driver"
42	depends on DRM_MSM
43	select DRM_PANEL
44	select DRM_MIPI_DSI
45	default y
46	help
47	  Choose this option if you have a need for MIPI DSI connector
48	  support.
49
50config DRM_MSM_DSI_PLL
51	bool "Enable DSI PLL driver in MSM DRM"
52	depends on DRM_MSM_DSI && COMMON_CLK
53	default y
54	help
55	  Choose this option to enable DSI PLL driver which provides DSI
56	  source clocks under common clock framework.
57
58config DRM_MSM_DSI_28NM_PHY
59	bool "Enable DSI 28nm PHY driver in MSM DRM"
60	depends on DRM_MSM_DSI
61	default y
62	help
63	  Choose this option if the 28nm DSI PHY is used on the platform.
64
65config DRM_MSM_DSI_20NM_PHY
66	bool "Enable DSI 20nm PHY driver in MSM DRM"
67	depends on DRM_MSM_DSI
68	default y
69	help
70	  Choose this option if the 20nm DSI PHY is used on the platform.
71