xref: /openbmc/linux/drivers/gpu/drm/msm/Kconfig (revision 171fa692)
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	depends on MMU
8	select REGULATOR
9	select DRM_KMS_HELPER
10	select DRM_PANEL
11	select SHMEM
12	select TMPFS
13	select QCOM_SCM
14	select SND_SOC_HDMI_CODEC if SND_SOC
15	select SYNC_FILE
16	select PM_OPP
17	default y
18	help
19	  DRM/KMS driver for MSM/snapdragon.
20
21config DRM_MSM_REGISTER_LOGGING
22	bool "MSM DRM register logging"
23	depends on DRM_MSM
24	default n
25	help
26	  Compile in support for logging register reads/writes in a format
27	  that can be parsed by envytools demsm tool.  If enabled, register
28	  logging can be switched on via msm.reglog=y module param.
29
30config DRM_MSM_HDMI_HDCP
31	bool "Enable HDMI HDCP support in MSM DRM driver"
32	depends on DRM_MSM && QCOM_SCM
33	default y
34	help
35	  Choose this option to enable HDCP state machine
36
37config DRM_MSM_DSI
38	bool "Enable DSI support in MSM DRM driver"
39	depends on DRM_MSM
40	select DRM_PANEL
41	select DRM_MIPI_DSI
42	default y
43	help
44	  Choose this option if you have a need for MIPI DSI connector
45	  support.
46
47config DRM_MSM_DSI_PLL
48	bool "Enable DSI PLL driver in MSM DRM"
49	depends on DRM_MSM_DSI && COMMON_CLK
50	default y
51	help
52	  Choose this option to enable DSI PLL driver which provides DSI
53	  source clocks under common clock framework.
54
55config DRM_MSM_DSI_28NM_PHY
56	bool "Enable DSI 28nm PHY driver in MSM DRM"
57	depends on DRM_MSM_DSI
58	default y
59	help
60	  Choose this option if the 28nm DSI PHY is used on the platform.
61
62config DRM_MSM_DSI_20NM_PHY
63	bool "Enable DSI 20nm PHY driver in MSM DRM"
64	depends on DRM_MSM_DSI
65	default y
66	help
67	  Choose this option if the 20nm DSI PHY is used on the platform.
68
69config DRM_MSM_DSI_28NM_8960_PHY
70	bool "Enable DSI 28nm 8960 PHY driver in MSM DRM"
71	depends on DRM_MSM_DSI
72	default y
73	help
74	  Choose this option if the 28nm DSI PHY 8960 variant is used on the
75	  platform.
76
77config DRM_MSM_DSI_14NM_PHY
78	bool "Enable DSI 14nm PHY driver in MSM DRM (used by MSM8996/APQ8096)"
79	depends on DRM_MSM_DSI
80	default y
81	help
82	  Choose this option if DSI PHY on 8996 is used on the platform.
83