]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - drivers/gpu/drm/nouveau/Kconfig
drm: allow removal of legacy codepaths (v4.1)
[mirror_ubuntu-hirsute-kernel.git] / drivers / gpu / drm / nouveau / Kconfig
CommitLineData
6ee73861 1config DRM_NOUVEAU
8ba9ff11 2 tristate "Nouveau (NVIDIA) cards"
011cda58 3 depends on DRM && PCI && MMU
6ee73861
BS
4 select FW_LOADER
5 select DRM_KMS_HELPER
6 select DRM_TTM
399382f8
BZ
7 select BACKLIGHT_CLASS_DEVICE if DRM_NOUVEAU_BACKLIGHT
8 select BACKLIGHT_LCD_SUPPORT if DRM_NOUVEAU_BACKLIGHT
a386c006 9 select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && INPUT
a91ed42d
BH
10 select X86_PLATFORM_DEVICES if ACPI && X86
11 select ACPI_WMI if ACPI && X86
12 select MXM_WMI if ACPI && X86
40c61046 13 select POWER_SUPPLY
1107276c
ML
14 # Similar to i915, we need to select ACPI_VIDEO and it's dependencies
15 select BACKLIGHT_LCD_SUPPORT if ACPI && X86
16 select BACKLIGHT_CLASS_DEVICE if ACPI && X86
1107276c
ML
17 select INPUT if ACPI && X86
18 select THERMAL if ACPI && X86
19 select ACPI_VIDEO if ACPI && X86
6ee73861 20 help
8ba9ff11
AC
21 Choose this option for open-source NVIDIA support.
22
b30a43ac
DA
23config NOUVEAU_LEGACY_CTX_SUPPORT
24 bool "Nouveau legacy context support"
25 depends on DRM_NOUVEAU
61ae2270 26 select DRM_LEGACY
b30a43ac
DA
27 default y
28 help
29 There was a version of the nouveau DDX that relied on legacy
30 ctx ioctls not erroring out. But that was back in time a long
31 ways, so offer a way to disable it now. For uapi compat with
32 old nouveau ddx this should be on by default, but modern distros
33 should consider turning it off.
34
8ba9ff11 35config NOUVEAU_PLATFORM_DRIVER
055a65d5 36 bool "Nouveau (NVIDIA) SoC GPUs"
8ba9ff11
AC
37 depends on DRM_NOUVEAU && ARCH_TEGRA
38 default y
39 help
40 Support for Nouveau platform driver, used for SoC GPUs as found
41 on NVIDIA Tegra K1.
6ee73861 42
5999933f
BS
43config NOUVEAU_DEBUG
44 int "Maximum debug level"
45 depends on DRM_NOUVEAU
46 range 0 7
47 default 5
48 help
49 Selects the maximum debug level to compile support for.
50
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
60 The paranoia and spam levels will add a lot of extra checks which
61 may potentially slow down driver operation.
62
63config NOUVEAU_DEBUG_DEFAULT
64 int "Default debug level"
65 depends on DRM_NOUVEAU
66 range 0 7
67 default 3
68 help
69 Selects the default debug level
70
eb813999
BS
71config NOUVEAU_DEBUG_MMU
72 bool "Enable additional MMU debugging"
73 depends on DRM_NOUVEAU
74 default n
75 help
76 Say Y here if you want to enable verbose MMU debug output.
77
6ee73861
BS
78config DRM_NOUVEAU_BACKLIGHT
79 bool "Support for backlight control"
80 depends on DRM_NOUVEAU
81 default y
82 help
83 Say Y here if you want to control the backlight of your display
84 (e.g. a laptop panel).
eeaf06ac
BS
85
86config DRM_NOUVEAU_SVM
87 bool "(EXPERIMENTAL) Enable SVM (Shared Virtual Memory) support"
88 depends on ARCH_HAS_HMM
89 depends on DRM_NOUVEAU
90 depends on STAGING
91 select HMM_MIRROR
5be73b69 92 select DEVICE_PRIVATE
eeaf06ac
BS
93 default n
94 help
95 Say Y here if you want to enable experimental support for
96 Shared Virtual Memory (SVM).