# SPDX-License-Identifier: GPL-2.0-only
config [31mCONFIG_DRM_MSM[0m
tristate "MSM DRM"
depends on [31mCONFIG_DRM[0m
depends on [31mCONFIG_ARCH_QCOM[0m || [31mCONFIG_SOC_IMX5[0m || ([31mCONFIG_ARM[0m && [31mCONFIG_COMPILE_TEST[0m)
depends on [31mCONFIG_OF[0m && [31mCONFIG_COMMON_CLK[0m
depends on [31mCONFIG_MMU[0m
depends on [31mCONFIG_INTERCONNECT[0m || ![31mCONFIG_INTERCONNECT[0m
select [31mCONFIG_QCOM_MDT_LOADER[0m if [31mCONFIG_ARCH_QCOM[0m
select [31mCONFIG_REGULATOR[0m
select [31mCONFIG_DRM_KMS_HELPER[0m
select [31mCONFIG_DRM_PANEL[0m
select [31mCONFIG_SHMEM[0m
select [31mCONFIG_TMPFS[0m
select [31mCONFIG_QCOM_SCM[0m if [31mCONFIG_ARCH_QCOM[0m
select [31mCONFIG_QCOM_COMMAND_DB[0m if [31mCONFIG_ARCH_QCOM[0m
select [31mCONFIG_WANT_DEV_COREDUMP[0m
select [31mCONFIG_SND_SOC_HDMI_CODEC[0m if [31mCONFIG_SND_SOC[0m
select [31mCONFIG_SYNC_FILE[0m
select [31mCONFIG_PM_OPP[0m
help
[31mCONFIG_DRM[0m/KMS driver for MSM/snapdragon.
config [31mCONFIG_DRM_MSM_GPU_STATE[0m
bool
depends on [31mCONFIG_DRM_MSM[0m && ([31mCONFIG_DEBUG_FS[0m || [31mCONFIG_DEV_COREDUMP[0m)
default y
config [31mCONFIG_DRM_MSM_REGISTER_LOGGING[0m
bool "MSM DRM register logging"
depends on [31mCONFIG_DRM_MSM[0m
default n
help
Compile in support for logging register reads/writes in a format
that can be parsed by envytools demsm tool. If enabled, register
logging can be switched on via msm.reglog=y module param.
config [31mCONFIG_DRM_MSM_GPU_SUDO[0m
bool "Enable SUDO flag on submits"
depends on [31mCONFIG_DRM_MSM[0m && [31mCONFIG_EXPERT[0m
default n
help
Enable userspace that has CAP_SYS_RAWIO to submit GPU commands
that are run from RB instead of IB1. This essentially gives
userspace kernel level access, but is useful for firmware
debugging.
Only use this if you are a driver developer. This should *not*
be enabled for production kernels. If unsure, say N.
config [31mCONFIG_DRM_MSM_HDMI_HDCP[0m
bool "Enable HDMI HDCP support in MSM DRM driver"
depends on [31mCONFIG_DRM_MSM[0m && [31mCONFIG_QCOM_SCM[0m
default y
help
Choose this option to enable HDCP state machine
config [31mCONFIG_DRM_MSM_DSI[0m
bool "Enable DSI support in MSM DRM driver"
depends on [31mCONFIG_DRM_MSM[0m
select [31mCONFIG_DRM_PANEL[0m
select [31mCONFIG_DRM_MIPI_DSI[0m
default y
help
Choose this option if you have a need for MIPI DSI connector
support.
config [31mCONFIG_DRM_MSM_DSI_PLL[0m
bool "Enable DSI PLL driver in MSM DRM"
depends on [31mCONFIG_DRM_MSM_DSI[0m && [31mCONFIG_COMMON_CLK[0m
default y
help
Choose this option to enable DSI PLL driver which provides DSI
source clocks under common clock framework.
config [31mCONFIG_DRM_MSM_DSI_28NM_PHY[0m
bool "Enable DSI 28nm PHY driver in MSM DRM"
depends on [31mCONFIG_DRM_MSM_DSI[0m
default y
help
Choose this option if the 28nm DSI PHY is used on the platform.
config [31mCONFIG_DRM_MSM_DSI_20NM_PHY[0m
bool "Enable DSI 20nm PHY driver in MSM DRM"
depends on [31mCONFIG_DRM_MSM_DSI[0m
default y
help
Choose this option if the 20nm DSI PHY is used on the platform.
config [31mCONFIG_DRM_MSM_DSI_28NM_8960_PHY[0m
bool "Enable DSI 28nm 8960 PHY driver in MSM DRM"
depends on [31mCONFIG_DRM_MSM_DSI[0m
default y
help
Choose this option if the 28nm DSI PHY 8960 variant is used on the
platform.
config [31mCONFIG_DRM_MSM_DSI_14NM_PHY[0m
bool "Enable DSI 14nm PHY driver in MSM DRM (used by MSM8996/APQ8096)"
depends on [31mCONFIG_DRM_MSM_DSI[0m
default y
help
Choose this option if DSI PHY on 8996 is used on the platform.
config [31mCONFIG_DRM_MSM_DSI_10NM_PHY[0m
bool "Enable DSI 10nm PHY driver in MSM DRM (used by SDM845)"
depends on [31mCONFIG_DRM_MSM_DSI[0m
default y
help
Choose this option if DSI PHY on SDM845 is used on the platform.