blob: 637c29a33127f98ad341ba6d4aa097857c5ea9c9 [file] [log] [blame]
Ben Skeggs6ee73862009-12-11 19:24:15 +10001config DRM_NOUVEAU
2 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
26 Choose this option for open-source nVidia support.
27
Ben Skeggs59999332012-08-03 14:58:10 +100028config NOUVEAU_DEBUG
29 int "Maximum debug level"
30 depends on DRM_NOUVEAU
31 range 0 7
32 default 5
33 help
34 Selects the maximum debug level to compile support for.
35
36 0 - fatal
37 1 - error
38 2 - warning
39 3 - info
40 4 - debug
41 5 - trace (recommended)
42 6 - paranoia
43 7 - spam
44
45 The paranoia and spam levels will add a lot of extra checks which
46 may potentially slow down driver operation.
47
48config NOUVEAU_DEBUG_DEFAULT
49 int "Default debug level"
50 depends on DRM_NOUVEAU
51 range 0 7
52 default 3
53 help
54 Selects the default debug level
55
Ben Skeggs6ee73862009-12-11 19:24:15 +100056config DRM_NOUVEAU_BACKLIGHT
57 bool "Support for backlight control"
58 depends on DRM_NOUVEAU
59 default y
60 help
61 Say Y here if you want to control the backlight of your display
62 (e.g. a laptop panel).