]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - drivers/gpu/drm/nouveau/Kconfig
UBUNTU: Ubuntu-4.15.0-96.97
[mirror_ubuntu-bionic-kernel.git] / drivers / gpu / drm / nouveau / Kconfig
1 config DRM_NOUVEAU
2 tristate "Nouveau (NVIDIA) cards"
3 depends on DRM && PCI && MMU
4 select FW_LOADER
5 select DRM_KMS_HELPER
6 select DRM_TTM
7 select FB_BACKLIGHT if DRM_NOUVEAU_BACKLIGHT
8 select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && INPUT
9 select X86_PLATFORM_DEVICES if ACPI && X86
10 select ACPI_WMI if ACPI && X86
11 select MXM_WMI if ACPI && X86
12 select POWER_SUPPLY
13 # Similar to i915, we need to select ACPI_VIDEO and it's dependencies
14 select BACKLIGHT_LCD_SUPPORT if ACPI && X86
15 select BACKLIGHT_CLASS_DEVICE if ACPI && X86
16 select INPUT if ACPI && X86
17 select THERMAL if ACPI && X86
18 select ACPI_VIDEO if ACPI && X86
19 help
20 Choose this option for open-source NVIDIA support.
21
22 config NOUVEAU_LEGACY_CTX_SUPPORT
23 bool "Nouveau legacy context support"
24 depends on DRM_NOUVEAU
25 select DRM_VM
26 default y
27 help
28 There was a version of the nouveau DDX that relied on legacy
29 ctx ioctls not erroring out. But that was back in time a long
30 ways, so offer a way to disable it now. For uapi compat with
31 old nouveau ddx this should be on by default, but modern distros
32 should consider turning it off.
33
34 config NOUVEAU_PLATFORM_DRIVER
35 bool "Nouveau (NVIDIA) SoC GPUs"
36 depends on DRM_NOUVEAU && ARCH_TEGRA
37 default y
38 help
39 Support for Nouveau platform driver, used for SoC GPUs as found
40 on NVIDIA Tegra K1.
41
42 config NOUVEAU_DEBUG
43 int "Maximum debug level"
44 depends on DRM_NOUVEAU
45 range 0 7
46 default 5
47 help
48 Selects the maximum debug level to compile support for.
49
50 0 - fatal
51 1 - error
52 2 - warning
53 3 - info
54 4 - debug
55 5 - trace (recommended)
56 6 - paranoia
57 7 - spam
58
59 The paranoia and spam levels will add a lot of extra checks which
60 may potentially slow down driver operation.
61
62 config NOUVEAU_DEBUG_DEFAULT
63 int "Default debug level"
64 depends on DRM_NOUVEAU
65 range 0 7
66 default 3
67 help
68 Selects the default debug level
69
70 config NOUVEAU_DEBUG_MMU
71 bool "Enable additional MMU debugging"
72 depends on DRM_NOUVEAU
73 default n
74 help
75 Say Y here if you want to enable verbose MMU debug output.
76
77 config DRM_NOUVEAU_BACKLIGHT
78 bool "Support for backlight control"
79 depends on DRM_NOUVEAU
80 default y
81 help
82 Say Y here if you want to control the backlight of your display
83 (e.g. a laptop panel).