Kconfig 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config DRM_NOUVEAU
  3. tristate "Nouveau (NVIDIA) cards"
  4. depends on DRM && PCI && MMU
  5. select IOMMU_API
  6. select FW_LOADER
  7. select DRM_DISPLAY_DP_HELPER
  8. select DRM_DISPLAY_HDMI_HELPER
  9. select DRM_DISPLAY_HELPER
  10. select DRM_KMS_HELPER
  11. select DRM_TTM
  12. select DRM_TTM_HELPER
  13. select BACKLIGHT_CLASS_DEVICE if DRM_NOUVEAU_BACKLIGHT
  14. select X86_PLATFORM_DEVICES if ACPI && X86
  15. select ACPI_WMI if ACPI && X86
  16. select MXM_WMI if ACPI && X86
  17. select POWER_SUPPLY
  18. # Similar to i915, we need to select ACPI_VIDEO and it's dependencies
  19. select BACKLIGHT_CLASS_DEVICE if ACPI && X86
  20. select INPUT if ACPI && X86
  21. select THERMAL if ACPI && X86
  22. select ACPI_VIDEO if ACPI && X86
  23. select SND_HDA_COMPONENT if SND_HDA_CORE
  24. help
  25. Choose this option for open-source NVIDIA support.
  26. config NOUVEAU_LEGACY_CTX_SUPPORT
  27. bool "Nouveau legacy context support"
  28. depends on DRM_NOUVEAU
  29. select DRM_LEGACY
  30. default y
  31. help
  32. There was a version of the nouveau DDX that relied on legacy
  33. ctx ioctls not erroring out. But that was back in time a long
  34. ways, so offer a way to disable it now. For uapi compat with
  35. old nouveau ddx this should be on by default, but modern distros
  36. should consider turning it off.
  37. config NOUVEAU_PLATFORM_DRIVER
  38. bool "Nouveau (NVIDIA) SoC GPUs"
  39. depends on DRM_NOUVEAU && ARCH_TEGRA
  40. default y
  41. help
  42. Support for Nouveau platform driver, used for SoC GPUs as found
  43. on NVIDIA Tegra K1.
  44. config NOUVEAU_DEBUG
  45. int "Maximum debug level"
  46. depends on DRM_NOUVEAU
  47. range 0 7
  48. default 5
  49. help
  50. Selects the maximum debug level to compile support for.
  51. 0 - fatal
  52. 1 - error
  53. 2 - warning
  54. 3 - info
  55. 4 - debug
  56. 5 - trace (recommended)
  57. 6 - paranoia
  58. 7 - spam
  59. The paranoia and spam levels will add a lot of extra checks which
  60. may potentially slow down driver operation.
  61. config NOUVEAU_DEBUG_DEFAULT
  62. int "Default debug level"
  63. depends on DRM_NOUVEAU
  64. range 0 7
  65. default 3
  66. help
  67. Selects the default debug level
  68. config NOUVEAU_DEBUG_MMU
  69. bool "Enable additional MMU debugging"
  70. depends on DRM_NOUVEAU
  71. default n
  72. help
  73. Say Y here if you want to enable verbose MMU debug output.
  74. config NOUVEAU_DEBUG_PUSH
  75. bool "Enable additional push buffer debugging"
  76. depends on DRM_NOUVEAU
  77. default n
  78. help
  79. Say Y here if you want to enable verbose push buffer debug output
  80. and sanity checks.
  81. config DRM_NOUVEAU_BACKLIGHT
  82. bool "Support for backlight control"
  83. depends on DRM_NOUVEAU
  84. default y
  85. help
  86. Say Y here if you want to control the backlight of your display
  87. (e.g. a laptop panel).
  88. config DRM_NOUVEAU_SVM
  89. bool "(EXPERIMENTAL) Enable SVM (Shared Virtual Memory) support"
  90. depends on DEVICE_PRIVATE
  91. depends on DRM_NOUVEAU
  92. depends on MMU
  93. depends on STAGING
  94. select HMM_MIRROR
  95. select MMU_NOTIFIER
  96. default n
  97. help
  98. Say Y here if you want to enable experimental support for
  99. Shared Virtual Memory (SVM).