xref: /openbmc/linux/drivers/gpu/drm/msm/Kconfig (revision 179dd8c0)
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	default y
13	help
14	  DRM/KMS driver for MSM/snapdragon.
15
16config DRM_MSM_FBDEV
17	bool "Enable legacy fbdev support for MSM modesetting driver"
18	depends on DRM_MSM
19	select DRM_KMS_FB_HELPER
20	select FB_SYS_FILLRECT
21	select FB_SYS_COPYAREA
22	select FB_SYS_IMAGEBLIT
23	select FB_SYS_FOPS
24	default y
25	help
26	  Choose this option if you have a need for the legacy fbdev
27	  support. Note that this support also provide the linux console
28	  support on top of the MSM modesetting driver.
29
30config DRM_MSM_REGISTER_LOGGING
31	bool "MSM DRM register logging"
32	depends on DRM_MSM
33	default n
34	help
35	  Compile in support for logging register reads/writes in a format
36	  that can be parsed by envytools demsm tool.  If enabled, register
37	  logging can be switched on via msm.reglog=y module param.
38
39config DRM_MSM_DSI
40	bool "Enable DSI support in MSM DRM driver"
41	depends on DRM_MSM
42	select DRM_PANEL
43	select DRM_MIPI_DSI
44	default y
45	help
46	  Choose this option if you have a need for MIPI DSI connector
47	  support.
48
49config DRM_MSM_DSI_PLL
50	bool "Enable DSI PLL driver in MSM DRM"
51	depends on DRM_MSM_DSI && COMMON_CLK
52	default y
53	help
54	  Choose this option to enable DSI PLL driver which provides DSI
55	  source clocks under common clock framework.
56