blob: 2922a82cba8e4dd8e872ae7aae383279a32366b2 [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"
Dave Airlief5f05c82010-07-09 07:43:27 +10003 depends on DRM && PCI
Ben Skeggs6ee73862009-12-11 19:24:15 +10004 select FW_LOADER
5 select DRM_KMS_HELPER
6 select DRM_TTM
Ben Skeggs6ee73862009-12-11 19:24:15 +10007 select FB_BACKLIGHT if DRM_NOUVEAU_BACKLIGHT
Jean Delvarea386c002014-03-17 16:17:49 +01008 select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && INPUT
Ben Hutchingsa91ed422013-02-20 02:57:32 +00009 select X86_PLATFORM_DEVICES if ACPI && X86
10 select ACPI_WMI if ACPI && X86
11 select MXM_WMI if ACPI && X86
Dave Airlie40c61042012-04-02 10:45:49 +010012 select POWER_SUPPLY
Maarten Lankhorst11072762013-06-27 13:38:23 +020013 # 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
Maarten Lankhorst11072762013-06-27 13:38:23 +020016 select INPUT if ACPI && X86
17 select THERMAL if ACPI && X86
18 select ACPI_VIDEO if ACPI && X86
Ben Skeggs6ee73862009-12-11 19:24:15 +100019 help
Alexandre Courbot8ba9ff12014-06-26 14:33:32 +090020 Choose this option for open-source NVIDIA support.
21
22config NOUVEAU_PLATFORM_DRIVER
Alexandre Courbot055a65d2015-01-15 15:29:56 +090023 bool "Nouveau (NVIDIA) SoC GPUs"
Alexandre Courbot8ba9ff12014-06-26 14:33:32 +090024 depends on DRM_NOUVEAU && ARCH_TEGRA
25 default y
26 help
27 Support for Nouveau platform driver, used for SoC GPUs as found
28 on NVIDIA Tegra K1.
Ben Skeggs6ee73862009-12-11 19:24:15 +100029
Ben Skeggs59999332012-08-03 14:58:10 +100030config NOUVEAU_DEBUG
31 int "Maximum debug level"
32 depends on DRM_NOUVEAU
33 range 0 7
34 default 5
35 help
36 Selects the maximum debug level to compile support for.
37
38 0 - fatal
39 1 - error
40 2 - warning
41 3 - info
42 4 - debug
43 5 - trace (recommended)
44 6 - paranoia
45 7 - spam
46
47 The paranoia and spam levels will add a lot of extra checks which
48 may potentially slow down driver operation.
49
50config NOUVEAU_DEBUG_DEFAULT
51 int "Default debug level"
52 depends on DRM_NOUVEAU
53 range 0 7
54 default 3
55 help
56 Selects the default debug level
57
Ben Skeggs6ee73862009-12-11 19:24:15 +100058config DRM_NOUVEAU_BACKLIGHT
59 bool "Support for backlight control"
60 depends on DRM_NOUVEAU
61 default y
62 help
63 Say Y here if you want to control the backlight of your display
64 (e.g. a laptop panel).