181 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2 3config DRM_MSM4 tristate "MSM DRM"5 depends on DRM6 depends on ARCH_QCOM || SOC_IMX5 || COMPILE_TEST7 depends on COMMON_CLK8 depends on IOMMU_SUPPORT9 depends on QCOM_AOSS_QMP || QCOM_AOSS_QMP=n10 depends on QCOM_OCMEM || QCOM_OCMEM=n11 depends on QCOM_LLCC || QCOM_LLCC=n12 depends on QCOM_COMMAND_DB || QCOM_COMMAND_DB=n13 depends on PM14 select IOMMU_IO_PGTABLE15 select QCOM_MDT_LOADER if ARCH_QCOM16 select REGULATOR17 select DRM_DISPLAY_DP_AUX_BUS18 select DRM_DISPLAY_DP_HELPER19 select DRM_DISPLAY_HELPER20 select DRM_BRIDGE_CONNECTOR21 select DRM_EXEC22 select DRM_KMS_HELPER23 select DRM_PANEL24 select DRM_BRIDGE25 select DRM_PANEL_BRIDGE26 select DRM_SCHED27 select FB_SYSMEM_HELPERS if DRM_FBDEV_EMULATION28 select SHMEM29 select TMPFS30 select QCOM_SCM31 select WANT_DEV_COREDUMP32 select SND_SOC_HDMI_CODEC if SND_SOC33 select SYNC_FILE34 select PM_OPP35 select NVMEM36 select PM_GENERIC_DOMAINS37 select TRACE_GPU_MEM38 help39 DRM/KMS driver for MSM/snapdragon.40 41config DRM_MSM_GPU_STATE42 bool43 depends on DRM_MSM && (DEBUG_FS || DEV_COREDUMP)44 default y45 46config DRM_MSM_GPU_SUDO47 bool "Enable SUDO flag on submits"48 depends on DRM_MSM && EXPERT49 default n50 help51 Enable userspace that has CAP_SYS_RAWIO to submit GPU commands52 that are run from RB instead of IB1. This essentially gives53 userspace kernel level access, but is useful for firmware54 debugging.55 56 Only use this if you are a driver developer. This should *not*57 be enabled for production kernels. If unsure, say N.58 59config DRM_MSM_VALIDATE_XML60 bool "Validate XML register files against schema"61 depends on DRM_MSM && EXPERT62 depends on $(success,$(PYTHON3) -c "import lxml")63 help64 Validate XML files with register definitions against rules-fd schema.65 This option is mostly targeting DRM MSM developers. If unsure, say N.66 67config DRM_MSM_MDSS68 bool69 depends on DRM_MSM70 default n71 72config DRM_MSM_MDP473 bool "Enable MDP4 support in MSM DRM driver"74 depends on DRM_MSM75 default y76 help77 Compile in support for the Mobile Display Processor v4 (MDP4) in78 the MSM DRM driver. It is the older display controller found in79 devices using APQ8064/MSM8960/MSM8x60 platforms.80 81config DRM_MSM_MDP582 bool "Enable MDP5 support in MSM DRM driver"83 depends on DRM_MSM84 select DRM_MSM_MDSS85 default y86 help87 Compile in support for the Mobile Display Processor v5 (MDP5) in88 the MSM DRM driver. It is the display controller found in devices89 using e.g. APQ8016/MSM8916/APQ8096/MSM8996/MSM8974/SDM6x0 platforms.90 91config DRM_MSM_DPU92 bool "Enable DPU support in MSM DRM driver"93 depends on DRM_MSM94 select DRM_MSM_MDSS95 default y96 help97 Compile in support for the Display Processing Unit in98 the MSM DRM driver. It is the display controller found in devices99 using e.g. SDM845 and newer platforms.100 101config DRM_MSM_DP102 bool "Enable DisplayPort support in MSM DRM driver"103 depends on DRM_MSM104 select RATIONAL105 default y106 help107 Compile in support for DP driver in MSM DRM driver. DP external108 display support is enabled through this config option. It can109 be primary or secondary display on device.110 111config DRM_MSM_DSI112 bool "Enable DSI support in MSM DRM driver"113 depends on DRM_MSM114 select DRM_PANEL115 select DRM_MIPI_DSI116 default y117 help118 Choose this option if you have a need for MIPI DSI connector119 support.120 121config DRM_MSM_DSI_28NM_PHY122 bool "Enable DSI 28nm PHY driver in MSM DRM"123 depends on DRM_MSM_DSI124 default y125 help126 Choose this option if the 28nm DSI PHY is used on the platform.127 128config DRM_MSM_DSI_20NM_PHY129 bool "Enable DSI 20nm PHY driver in MSM DRM"130 depends on DRM_MSM_DSI131 default y132 help133 Choose this option if the 20nm DSI PHY is used on the platform.134 135config DRM_MSM_DSI_28NM_8960_PHY136 bool "Enable DSI 28nm 8960 PHY driver in MSM DRM"137 depends on DRM_MSM_DSI138 default y139 help140 Choose this option if the 28nm DSI PHY 8960 variant is used on the141 platform.142 143config DRM_MSM_DSI_14NM_PHY144 bool "Enable DSI 14nm PHY driver in MSM DRM (used by MSM8996/APQ8096)"145 depends on DRM_MSM_DSI146 default y147 help148 Choose this option if DSI PHY on 8996 is used on the platform.149 150config DRM_MSM_DSI_10NM_PHY151 bool "Enable DSI 10nm PHY driver in MSM DRM (used by SDM845)"152 depends on DRM_MSM_DSI153 default y154 help155 Choose this option if DSI PHY on SDM845 is used on the platform.156 157config DRM_MSM_DSI_7NM_PHY158 bool "Enable DSI 7nm/5nm/4nm PHY driver in MSM DRM"159 depends on DRM_MSM_DSI160 default y161 help162 Choose this option if DSI PHY on SM8150/SM8250/SM8350/SM8450/SM8550/SC7280163 is used on the platform.164 165config DRM_MSM_HDMI166 bool "Enable HDMI support in MSM DRM driver"167 depends on DRM_MSM168 default y169 help170 Compile in support for the HDMI output MSM DRM driver. It can171 be a primary or a secondary display on device. Note that this is used172 only for the direct HDMI output. If the device outputs HDMI data173 through some kind of DSI-to-HDMI bridge, this option can be disabled.174 175config DRM_MSM_HDMI_HDCP176 bool "Enable HDMI HDCP support in MSM DRM driver"177 depends on DRM_MSM && DRM_MSM_HDMI178 default y179 help180 Choose this option to enable HDCP state machine181