Merge tag 'media/v5.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[sfrench/cifs-2.6.git] / drivers / gpu / drm / msm / Kconfig
1
2 config DRM_MSM
3         tristate "MSM DRM"
4         depends on DRM
5         depends on ARCH_QCOM || SOC_IMX5 || (ARM && COMPILE_TEST)
6         depends on OF && COMMON_CLK
7         depends on MMU
8         depends on INTERCONNECT || !INTERCONNECT
9         select QCOM_MDT_LOADER if ARCH_QCOM
10         select REGULATOR
11         select DRM_KMS_HELPER
12         select DRM_PANEL
13         select SHMEM
14         select TMPFS
15         select QCOM_SCM if ARCH_QCOM
16         select WANT_DEV_COREDUMP
17         select SND_SOC_HDMI_CODEC if SND_SOC
18         select SYNC_FILE
19         select PM_OPP
20         default y
21         help
22           DRM/KMS driver for MSM/snapdragon.
23
24 config DRM_MSM_GPU_STATE
25         bool
26         depends on DRM_MSM && (DEBUG_FS || DEV_COREDUMP)
27         default y
28
29 config DRM_MSM_REGISTER_LOGGING
30         bool "MSM DRM register logging"
31         depends on DRM_MSM
32         default n
33         help
34           Compile in support for logging register reads/writes in a format
35           that can be parsed by envytools demsm tool.  If enabled, register
36           logging can be switched on via msm.reglog=y module param.
37
38 config DRM_MSM_GPU_SUDO
39         bool "Enable SUDO flag on submits"
40         depends on DRM_MSM && EXPERT
41         default n
42         help
43           Enable userspace that has CAP_SYS_RAWIO to submit GPU commands
44           that are run from RB instead of IB1.  This essentially gives
45           userspace kernel level access, but is useful for firmware
46           debugging.
47
48           Only use this if you are a driver developer.  This should *not*
49           be enabled for production kernels.  If unsure, say N.
50
51 config DRM_MSM_HDMI_HDCP
52         bool "Enable HDMI HDCP support in MSM DRM driver"
53         depends on DRM_MSM && QCOM_SCM
54         default y
55         help
56           Choose this option to enable HDCP state machine
57
58 config DRM_MSM_DSI
59         bool "Enable DSI support in MSM DRM driver"
60         depends on DRM_MSM
61         select DRM_PANEL
62         select DRM_MIPI_DSI
63         default y
64         help
65           Choose this option if you have a need for MIPI DSI connector
66           support.
67
68 config DRM_MSM_DSI_PLL
69         bool "Enable DSI PLL driver in MSM DRM"
70         depends on DRM_MSM_DSI && COMMON_CLK
71         default y
72         help
73           Choose this option to enable DSI PLL driver which provides DSI
74           source clocks under common clock framework.
75
76 config DRM_MSM_DSI_28NM_PHY
77         bool "Enable DSI 28nm PHY driver in MSM DRM"
78         depends on DRM_MSM_DSI
79         default y
80         help
81           Choose this option if the 28nm DSI PHY is used on the platform.
82
83 config DRM_MSM_DSI_20NM_PHY
84         bool "Enable DSI 20nm PHY driver in MSM DRM"
85         depends on DRM_MSM_DSI
86         default y
87         help
88           Choose this option if the 20nm DSI PHY is used on the platform.
89
90 config DRM_MSM_DSI_28NM_8960_PHY
91         bool "Enable DSI 28nm 8960 PHY driver in MSM DRM"
92         depends on DRM_MSM_DSI
93         default y
94         help
95           Choose this option if the 28nm DSI PHY 8960 variant is used on the
96           platform.
97
98 config DRM_MSM_DSI_14NM_PHY
99         bool "Enable DSI 14nm PHY driver in MSM DRM (used by MSM8996/APQ8096)"
100         depends on DRM_MSM_DSI
101         default y
102         help
103           Choose this option if DSI PHY on 8996 is used on the platform.
104
105 config DRM_MSM_DSI_10NM_PHY
106         bool "Enable DSI 10nm PHY driver in MSM DRM (used by SDM845)"
107         depends on DRM_MSM_DSI
108         default y
109         help
110           Choose this option if DSI PHY on SDM845 is used on the platform.