blob: 00cd9ab8948da361c78fcd298beb22c852c2f1c0 [file] [log] [blame]
Ben Skeggs6ee73862009-12-11 19:24:15 +10001config DRM_NOUVEAU
Alexandre Courbot8ba9ff12014-06-26 14:33:32 +09002 tristate "Nouveau (NVIDIA) cards"
Benjamin Gaignard011cda52017-01-07 12:39:11 +01003 depends on DRM && PCI && MMU
Ben Skeggs6ee73862009-12-11 19:24:15 +10004 select FW_LOADER
5 select DRM_KMS_HELPER
6 select DRM_TTM
Bartlomiej Zolnierkiewicz399382f2019-01-02 18:47:37 +01007 select BACKLIGHT_CLASS_DEVICE if DRM_NOUVEAU_BACKLIGHT
8 select BACKLIGHT_LCD_SUPPORT if DRM_NOUVEAU_BACKLIGHT
Jean Delvarea386c002014-03-17 16:17:49 +01009 select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && INPUT
Ben Hutchingsa91ed422013-02-20 02:57:32 +000010 select X86_PLATFORM_DEVICES if ACPI && X86
11 select ACPI_WMI if ACPI && X86
12 select MXM_WMI if ACPI && X86
Dave Airlie40c61042012-04-02 10:45:49 +010013 select POWER_SUPPLY
Maarten Lankhorst11072762013-06-27 13:38:23 +020014 # 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
Maarten Lankhorst11072762013-06-27 13:38:23 +020017 select INPUT if ACPI && X86
18 select THERMAL if ACPI && X86
19 select ACPI_VIDEO if ACPI && X86
Benjamin Gaignard99c48e12017-01-04 10:12:56 +010020 select DRM_VM
Ben Skeggs6ee73862009-12-11 19:24:15 +100021 help
Alexandre Courbot8ba9ff12014-06-26 14:33:32 +090022 Choose this option for open-source NVIDIA support.
23
24config NOUVEAU_PLATFORM_DRIVER
Alexandre Courbot055a65d2015-01-15 15:29:56 +090025 bool "Nouveau (NVIDIA) SoC GPUs"
Alexandre Courbot8ba9ff12014-06-26 14:33:32 +090026 depends on DRM_NOUVEAU && ARCH_TEGRA
27 default y
28 help
29 Support for Nouveau platform driver, used for SoC GPUs as found
30 on NVIDIA Tegra K1.
Ben Skeggs6ee73862009-12-11 19:24:15 +100031
Ben Skeggs59999332012-08-03 14:58:10 +100032config NOUVEAU_DEBUG
33 int "Maximum debug level"
34 depends on DRM_NOUVEAU
35 range 0 7
36 default 5
37 help
38 Selects the maximum debug level to compile support for.
39
40 0 - fatal
41 1 - error
42 2 - warning
43 3 - info
44 4 - debug
45 5 - trace (recommended)
46 6 - paranoia
47 7 - spam
48
49 The paranoia and spam levels will add a lot of extra checks which
50 may potentially slow down driver operation.
51
52config NOUVEAU_DEBUG_DEFAULT
53 int "Default debug level"
54 depends on DRM_NOUVEAU
55 range 0 7
56 default 3
57 help
58 Selects the default debug level
59
Ben Skeggseb813992017-11-01 03:56:19 +100060config NOUVEAU_DEBUG_MMU
61 bool "Enable additional MMU debugging"
62 depends on DRM_NOUVEAU
63 default n
64 help
65 Say Y here if you want to enable verbose MMU debug output.
66
Ben Skeggs6ee73862009-12-11 19:24:15 +100067config DRM_NOUVEAU_BACKLIGHT
68 bool "Support for backlight control"
69 depends on DRM_NOUVEAU
70 default y
71 help
72 Say Y here if you want to control the backlight of your display
73 (e.g. a laptop panel).
Ben Skeggseeaf06ac2018-07-05 12:57:12 +100074
75config DRM_NOUVEAU_SVM
76 bool "(EXPERIMENTAL) Enable SVM (Shared Virtual Memory) support"
77 depends on ARCH_HAS_HMM
78 depends on DRM_NOUVEAU
79 depends on STAGING
80 select HMM_MIRROR
Jérôme Glisse5be73b62018-07-26 17:59:13 -040081 select DEVICE_PRIVATE
Ben Skeggseeaf06ac2018-07-05 12:57:12 +100082 default n
83 help
84 Say Y here if you want to enable experimental support for
85 Shared Virtual Memory (SVM).