xref: /openbmc/linux/drivers/gpu/drm/nouveau/Kconfig (revision eb813999)
16ee73861SBen Skeggsconfig DRM_NOUVEAU
28ba9ff11SAlexandre Courbot	tristate "Nouveau (NVIDIA) cards"
3011cda58SBenjamin Gaignard	depends on DRM && PCI && MMU
46ee73861SBen Skeggs        select FW_LOADER
56ee73861SBen Skeggs	select DRM_KMS_HELPER
66ee73861SBen Skeggs	select DRM_TTM
76ee73861SBen Skeggs	select FB_BACKLIGHT if DRM_NOUVEAU_BACKLIGHT
8a386c006SJean Delvare	select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && INPUT
9a91ed42dSBen Hutchings	select X86_PLATFORM_DEVICES if ACPI && X86
10a91ed42dSBen Hutchings	select ACPI_WMI if ACPI && X86
11a91ed42dSBen Hutchings	select MXM_WMI if ACPI && X86
1240c61046SDave Airlie	select POWER_SUPPLY
131107276cSMaarten Lankhorst	# Similar to i915, we need to select ACPI_VIDEO and it's dependencies
141107276cSMaarten Lankhorst	select BACKLIGHT_LCD_SUPPORT if ACPI && X86
151107276cSMaarten Lankhorst	select BACKLIGHT_CLASS_DEVICE if ACPI && X86
161107276cSMaarten Lankhorst	select INPUT if ACPI && X86
171107276cSMaarten Lankhorst	select THERMAL if ACPI && X86
181107276cSMaarten Lankhorst	select ACPI_VIDEO if ACPI && X86
1999c48e1eSBenjamin Gaignard	select DRM_VM
206ee73861SBen Skeggs	help
218ba9ff11SAlexandre Courbot	  Choose this option for open-source NVIDIA support.
228ba9ff11SAlexandre Courbot
238ba9ff11SAlexandre Courbotconfig NOUVEAU_PLATFORM_DRIVER
24055a65d5SAlexandre Courbot	bool "Nouveau (NVIDIA) SoC GPUs"
258ba9ff11SAlexandre Courbot	depends on DRM_NOUVEAU && ARCH_TEGRA
268ba9ff11SAlexandre Courbot	default y
278ba9ff11SAlexandre Courbot	help
288ba9ff11SAlexandre Courbot	  Support for Nouveau platform driver, used for SoC GPUs as found
298ba9ff11SAlexandre Courbot	  on NVIDIA Tegra K1.
306ee73861SBen Skeggs
315999933fSBen Skeggsconfig NOUVEAU_DEBUG
325999933fSBen Skeggs	int "Maximum debug level"
335999933fSBen Skeggs	depends on DRM_NOUVEAU
345999933fSBen Skeggs	range 0 7
355999933fSBen Skeggs	default 5
365999933fSBen Skeggs	help
375999933fSBen Skeggs	  Selects the maximum debug level to compile support for.
385999933fSBen Skeggs
395999933fSBen Skeggs	  0 - fatal
405999933fSBen Skeggs	  1 - error
415999933fSBen Skeggs	  2 - warning
425999933fSBen Skeggs	  3 - info
435999933fSBen Skeggs	  4 - debug
445999933fSBen Skeggs	  5 - trace (recommended)
455999933fSBen Skeggs	  6 - paranoia
465999933fSBen Skeggs	  7 - spam
475999933fSBen Skeggs
485999933fSBen Skeggs	  The paranoia and spam levels will add a lot of extra checks which
495999933fSBen Skeggs	  may potentially slow down driver operation.
505999933fSBen Skeggs
515999933fSBen Skeggsconfig NOUVEAU_DEBUG_DEFAULT
525999933fSBen Skeggs	int "Default debug level"
535999933fSBen Skeggs	depends on DRM_NOUVEAU
545999933fSBen Skeggs	range 0 7
555999933fSBen Skeggs	default 3
565999933fSBen Skeggs	help
575999933fSBen Skeggs	  Selects the default debug level
585999933fSBen Skeggs
59eb813999SBen Skeggsconfig NOUVEAU_DEBUG_MMU
60eb813999SBen Skeggs	bool "Enable additional MMU debugging"
61eb813999SBen Skeggs	depends on DRM_NOUVEAU
62eb813999SBen Skeggs	default n
63eb813999SBen Skeggs	help
64eb813999SBen Skeggs	  Say Y here if you want to enable verbose MMU debug output.
65eb813999SBen Skeggs
666ee73861SBen Skeggsconfig DRM_NOUVEAU_BACKLIGHT
676ee73861SBen Skeggs	bool "Support for backlight control"
686ee73861SBen Skeggs	depends on DRM_NOUVEAU
696ee73861SBen Skeggs	default y
706ee73861SBen Skeggs	help
716ee73861SBen Skeggs	  Say Y here if you want to control the backlight of your display
726ee73861SBen Skeggs	  (e.g. a laptop panel).
73