2019-05-19 12:07:45 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2009-12-11 09:24:15 +00:00
|
|
|
config DRM_NOUVEAU
|
2014-06-26 05:33:32 +00:00
|
|
|
tristate "Nouveau (NVIDIA) cards"
|
2017-01-07 11:39:11 +00:00
|
|
|
depends on DRM && PCI && MMU
|
2020-01-16 12:50:10 +00:00
|
|
|
select IOMMU_API
|
2019-11-20 13:36:19 +00:00
|
|
|
select FW_LOADER
|
2009-12-11 09:24:15 +00:00
|
|
|
select DRM_KMS_HELPER
|
|
|
|
select DRM_TTM
|
2019-01-02 17:47:37 +00:00
|
|
|
select BACKLIGHT_CLASS_DEVICE if DRM_NOUVEAU_BACKLIGHT
|
2014-03-17 15:17:49 +00:00
|
|
|
select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && INPUT
|
2013-02-20 02:57:32 +00:00
|
|
|
select X86_PLATFORM_DEVICES if ACPI && X86
|
|
|
|
select ACPI_WMI if ACPI && X86
|
|
|
|
select MXM_WMI if ACPI && X86
|
2012-04-02 09:45:49 +00:00
|
|
|
select POWER_SUPPLY
|
2013-06-27 11:38:23 +00:00
|
|
|
# Similar to i915, we need to select ACPI_VIDEO and it's dependencies
|
|
|
|
select BACKLIGHT_CLASS_DEVICE if ACPI && X86
|
|
|
|
select INPUT if ACPI && X86
|
|
|
|
select THERMAL if ACPI && X86
|
|
|
|
select ACPI_VIDEO if ACPI && X86
|
2020-01-13 14:17:21 +00:00
|
|
|
select SND_HDA_COMPONENT if SND_HDA_CORE
|
2009-12-11 09:24:15 +00:00
|
|
|
help
|
2014-06-26 05:33:32 +00:00
|
|
|
Choose this option for open-source NVIDIA support.
|
|
|
|
|
2019-04-18 06:45:15 +00:00
|
|
|
config NOUVEAU_LEGACY_CTX_SUPPORT
|
|
|
|
bool "Nouveau legacy context support"
|
|
|
|
depends on DRM_NOUVEAU
|
2019-04-18 07:10:40 +00:00
|
|
|
select DRM_LEGACY
|
2019-04-18 06:45:15 +00:00
|
|
|
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.
|
|
|
|
|
2014-06-26 05:33:32 +00:00
|
|
|
config NOUVEAU_PLATFORM_DRIVER
|
2015-01-15 06:29:56 +00:00
|
|
|
bool "Nouveau (NVIDIA) SoC GPUs"
|
2014-06-26 05:33:32 +00:00
|
|
|
depends on DRM_NOUVEAU && ARCH_TEGRA
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Support for Nouveau platform driver, used for SoC GPUs as found
|
|
|
|
on NVIDIA Tegra K1.
|
2009-12-11 09:24:15 +00:00
|
|
|
|
2012-08-03 04:58:10 +00:00
|
|
|
config NOUVEAU_DEBUG
|
|
|
|
int "Maximum debug level"
|
|
|
|
depends on 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 NOUVEAU_DEBUG_DEFAULT
|
|
|
|
int "Default debug level"
|
|
|
|
depends on DRM_NOUVEAU
|
|
|
|
range 0 7
|
|
|
|
default 3
|
|
|
|
help
|
|
|
|
Selects the default debug level
|
|
|
|
|
2017-10-31 17:56:19 +00:00
|
|
|
config NOUVEAU_DEBUG_MMU
|
|
|
|
bool "Enable additional MMU debugging"
|
|
|
|
depends on DRM_NOUVEAU
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Say Y here if you want to enable verbose MMU debug output.
|
|
|
|
|
2020-06-19 21:52:26 +00:00
|
|
|
config NOUVEAU_DEBUG_PUSH
|
|
|
|
bool "Enable additional push buffer debugging"
|
|
|
|
depends on DRM_NOUVEAU
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Say Y here if you want to enable verbose push buffer debug output
|
|
|
|
and sanity checks.
|
|
|
|
|
2009-12-11 09:24:15 +00:00
|
|
|
config DRM_NOUVEAU_BACKLIGHT
|
|
|
|
bool "Support for backlight control"
|
|
|
|
depends on DRM_NOUVEAU
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Say Y here if you want to control the backlight of your display
|
|
|
|
(e.g. a laptop panel).
|
2018-07-05 02:57:12 +00:00
|
|
|
|
|
|
|
config DRM_NOUVEAU_SVM
|
|
|
|
bool "(EXPERIMENTAL) Enable SVM (Shared Virtual Memory) support"
|
2019-06-26 12:27:22 +00:00
|
|
|
depends on DEVICE_PRIVATE
|
2018-07-05 02:57:12 +00:00
|
|
|
depends on DRM_NOUVEAU
|
2019-08-06 16:05:52 +00:00
|
|
|
depends on MMU
|
2018-07-05 02:57:12 +00:00
|
|
|
depends on STAGING
|
2019-08-06 16:05:52 +00:00
|
|
|
select HMM_MIRROR
|
|
|
|
select MMU_NOTIFIER
|
2018-07-05 02:57:12 +00:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
Say Y here if you want to enable experimental support for
|
|
|
|
Shared Virtual Memory (SVM).
|