xref: /openbmc/linux/drivers/gpu/drm/msm/Kconfig (revision 23c2b932)
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_REGISTER_LOGGING
18	bool "MSM DRM register logging"
19	depends on DRM_MSM
20	default n
21	help
22	  Compile in support for logging register reads/writes in a format
23	  that can be parsed by envytools demsm tool.  If enabled, register
24	  logging can be switched on via msm.reglog=y module param.
25
26config DRM_MSM_HDMI_HDCP
27	bool "Enable HDMI HDCP support in MSM DRM driver"
28	depends on DRM_MSM && QCOM_SCM
29	default y
30	help
31	  Choose this option to enable HDCP state machine
32
33config DRM_MSM_DSI
34	bool "Enable DSI support in MSM DRM driver"
35	depends on DRM_MSM
36	select DRM_PANEL
37	select DRM_MIPI_DSI
38	default y
39	help
40	  Choose this option if you have a need for MIPI DSI connector
41	  support.
42
43config DRM_MSM_DSI_PLL
44	bool "Enable DSI PLL driver in MSM DRM"
45	depends on DRM_MSM_DSI && COMMON_CLK
46	default y
47	help
48	  Choose this option to enable DSI PLL driver which provides DSI
49	  source clocks under common clock framework.
50
51config DRM_MSM_DSI_28NM_PHY
52	bool "Enable DSI 28nm PHY driver in MSM DRM"
53	depends on DRM_MSM_DSI
54	default y
55	help
56	  Choose this option if the 28nm DSI PHY is used on the platform.
57
58config DRM_MSM_DSI_20NM_PHY
59	bool "Enable DSI 20nm PHY driver in MSM DRM"
60	depends on DRM_MSM_DSI
61	default y
62	help
63	  Choose this option if the 20nm DSI PHY is used on the platform.
64
65config DRM_MSM_DSI_28NM_8960_PHY
66	bool "Enable DSI 28nm 8960 PHY driver in MSM DRM"
67	depends on DRM_MSM_DSI
68	default y
69	help
70	  Choose this option if the 28nm DSI PHY 8960 variant is used on the
71	  platform.
72