xref: /openbmc/linux/drivers/gpu/drm/nouveau/Kconfig (revision b34e08d5)
1config DRM_NOUVEAU
2	tristate "Nouveau (nVidia) cards"
3	depends on DRM && PCI
4        select FW_LOADER
5	select DRM_KMS_HELPER
6	select DRM_KMS_FB_HELPER
7	select DRM_TTM
8	select FB_CFB_FILLRECT
9	select FB_CFB_COPYAREA
10	select FB_CFB_IMAGEBLIT
11	select FB
12	select FRAMEBUFFER_CONSOLE if !EXPERT
13	select FB_BACKLIGHT if DRM_NOUVEAU_BACKLIGHT
14	select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && INPUT
15	select X86_PLATFORM_DEVICES if ACPI && X86
16	select ACPI_WMI if ACPI && X86
17	select MXM_WMI if ACPI && X86
18	select POWER_SUPPLY
19	# 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
22	select INPUT if ACPI && X86
23	select THERMAL if ACPI && X86
24	select ACPI_VIDEO if ACPI && X86
25	help
26	  Choose this option for open-source nVidia support.
27
28config 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
56config 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).
63