1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 26ee73861SBen Skeggsconfig DRM_NOUVEAU 38ba9ff11SAlexandre Courbot tristate "Nouveau (NVIDIA) cards" 4011cda58SBenjamin Gaignard depends on DRM && PCI && MMU 5ee864216SChen Zhou select IOMMU_API 66ee73861SBen Skeggs select FW_LOADER 7*ef350898SThomas Zimmermann select DRM_CLIENT_SELECTION 81e0f6642SThomas Zimmermann select DRM_DISPLAY_DP_HELPER 9644edf52SThomas Zimmermann select DRM_DISPLAY_HDMI_HELPER 101e0f6642SThomas Zimmermann select DRM_DISPLAY_HELPER 116ee73861SBen Skeggs select DRM_KMS_HELPER 126ee73861SBen Skeggs select DRM_TTM 1349a3f51dSThomas Zimmermann select DRM_TTM_HELPER 14b88baab8SDanilo Krummrich select DRM_EXEC 15fe7acaa7SDanilo Krummrich select DRM_GPUVM 16b88baab8SDanilo Krummrich select DRM_SCHED 17000458b5SUwe Kleine-König select I2C 18000458b5SUwe Kleine-König select I2C_ALGOBIT 19399382f8SBartlomiej Zolnierkiewicz select BACKLIGHT_CLASS_DEVICE if DRM_NOUVEAU_BACKLIGHT 20a91ed42dSBen Hutchings select X86_PLATFORM_DEVICES if ACPI && X86 21a91ed42dSBen Hutchings select ACPI_WMI if ACPI && X86 22a91ed42dSBen Hutchings select MXM_WMI if ACPI && X86 2340c61046SDave Airlie select POWER_SUPPLY 241107276cSMaarten Lankhorst # Similar to i915, we need to select ACPI_VIDEO and it's dependencies 251107276cSMaarten Lankhorst select BACKLIGHT_CLASS_DEVICE if ACPI && X86 261107276cSMaarten Lankhorst select INPUT if ACPI && X86 271107276cSMaarten Lankhorst select THERMAL if ACPI && X86 281107276cSMaarten Lankhorst select ACPI_VIDEO if ACPI && X86 29742db30cSTakashi Iwai select SND_HDA_COMPONENT if SND_HDA_CORE 306ee73861SBen Skeggs help 318ba9ff11SAlexandre Courbot Choose this option for open-source NVIDIA support. 328ba9ff11SAlexandre Courbot 338ba9ff11SAlexandre Courbotconfig NOUVEAU_PLATFORM_DRIVER 34055a65d5SAlexandre Courbot bool "Nouveau (NVIDIA) SoC GPUs" 358ba9ff11SAlexandre Courbot depends on DRM_NOUVEAU && ARCH_TEGRA 368ba9ff11SAlexandre Courbot default y 378ba9ff11SAlexandre Courbot help 388ba9ff11SAlexandre Courbot Support for Nouveau platform driver, used for SoC GPUs as found 398ba9ff11SAlexandre Courbot on NVIDIA Tegra K1. 406ee73861SBen Skeggs 415999933fSBen Skeggsconfig NOUVEAU_DEBUG 425999933fSBen Skeggs int "Maximum debug level" 435999933fSBen Skeggs depends on DRM_NOUVEAU 445999933fSBen Skeggs range 0 7 455999933fSBen Skeggs default 5 465999933fSBen Skeggs help 475999933fSBen Skeggs Selects the maximum debug level to compile support for. 485999933fSBen Skeggs 495999933fSBen Skeggs 0 - fatal 505999933fSBen Skeggs 1 - error 515999933fSBen Skeggs 2 - warning 525999933fSBen Skeggs 3 - info 535999933fSBen Skeggs 4 - debug 545999933fSBen Skeggs 5 - trace (recommended) 555999933fSBen Skeggs 6 - paranoia 565999933fSBen Skeggs 7 - spam 575999933fSBen Skeggs 585999933fSBen Skeggs The paranoia and spam levels will add a lot of extra checks which 595999933fSBen Skeggs may potentially slow down driver operation. 605999933fSBen Skeggs 615999933fSBen Skeggsconfig NOUVEAU_DEBUG_DEFAULT 625999933fSBen Skeggs int "Default debug level" 635999933fSBen Skeggs depends on DRM_NOUVEAU 645999933fSBen Skeggs range 0 7 655999933fSBen Skeggs default 3 665999933fSBen Skeggs help 675999933fSBen Skeggs Selects the default debug level 685999933fSBen Skeggs 69eb813999SBen Skeggsconfig NOUVEAU_DEBUG_MMU 70eb813999SBen Skeggs bool "Enable additional MMU debugging" 71eb813999SBen Skeggs depends on DRM_NOUVEAU 72eb813999SBen Skeggs default n 73eb813999SBen Skeggs help 74eb813999SBen Skeggs Say Y here if you want to enable verbose MMU debug output. 75eb813999SBen Skeggs 762853ccf0SBen Skeggsconfig NOUVEAU_DEBUG_PUSH 772853ccf0SBen Skeggs bool "Enable additional push buffer debugging" 782853ccf0SBen Skeggs depends on DRM_NOUVEAU 792853ccf0SBen Skeggs default n 802853ccf0SBen Skeggs help 812853ccf0SBen Skeggs Say Y here if you want to enable verbose push buffer debug output 822853ccf0SBen Skeggs and sanity checks. 832853ccf0SBen Skeggs 846ee73861SBen Skeggsconfig DRM_NOUVEAU_BACKLIGHT 856ee73861SBen Skeggs bool "Support for backlight control" 866ee73861SBen Skeggs depends on DRM_NOUVEAU 876ee73861SBen Skeggs default y 886ee73861SBen Skeggs help 896ee73861SBen Skeggs Say Y here if you want to control the backlight of your display 906ee73861SBen Skeggs (e.g. a laptop panel). 91eeaf06acSBen Skeggs 92eeaf06acSBen Skeggsconfig DRM_NOUVEAU_SVM 93eeaf06acSBen Skeggs bool "(EXPERIMENTAL) Enable SVM (Shared Virtual Memory) support" 947328d9ccSChristoph Hellwig depends on DEVICE_PRIVATE 95eeaf06acSBen Skeggs depends on DRM_NOUVEAU 969c240a7bSChristoph Hellwig depends on MMU 97eeaf06acSBen Skeggs depends on STAGING 989c240a7bSChristoph Hellwig select HMM_MIRROR 999c240a7bSChristoph Hellwig select MMU_NOTIFIER 100eeaf06acSBen Skeggs default n 101eeaf06acSBen Skeggs help 102eeaf06acSBen Skeggs Say Y here if you want to enable experimental support for 103eeaf06acSBen Skeggs Shared Virtual Memory (SVM). 1041d492944SDave Airlie 1051d492944SDave Airlieconfig DRM_NOUVEAU_GSP_DEFAULT 1061d492944SDave Airlie bool "Use GSP firmware for Turing/Ampere (needs firmware installed)" 1071d492944SDave Airlie depends on DRM_NOUVEAU 1081d492944SDave Airlie default n 1091d492944SDave Airlie help 1101d492944SDave Airlie Say Y here if you want to use the GSP codepaths by default on 1111d492944SDave Airlie Turing and Ampere GPUs. 112