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