xref: /openbmc/linux/drivers/gpu/drm/nouveau/Kconfig (revision a91ed42d)
16ee73861SBen Skeggsconfig DRM_NOUVEAU
26ee73861SBen Skeggs	tristate "Nouveau (nVidia) cards"
3f5f05c8aSDave Airlie	depends on DRM && PCI
46ee73861SBen Skeggs        select FW_LOADER
56ee73861SBen Skeggs	select DRM_KMS_HELPER
66ee73861SBen Skeggs	select DRM_TTM
76ee73861SBen Skeggs	select FB_CFB_FILLRECT
86ee73861SBen Skeggs	select FB_CFB_COPYAREA
96ee73861SBen Skeggs	select FB_CFB_IMAGEBLIT
106ee73861SBen Skeggs	select FB
116a108a14SDavid Rientjes	select FRAMEBUFFER_CONSOLE if !EXPERT
126ee73861SBen Skeggs	select FB_BACKLIGHT if DRM_NOUVEAU_BACKLIGHT
13c4298801SBen Hutchings	select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && VIDEO_OUTPUT_CONTROL && INPUT
14a91ed42dSBen Hutchings	select X86_PLATFORM_DEVICES if ACPI && X86
15a91ed42dSBen Hutchings	select ACPI_WMI if ACPI && X86
16a91ed42dSBen Hutchings	select MXM_WMI if ACPI && X86
1740c61046SDave Airlie	select POWER_SUPPLY
186ee73861SBen Skeggs	help
196ee73861SBen Skeggs	  Choose this option for open-source nVidia support.
206ee73861SBen Skeggs
215999933fSBen Skeggsconfig NOUVEAU_DEBUG
225999933fSBen Skeggs	int "Maximum debug level"
235999933fSBen Skeggs	depends on DRM_NOUVEAU
245999933fSBen Skeggs	range 0 7
255999933fSBen Skeggs	default 5
265999933fSBen Skeggs	help
275999933fSBen Skeggs	  Selects the maximum debug level to compile support for.
285999933fSBen Skeggs
295999933fSBen Skeggs	  0 - fatal
305999933fSBen Skeggs	  1 - error
315999933fSBen Skeggs	  2 - warning
325999933fSBen Skeggs	  3 - info
335999933fSBen Skeggs	  4 - debug
345999933fSBen Skeggs	  5 - trace (recommended)
355999933fSBen Skeggs	  6 - paranoia
365999933fSBen Skeggs	  7 - spam
375999933fSBen Skeggs
385999933fSBen Skeggs	  The paranoia and spam levels will add a lot of extra checks which
395999933fSBen Skeggs	  may potentially slow down driver operation.
405999933fSBen Skeggs
415999933fSBen Skeggsconfig NOUVEAU_DEBUG_DEFAULT
425999933fSBen Skeggs	int "Default debug level"
435999933fSBen Skeggs	depends on DRM_NOUVEAU
445999933fSBen Skeggs	range 0 7
455999933fSBen Skeggs	default 3
465999933fSBen Skeggs	help
475999933fSBen Skeggs	  Selects the default debug level
485999933fSBen Skeggs
496ee73861SBen Skeggsconfig DRM_NOUVEAU_BACKLIGHT
506ee73861SBen Skeggs	bool "Support for backlight control"
516ee73861SBen Skeggs	depends on DRM_NOUVEAU
526ee73861SBen Skeggs	default y
536ee73861SBen Skeggs	help
546ee73861SBen Skeggs	  Say Y here if you want to control the backlight of your display
556ee73861SBen Skeggs	  (e.g. a laptop panel).
566ee73861SBen Skeggs
576ee73861SBen Skeggsmenu "I2C encoder or helper chips"
5873cb9276SFrancisco Jerez     depends on DRM && DRM_KMS_HELPER && I2C
596ee73861SBen Skeggs
606ee73861SBen Skeggsconfig DRM_I2C_CH7006
616ee73861SBen Skeggs	tristate "Chrontel ch7006 TV encoder"
6273cb9276SFrancisco Jerez	default m if DRM_NOUVEAU
636ee73861SBen Skeggs	help
646ee73861SBen Skeggs	  Support for Chrontel ch7006 and similar TV encoders, found
656ee73861SBen Skeggs	  on some nVidia video cards.
666ee73861SBen Skeggs
676ee73861SBen Skeggs	  This driver is currently only useful if you're also using
686ee73861SBen Skeggs	  the nouveau driver.
69e190bfe5SFrancisco Jerez
70e190bfe5SFrancisco Jerezconfig DRM_I2C_SIL164
71e190bfe5SFrancisco Jerez	tristate "Silicon Image sil164 TMDS transmitter"
72e190bfe5SFrancisco Jerez	default m if DRM_NOUVEAU
73e190bfe5SFrancisco Jerez	help
74e190bfe5SFrancisco Jerez	  Support for sil164 and similar single-link (or dual-link
75e190bfe5SFrancisco Jerez	  when used in pairs) TMDS transmitters, used in some nVidia
76e190bfe5SFrancisco Jerez	  video cards.
77e190bfe5SFrancisco Jerez
786ee73861SBen Skeggsendmenu
79