blob: 5ab13e7939db7d0085aecd41ac18be7a8ee5782f [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
Daniel Vetter92b6f892013-10-08 17:44:47 +02006 select DRM_KMS_FB_HELPER
Ben Skeggs6ee73862009-12-11 19:24:15 +10007 select DRM_TTM
8 select FB_CFB_FILLRECT
9 select FB_CFB_COPYAREA
10 select FB_CFB_IMAGEBLIT
11 select FB
David Rientjes6a108a12011-01-20 14:44:16 -080012 select FRAMEBUFFER_CONSOLE if !EXPERT
Ben Skeggs6ee73862009-12-11 19:24:15 +100013 select FB_BACKLIGHT if DRM_NOUVEAU_BACKLIGHT
Jean Delvarea386c002014-03-17 16:17:49 +010014 select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && INPUT
Ben Hutchingsa91ed422013-02-20 02:57:32 +000015 select X86_PLATFORM_DEVICES if ACPI && X86
16 select ACPI_WMI if ACPI && X86
17 select MXM_WMI if ACPI && X86
Dave Airlie40c61042012-04-02 10:45:49 +010018 select POWER_SUPPLY
Maarten Lankhorst11072762013-06-27 13:38:23 +020019 # Similar to i915, we need to select ACPI_VIDEO and it's dependencies
20 select BACKLIGHT_LCD_SUPPORT if ACPI && X86
21 select BACKLIGHT_CLASS_DEVICE if ACPI && X86
Maarten Lankhorst11072762013-06-27 13:38:23 +020022 select INPUT if ACPI && X86
23 select THERMAL if ACPI && X86
24 select ACPI_VIDEO if ACPI && X86
Ben Skeggs6ee73862009-12-11 19:24:15 +100025 help
Alexandre Courbot8ba9ff12014-06-26 14:33:32 +090026 Choose this option for open-source NVIDIA support.
27
28config NOUVEAU_PLATFORM_DRIVER
Alexandre Courbot055a65d2015-01-15 15:29:56 +090029 bool "Nouveau (NVIDIA) SoC GPUs"
Alexandre Courbot8ba9ff12014-06-26 14:33:32 +090030 depends on DRM_NOUVEAU && ARCH_TEGRA
31 default y
32 help
33 Support for Nouveau platform driver, used for SoC GPUs as found
34 on NVIDIA Tegra K1.
Ben Skeggs6ee73862009-12-11 19:24:15 +100035
Ben Skeggs59999332012-08-03 14:58:10 +100036config NOUVEAU_DEBUG
37 int "Maximum debug level"
38 depends on DRM_NOUVEAU
39 range 0 7
40 default 5
41 help
42 Selects the maximum debug level to compile support for.
43
44 0 - fatal
45 1 - error
46 2 - warning
47 3 - info
48 4 - debug
49 5 - trace (recommended)
50 6 - paranoia
51 7 - spam
52
53 The paranoia and spam levels will add a lot of extra checks which
54 may potentially slow down driver operation.
55
56config NOUVEAU_DEBUG_DEFAULT
57 int "Default debug level"
58 depends on DRM_NOUVEAU
59 range 0 7
60 default 3
61 help
62 Selects the default debug level
63
Ben Skeggs6ee73862009-12-11 19:24:15 +100064config DRM_NOUVEAU_BACKLIGHT
65 bool "Support for backlight control"
66 depends on DRM_NOUVEAU
67 default y
68 help
69 Say Y here if you want to control the backlight of your display
70 (e.g. a laptop panel).