Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# SPDX-License-Identifier: GPL-2.0-only
config CONFIG_DRM_NOUVEAU
	tristate "Nouveau (NVIDIA) cards"
	depends on CONFIG_DRM && CONFIG_PCI && CONFIG_MMU
        select CONFIG_FW_LOADER
	select CONFIG_DRM_KMS_HELPER
	select CONFIG_DRM_TTM
	select CONFIG_BACKLIGHT_CLASS_DEVICE if CONFIG_DRM_NOUVEAU_BACKLIGHT
	select CONFIG_ACPI_VIDEO if CONFIG_ACPI && CONFIG_X86 && CONFIG_BACKLIGHT_CLASS_DEVICE && CONFIG_INPUT
	select CONFIG_X86_PLATFORM_DEVICES if CONFIG_ACPI && CONFIG_X86
	select CONFIG_ACPI_WMI if CONFIG_ACPI && CONFIG_X86
	select CONFIG_MXM_WMI if CONFIG_ACPI && CONFIG_X86
	select CONFIG_POWER_SUPPLY
	# Similar to i915, we need to select CONFIG_ACPI_VIDEO and it's dependencies
	select CONFIG_BACKLIGHT_CLASS_DEVICE if CONFIG_ACPI && CONFIG_X86
	select CONFIG_INPUT if CONFIG_ACPI && CONFIG_X86
	select CONFIG_THERMAL if CONFIG_ACPI && CONFIG_X86
	select CONFIG_ACPI_VIDEO if CONFIG_ACPI && CONFIG_X86
	help
	  Choose this option for open-source NVIDIA support.

config CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT
	bool "Nouveau legacy context support"
	depends on CONFIG_DRM_NOUVEAU
	select CONFIG_DRM_LEGACY
	default y
	help
	  There was a version of the nouveau DDX that relied on legacy
	  ctx ioctls not erroring out. But that was back in time a long
	  ways, so offer a way to disable it now. For uapi compat with
	  old nouveau ddx this should be on by default, but modern distros
	  should consider turning it off.

config CONFIG_NOUVEAU_PLATFORM_DRIVER
	bool "Nouveau (NVIDIA) SoC GPUs"
	depends on CONFIG_DRM_NOUVEAU && CONFIG_ARCH_TEGRA
	default y
	help
	  Support for Nouveau platform driver, used for SoC GPUs as found
	  on NVIDIA Tegra K1.

config CONFIG_NOUVEAU_DEBUG
	int "Maximum debug level"
	depends on CONFIG_DRM_NOUVEAU
	range 0 7
	default 5
	help
	  Selects the maximum debug level to compile support for.

	  0 - fatal
	  1 - error
	  2 - warning
	  3 - info
	  4 - debug
	  5 - trace (recommended)
	  6 - paranoia
	  7 - spam

	  The paranoia and spam levels will add a lot of extra checks which
	  may potentially slow down driver operation.

config CONFIG_NOUVEAU_DEBUG_DEFAULT
	int "Default debug level"
	depends on CONFIG_DRM_NOUVEAU
	range 0 7
	default 3
	help
	  Selects the default debug level

config CONFIG_NOUVEAU_DEBUG_MMU
	bool "Enable additional MMU debugging"
	depends on CONFIG_DRM_NOUVEAU
	default n
	help
	  Say Y here if you want to enable verbose CONFIG_MMU debug output.

config CONFIG_DRM_NOUVEAU_BACKLIGHT
	bool "Support for backlight control"
	depends on CONFIG_DRM_NOUVEAU
	default y
	help
	  Say Y here if you want to control the backlight of your display
	  (e.g. a laptop panel).

config CONFIG_DRM_NOUVEAU_SVM
	bool "(EXPERIMENTAL) Enable SVM (Shared Virtual Memory) support"
	depends on CONFIG_DEVICE_PRIVATE
	depends on CONFIG_DRM_NOUVEAU
	depends on CONFIG_MMU
	depends on CONFIG_STAGING
	select CONFIG_HMM_MIRROR
	select CONFIG_MMU_NOTIFIER
	default n
	help
	  Say Y here if you want to enable experimental support for
	  Shared Virtual Memory (SVM).