xref: /openbmc/linux/drivers/gpu/drm/nouveau/Kconfig (revision ee89bd6b)
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_TTM
7	select FB_CFB_FILLRECT
8	select FB_CFB_COPYAREA
9	select FB_CFB_IMAGEBLIT
10	select FB
11	select FRAMEBUFFER_CONSOLE if !EXPERT
12	select FB_BACKLIGHT if DRM_NOUVEAU_BACKLIGHT
13	select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && VIDEO_OUTPUT_CONTROL && INPUT
14	select X86_PLATFORM_DEVICES if ACPI && X86
15	select ACPI_WMI if ACPI && X86
16	select MXM_WMI if ACPI && X86
17	select POWER_SUPPLY
18	help
19	  Choose this option for open-source nVidia support.
20
21config NOUVEAU_DEBUG
22	int "Maximum debug level"
23	depends on DRM_NOUVEAU
24	range 0 7
25	default 5
26	help
27	  Selects the maximum debug level to compile support for.
28
29	  0 - fatal
30	  1 - error
31	  2 - warning
32	  3 - info
33	  4 - debug
34	  5 - trace (recommended)
35	  6 - paranoia
36	  7 - spam
37
38	  The paranoia and spam levels will add a lot of extra checks which
39	  may potentially slow down driver operation.
40
41config NOUVEAU_DEBUG_DEFAULT
42	int "Default debug level"
43	depends on DRM_NOUVEAU
44	range 0 7
45	default 3
46	help
47	  Selects the default debug level
48
49config DRM_NOUVEAU_BACKLIGHT
50	bool "Support for backlight control"
51	depends on DRM_NOUVEAU
52	default y
53	help
54	  Say Y here if you want to control the backlight of your display
55	  (e.g. a laptop panel).
56