18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciconfig DRM_MSM 48c2ecf20Sopenharmony_ci tristate "MSM DRM" 58c2ecf20Sopenharmony_ci depends on DRM 68c2ecf20Sopenharmony_ci depends on ARCH_QCOM || SOC_IMX5 || (ARM && COMPILE_TEST) 78c2ecf20Sopenharmony_ci depends on IOMMU_SUPPORT 88c2ecf20Sopenharmony_ci depends on OF && COMMON_CLK 98c2ecf20Sopenharmony_ci depends on QCOM_OCMEM || QCOM_OCMEM=n 108c2ecf20Sopenharmony_ci select IOMMU_IO_PGTABLE 118c2ecf20Sopenharmony_ci select QCOM_MDT_LOADER if ARCH_QCOM 128c2ecf20Sopenharmony_ci select REGULATOR 138c2ecf20Sopenharmony_ci select DRM_KMS_HELPER 148c2ecf20Sopenharmony_ci select DRM_PANEL 158c2ecf20Sopenharmony_ci select SHMEM 168c2ecf20Sopenharmony_ci select TMPFS 178c2ecf20Sopenharmony_ci select QCOM_SCM if ARCH_QCOM 188c2ecf20Sopenharmony_ci select QCOM_COMMAND_DB if ARCH_QCOM 198c2ecf20Sopenharmony_ci select WANT_DEV_COREDUMP 208c2ecf20Sopenharmony_ci select SND_SOC_HDMI_CODEC if SND_SOC 218c2ecf20Sopenharmony_ci select SYNC_FILE 228c2ecf20Sopenharmony_ci select PM_OPP 238c2ecf20Sopenharmony_ci help 248c2ecf20Sopenharmony_ci DRM/KMS driver for MSM/snapdragon. 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ciconfig DRM_MSM_GPU_STATE 278c2ecf20Sopenharmony_ci bool 288c2ecf20Sopenharmony_ci depends on DRM_MSM && (DEBUG_FS || DEV_COREDUMP) 298c2ecf20Sopenharmony_ci default y 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ciconfig DRM_MSM_REGISTER_LOGGING 328c2ecf20Sopenharmony_ci bool "MSM DRM register logging" 338c2ecf20Sopenharmony_ci depends on DRM_MSM 348c2ecf20Sopenharmony_ci default n 358c2ecf20Sopenharmony_ci help 368c2ecf20Sopenharmony_ci Compile in support for logging register reads/writes in a format 378c2ecf20Sopenharmony_ci that can be parsed by envytools demsm tool. If enabled, register 388c2ecf20Sopenharmony_ci logging can be switched on via msm.reglog=y module param. 398c2ecf20Sopenharmony_ci 408c2ecf20Sopenharmony_ciconfig DRM_MSM_GPU_SUDO 418c2ecf20Sopenharmony_ci bool "Enable SUDO flag on submits" 428c2ecf20Sopenharmony_ci depends on DRM_MSM && EXPERT 438c2ecf20Sopenharmony_ci default n 448c2ecf20Sopenharmony_ci help 458c2ecf20Sopenharmony_ci Enable userspace that has CAP_SYS_RAWIO to submit GPU commands 468c2ecf20Sopenharmony_ci that are run from RB instead of IB1. This essentially gives 478c2ecf20Sopenharmony_ci userspace kernel level access, but is useful for firmware 488c2ecf20Sopenharmony_ci debugging. 498c2ecf20Sopenharmony_ci 508c2ecf20Sopenharmony_ci Only use this if you are a driver developer. This should *not* 518c2ecf20Sopenharmony_ci be enabled for production kernels. If unsure, say N. 528c2ecf20Sopenharmony_ci 538c2ecf20Sopenharmony_ciconfig DRM_MSM_HDMI_HDCP 548c2ecf20Sopenharmony_ci bool "Enable HDMI HDCP support in MSM DRM driver" 558c2ecf20Sopenharmony_ci depends on DRM_MSM && QCOM_SCM 568c2ecf20Sopenharmony_ci default y 578c2ecf20Sopenharmony_ci help 588c2ecf20Sopenharmony_ci Choose this option to enable HDCP state machine 598c2ecf20Sopenharmony_ci 608c2ecf20Sopenharmony_ciconfig DRM_MSM_DP 618c2ecf20Sopenharmony_ci bool "Enable DisplayPort support in MSM DRM driver" 628c2ecf20Sopenharmony_ci depends on DRM_MSM 638c2ecf20Sopenharmony_ci select RATIONAL 648c2ecf20Sopenharmony_ci default y 658c2ecf20Sopenharmony_ci help 668c2ecf20Sopenharmony_ci Compile in support for DP driver in MSM DRM driver. DP external 678c2ecf20Sopenharmony_ci display support is enabled through this config option. It can 688c2ecf20Sopenharmony_ci be primary or secondary display on device. 698c2ecf20Sopenharmony_ci 708c2ecf20Sopenharmony_ciconfig DRM_MSM_DSI 718c2ecf20Sopenharmony_ci bool "Enable DSI support in MSM DRM driver" 728c2ecf20Sopenharmony_ci depends on DRM_MSM 738c2ecf20Sopenharmony_ci select DRM_PANEL 748c2ecf20Sopenharmony_ci select DRM_MIPI_DSI 758c2ecf20Sopenharmony_ci default y 768c2ecf20Sopenharmony_ci help 778c2ecf20Sopenharmony_ci Choose this option if you have a need for MIPI DSI connector 788c2ecf20Sopenharmony_ci support. 798c2ecf20Sopenharmony_ci 808c2ecf20Sopenharmony_ciconfig DRM_MSM_DSI_PLL 818c2ecf20Sopenharmony_ci bool "Enable DSI PLL driver in MSM DRM" 828c2ecf20Sopenharmony_ci depends on DRM_MSM_DSI && COMMON_CLK 838c2ecf20Sopenharmony_ci default y 848c2ecf20Sopenharmony_ci help 858c2ecf20Sopenharmony_ci Choose this option to enable DSI PLL driver which provides DSI 868c2ecf20Sopenharmony_ci source clocks under common clock framework. 878c2ecf20Sopenharmony_ci 888c2ecf20Sopenharmony_ciconfig DRM_MSM_DSI_28NM_PHY 898c2ecf20Sopenharmony_ci bool "Enable DSI 28nm PHY driver in MSM DRM" 908c2ecf20Sopenharmony_ci depends on DRM_MSM_DSI 918c2ecf20Sopenharmony_ci default y 928c2ecf20Sopenharmony_ci help 938c2ecf20Sopenharmony_ci Choose this option if the 28nm DSI PHY is used on the platform. 948c2ecf20Sopenharmony_ci 958c2ecf20Sopenharmony_ciconfig DRM_MSM_DSI_20NM_PHY 968c2ecf20Sopenharmony_ci bool "Enable DSI 20nm PHY driver in MSM DRM" 978c2ecf20Sopenharmony_ci depends on DRM_MSM_DSI 988c2ecf20Sopenharmony_ci default y 998c2ecf20Sopenharmony_ci help 1008c2ecf20Sopenharmony_ci Choose this option if the 20nm DSI PHY is used on the platform. 1018c2ecf20Sopenharmony_ci 1028c2ecf20Sopenharmony_ciconfig DRM_MSM_DSI_28NM_8960_PHY 1038c2ecf20Sopenharmony_ci bool "Enable DSI 28nm 8960 PHY driver in MSM DRM" 1048c2ecf20Sopenharmony_ci depends on DRM_MSM_DSI 1058c2ecf20Sopenharmony_ci default y 1068c2ecf20Sopenharmony_ci help 1078c2ecf20Sopenharmony_ci Choose this option if the 28nm DSI PHY 8960 variant is used on the 1088c2ecf20Sopenharmony_ci platform. 1098c2ecf20Sopenharmony_ci 1108c2ecf20Sopenharmony_ciconfig DRM_MSM_DSI_14NM_PHY 1118c2ecf20Sopenharmony_ci bool "Enable DSI 14nm PHY driver in MSM DRM (used by MSM8996/APQ8096)" 1128c2ecf20Sopenharmony_ci depends on DRM_MSM_DSI 1138c2ecf20Sopenharmony_ci default y 1148c2ecf20Sopenharmony_ci help 1158c2ecf20Sopenharmony_ci Choose this option if DSI PHY on 8996 is used on the platform. 1168c2ecf20Sopenharmony_ci 1178c2ecf20Sopenharmony_ciconfig DRM_MSM_DSI_10NM_PHY 1188c2ecf20Sopenharmony_ci bool "Enable DSI 10nm PHY driver in MSM DRM (used by SDM845)" 1198c2ecf20Sopenharmony_ci depends on DRM_MSM_DSI 1208c2ecf20Sopenharmony_ci default y 1218c2ecf20Sopenharmony_ci help 1228c2ecf20Sopenharmony_ci Choose this option if DSI PHY on SDM845 is used on the platform. 1238c2ecf20Sopenharmony_ci 1248c2ecf20Sopenharmony_ciconfig DRM_MSM_DSI_7NM_PHY 1258c2ecf20Sopenharmony_ci bool "Enable DSI 7nm PHY driver in MSM DRM (used by SM8150/SM8250)" 1268c2ecf20Sopenharmony_ci depends on DRM_MSM_DSI 1278c2ecf20Sopenharmony_ci default y 1288c2ecf20Sopenharmony_ci help 1298c2ecf20Sopenharmony_ci Choose this option if DSI PHY on SM8150/SM8250 is used on the 1308c2ecf20Sopenharmony_ci platform. 131