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