xref: /openbmc/linux/drivers/gpu/drm/nouveau/Kconfig (revision 011cda58)
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
596ee73861SBen Skeggsconfig DRM_NOUVEAU_BACKLIGHT
606ee73861SBen Skeggs	bool "Support for backlight control"
616ee73861SBen Skeggs	depends on DRM_NOUVEAU
626ee73861SBen Skeggs	default y
636ee73861SBen Skeggs	help
646ee73861SBen Skeggs	  Say Y here if you want to control the backlight of your display
656ee73861SBen Skeggs	  (e.g. a laptop panel).
66