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