Kconfig 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. config MALI400
  2. tristate "Mali-300/400/450 support"
  3. depends on ARM
  4. select DMA_SHARED_BUFFER
  5. ---help---
  6. This enables support for the ARM Mali-300, Mali-400, and Mali-450
  7. GPUs.
  8. To compile this driver as a module, choose M here: the module will be
  9. called mali.
  10. config MALI450
  11. bool "Enable Mali-450 support"
  12. depends on MALI400
  13. ---help---
  14. This enables support for Mali-450 specific features.
  15. config MALI470
  16. bool "Enable Mali-470 support"
  17. depends on MALI400
  18. ---help---
  19. This enables support for Mali-470 specific features.
  20. config MALI400_DEBUG
  21. bool "Enable debug in Mali driver"
  22. depends on MALI400
  23. ---help---
  24. This enabled extra debug checks and messages in the Mali driver.
  25. config MALI400_PROFILING
  26. bool "Enable Mali profiling"
  27. depends on MALI400
  28. select TRACEPOINTS
  29. default y
  30. ---help---
  31. This enables gator profiling of Mali GPU events.
  32. config MALI400_INTERNAL_PROFILING
  33. bool "Enable internal Mali profiling API"
  34. depends on MALI400_PROFILING
  35. default n
  36. ---help---
  37. This enables the internal legacy Mali profiling API.
  38. config MALI400_UMP
  39. bool "Enable UMP support"
  40. depends on MALI400
  41. ---help---
  42. This enables support for the UMP memory sharing API in the Mali driver.
  43. config MALI400_POWER_PERFORMANCE_POLICY
  44. bool "Enable Mali power performance policy"
  45. depends on ARM
  46. default n
  47. ---help---
  48. This enables support for dynamic performance scaling of Mali with the goal of lowering power consumption.
  49. config MALI_DMA_BUF_MAP_ON_ATTACH
  50. bool "Map dma-buf attachments on attach"
  51. depends on MALI400 && DMA_SHARED_BUFFER
  52. default y
  53. ---help---
  54. This makes the Mali driver map dma-buf attachments after doing
  55. attach. If this is not set the dma-buf attachments will be mapped for
  56. every time the GPU need to access the buffer.
  57. Mapping for each access can cause lower performance.
  58. config MALI_SHARED_INTERRUPTS
  59. bool "Support for shared interrupts"
  60. depends on MALI400
  61. default n
  62. ---help---
  63. Adds functionality required to properly support shared interrupts. Without this support,
  64. the device driver will fail during insmod if it detects shared interrupts. This also
  65. works when the GPU is not using shared interrupts, but might have a slight performance
  66. impact.
  67. config MALI_PMU_PARALLEL_POWER_UP
  68. bool "Power up Mali PMU domains in parallel"
  69. depends on MALI400
  70. default n
  71. ---help---
  72. This makes the Mali driver power up all PMU power domains in parallel, instead of
  73. powering up domains one by one, with a slight delay in between. Powering on all power
  74. domains at the same time may cause peak currents higher than what some systems can handle.
  75. These systems must not enable this option.
  76. config MALI_DT
  77. bool "Using device tree to initialize module"
  78. depends on MALI400 && OF
  79. default n
  80. ---help---
  81. This enable the Mali driver to choose the device tree path to get platform resoures
  82. and disable the old config method. Mali driver could run on the platform which the
  83. device tree is enabled in kernel and corresponding hardware description is implemented
  84. properly in device DTS file.