Kconfig 2.7 KB

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