Kconfig 2.7 KB

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