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 56ee73861SBen Skeggs select FW_LOADER 66ee73861SBen Skeggs select DRM_KMS_HELPER 76ee73861SBen Skeggs select DRM_TTM 8399382f8SBartlomiej Zolnierkiewicz select BACKLIGHT_CLASS_DEVICE if DRM_NOUVEAU_BACKLIGHT 9a386c006SJean Delvare select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && INPUT 10a91ed42dSBen Hutchings select X86_PLATFORM_DEVICES if ACPI && X86 11a91ed42dSBen Hutchings select ACPI_WMI if ACPI && X86 12a91ed42dSBen Hutchings select MXM_WMI if ACPI && X86 1340c61046SDave Airlie select POWER_SUPPLY 141107276cSMaarten Lankhorst # Similar to i915, we need to select ACPI_VIDEO and it's dependencies 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 196ee73861SBen Skeggs help 208ba9ff11SAlexandre Courbot Choose this option for open-source NVIDIA support. 218ba9ff11SAlexandre Courbot 22b30a43acSDave Airlieconfig NOUVEAU_LEGACY_CTX_SUPPORT 23b30a43acSDave Airlie bool "Nouveau legacy context support" 24b30a43acSDave Airlie depends on DRM_NOUVEAU 2561ae2270SDave Airlie select DRM_LEGACY 26b30a43acSDave Airlie default y 27b30a43acSDave Airlie help 28b30a43acSDave Airlie There was a version of the nouveau DDX that relied on legacy 29b30a43acSDave Airlie ctx ioctls not erroring out. But that was back in time a long 30b30a43acSDave Airlie ways, so offer a way to disable it now. For uapi compat with 31b30a43acSDave Airlie old nouveau ddx this should be on by default, but modern distros 32b30a43acSDave Airlie should consider turning it off. 33b30a43acSDave Airlie 348ba9ff11SAlexandre Courbotconfig NOUVEAU_PLATFORM_DRIVER 35055a65d5SAlexandre Courbot bool "Nouveau (NVIDIA) SoC GPUs" 368ba9ff11SAlexandre Courbot depends on DRM_NOUVEAU && ARCH_TEGRA 378ba9ff11SAlexandre Courbot default y 388ba9ff11SAlexandre Courbot help 398ba9ff11SAlexandre Courbot Support for Nouveau platform driver, used for SoC GPUs as found 408ba9ff11SAlexandre Courbot on NVIDIA Tegra K1. 416ee73861SBen Skeggs 425999933fSBen Skeggsconfig NOUVEAU_DEBUG 435999933fSBen Skeggs int "Maximum debug level" 445999933fSBen Skeggs depends on DRM_NOUVEAU 455999933fSBen Skeggs range 0 7 465999933fSBen Skeggs default 5 475999933fSBen Skeggs help 485999933fSBen Skeggs Selects the maximum debug level to compile support for. 495999933fSBen Skeggs 505999933fSBen Skeggs 0 - fatal 515999933fSBen Skeggs 1 - error 525999933fSBen Skeggs 2 - warning 535999933fSBen Skeggs 3 - info 545999933fSBen Skeggs 4 - debug 555999933fSBen Skeggs 5 - trace (recommended) 565999933fSBen Skeggs 6 - paranoia 575999933fSBen Skeggs 7 - spam 585999933fSBen Skeggs 595999933fSBen Skeggs The paranoia and spam levels will add a lot of extra checks which 605999933fSBen Skeggs may potentially slow down driver operation. 615999933fSBen Skeggs 625999933fSBen Skeggsconfig NOUVEAU_DEBUG_DEFAULT 635999933fSBen Skeggs int "Default debug level" 645999933fSBen Skeggs depends on DRM_NOUVEAU 655999933fSBen Skeggs range 0 7 665999933fSBen Skeggs default 3 675999933fSBen Skeggs help 685999933fSBen Skeggs Selects the default debug level 695999933fSBen Skeggs 70eb813999SBen Skeggsconfig NOUVEAU_DEBUG_MMU 71eb813999SBen Skeggs bool "Enable additional MMU debugging" 72eb813999SBen Skeggs depends on DRM_NOUVEAU 73eb813999SBen Skeggs default n 74eb813999SBen Skeggs help 75eb813999SBen Skeggs Say Y here if you want to enable verbose MMU debug output. 76eb813999SBen Skeggs 776ee73861SBen Skeggsconfig DRM_NOUVEAU_BACKLIGHT 786ee73861SBen Skeggs bool "Support for backlight control" 796ee73861SBen Skeggs depends on DRM_NOUVEAU 806ee73861SBen Skeggs default y 816ee73861SBen Skeggs help 826ee73861SBen Skeggs Say Y here if you want to control the backlight of your display 836ee73861SBen Skeggs (e.g. a laptop panel). 84eeaf06acSBen Skeggs 85eeaf06acSBen Skeggsconfig DRM_NOUVEAU_SVM 86eeaf06acSBen Skeggs bool "(EXPERIMENTAL) Enable SVM (Shared Virtual Memory) support" 87eeaf06acSBen Skeggs depends on ARCH_HAS_HMM 88eeaf06acSBen Skeggs depends on DRM_NOUVEAU 89eeaf06acSBen Skeggs depends on STAGING 90eeaf06acSBen Skeggs select HMM_MIRROR 915be73b69SJérôme Glisse select DEVICE_PRIVATE 92eeaf06acSBen Skeggs default n 93eeaf06acSBen Skeggs help 94eeaf06acSBen Skeggs Say Y here if you want to enable experimental support for 95eeaf06acSBen Skeggs Shared Virtual Memory (SVM). 96