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