Kconfig 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config DRM_MSM
  3. tristate "MSM DRM"
  4. depends on DRM
  5. depends on ARCH_QCOM || SOC_IMX5 || COMPILE_TEST
  6. depends on COMMON_CLK
  7. depends on IOMMU_SUPPORT
  8. depends on QCOM_OCMEM || QCOM_OCMEM=n
  9. depends on QCOM_LLCC || QCOM_LLCC=n
  10. depends on QCOM_COMMAND_DB || QCOM_COMMAND_DB=n
  11. select IOMMU_IO_PGTABLE
  12. select QCOM_MDT_LOADER if ARCH_QCOM
  13. select REGULATOR
  14. select DRM_DP_AUX_BUS
  15. select DRM_DISPLAY_DP_HELPER
  16. select DRM_DISPLAY_HELPER
  17. select DRM_KMS_HELPER
  18. select DRM_PANEL
  19. select DRM_BRIDGE
  20. select DRM_PANEL_BRIDGE
  21. select DRM_SCHED
  22. select SHMEM
  23. select TMPFS
  24. select QCOM_SCM
  25. select WANT_DEV_COREDUMP
  26. select SND_SOC_HDMI_CODEC if SND_SOC
  27. select SYNC_FILE
  28. select PM_OPP
  29. select NVMEM
  30. help
  31. DRM/KMS driver for MSM/snapdragon.
  32. config DRM_MSM_HELPER
  33. tristate "DRM MSM HELPER"
  34. select DRM_DP_AUX_BUS
  35. select DRM_DISPLAY_HELPER
  36. select DRM_DISPLAY_DP_HELPER
  37. help
  38. Wrapper symbol to allow for compilation of drm display
  39. helper code.
  40. Allows the display loadable module to link against
  41. helper functions.
  42. config DRM_MSM_GPU_STATE
  43. bool
  44. depends on DRM_MSM && (DEBUG_FS || DEV_COREDUMP)
  45. default y
  46. config DRM_MSM_GPU_SUDO
  47. bool "Enable SUDO flag on submits"
  48. depends on DRM_MSM && EXPERT
  49. default n
  50. help
  51. Enable userspace that has CAP_SYS_RAWIO to submit GPU commands
  52. that are run from RB instead of IB1. This essentially gives
  53. userspace kernel level access, but is useful for firmware
  54. debugging.
  55. Only use this if you are a driver developer. This should *not*
  56. be enabled for production kernels. If unsure, say N.
  57. config DRM_MSM_MDSS
  58. bool
  59. depends on DRM_MSM
  60. default n
  61. config DRM_MSM_MDP4
  62. bool "Enable MDP4 support in MSM DRM driver"
  63. depends on DRM_MSM
  64. default y
  65. help
  66. Compile in support for the Mobile Display Processor v4 (MDP4) in
  67. the MSM DRM driver. It is the older display controller found in
  68. devices using APQ8064/MSM8960/MSM8x60 platforms.
  69. config DRM_MSM_MDP5
  70. bool "Enable MDP5 support in MSM DRM driver"
  71. depends on DRM_MSM
  72. select DRM_MSM_MDSS
  73. default y
  74. help
  75. Compile in support for the Mobile Display Processor v5 (MDP5) in
  76. the MSM DRM driver. It is the display controller found in devices
  77. using e.g. APQ8016/MSM8916/APQ8096/MSM8996/MSM8974/SDM6x0 platforms.
  78. config DRM_MSM_DPU
  79. bool "Enable DPU support in MSM DRM driver"
  80. depends on DRM_MSM
  81. select DRM_MSM_MDSS
  82. default y
  83. help
  84. Compile in support for the Display Processing Unit in
  85. the MSM DRM driver. It is the display controller found in devices
  86. using e.g. SDM845 and newer platforms.
  87. config DRM_MSM_DP
  88. bool "Enable DisplayPort support in MSM DRM driver"
  89. depends on DRM_MSM
  90. select RATIONAL
  91. default y
  92. help
  93. Compile in support for DP driver in MSM DRM driver. DP external
  94. display support is enabled through this config option. It can
  95. be primary or secondary display on device.
  96. config DRM_MSM_DSI
  97. bool "Enable DSI support in MSM DRM driver"
  98. depends on DRM_MSM
  99. select DRM_PANEL
  100. select DRM_MIPI_DSI
  101. default y
  102. help
  103. Choose this option if you have a need for MIPI DSI connector
  104. support.
  105. config DRM_MSM_DSI_28NM_PHY
  106. bool "Enable DSI 28nm PHY driver in MSM DRM"
  107. depends on DRM_MSM_DSI
  108. default y
  109. help
  110. Choose this option if the 28nm DSI PHY is used on the platform.
  111. config DRM_MSM_DSI_20NM_PHY
  112. bool "Enable DSI 20nm PHY driver in MSM DRM"
  113. depends on DRM_MSM_DSI
  114. default y
  115. help
  116. Choose this option if the 20nm DSI PHY is used on the platform.
  117. config DRM_MSM_DSI_28NM_8960_PHY
  118. bool "Enable DSI 28nm 8960 PHY driver in MSM DRM"
  119. depends on DRM_MSM_DSI
  120. default y
  121. help
  122. Choose this option if the 28nm DSI PHY 8960 variant is used on the
  123. platform.
  124. config DRM_MSM_DSI_14NM_PHY
  125. bool "Enable DSI 14nm PHY driver in MSM DRM (used by MSM8996/APQ8096)"
  126. depends on DRM_MSM_DSI
  127. default y
  128. help
  129. Choose this option if DSI PHY on 8996 is used on the platform.
  130. config DRM_MSM_DSI_10NM_PHY
  131. bool "Enable DSI 10nm PHY driver in MSM DRM (used by SDM845)"
  132. depends on DRM_MSM_DSI
  133. default y
  134. help
  135. Choose this option if DSI PHY on SDM845 is used on the platform.
  136. config DRM_MSM_DSI_7NM_PHY
  137. bool "Enable DSI 7nm PHY driver in MSM DRM"
  138. depends on DRM_MSM_DSI
  139. default y
  140. help
  141. Choose this option if DSI PHY on SM8150/SM8250/SC7280 is used on
  142. the platform.
  143. config DRM_MSM_HDMI
  144. bool "Enable HDMI support in MSM DRM driver"
  145. depends on DRM_MSM
  146. default y
  147. help
  148. Compile in support for the HDMI output MSM DRM driver. It can
  149. be a primary or a secondary display on device. Note that this is used
  150. only for the direct HDMI output. If the device outputs HDMI data
  151. through some kind of DSI-to-HDMI bridge, this option can be disabled.
  152. config DRM_MSM_HDMI_HDCP
  153. bool "Enable HDMI HDCP support in MSM DRM driver"
  154. depends on DRM_MSM && DRM_MSM_HDMI
  155. default y
  156. help
  157. Choose this option to enable HDCP state machine