Ben Skeggs | 6ee7386 | 2009-12-11 19:24:15 +1000 | [diff] [blame] | 1 | config DRM_NOUVEAU |
Alexandre Courbot | 8ba9ff1 | 2014-06-26 14:33:32 +0900 | [diff] [blame] | 2 | tristate "Nouveau (NVIDIA) cards" |
Benjamin Gaignard | 011cda5 | 2017-01-07 12:39:11 +0100 | [diff] [blame] | 3 | depends on DRM && PCI && MMU |
Ben Skeggs | 6ee7386 | 2009-12-11 19:24:15 +1000 | [diff] [blame] | 4 | select FW_LOADER |
| 5 | select DRM_KMS_HELPER |
| 6 | select DRM_TTM |
Bartlomiej Zolnierkiewicz | 399382f | 2019-01-02 18:47:37 +0100 | [diff] [blame] | 7 | select BACKLIGHT_CLASS_DEVICE if DRM_NOUVEAU_BACKLIGHT |
| 8 | select BACKLIGHT_LCD_SUPPORT if DRM_NOUVEAU_BACKLIGHT |
Jean Delvare | a386c00 | 2014-03-17 16:17:49 +0100 | [diff] [blame] | 9 | select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && INPUT |
Ben Hutchings | a91ed42 | 2013-02-20 02:57:32 +0000 | [diff] [blame] | 10 | select X86_PLATFORM_DEVICES if ACPI && X86 |
| 11 | select ACPI_WMI if ACPI && X86 |
| 12 | select MXM_WMI if ACPI && X86 |
Dave Airlie | 40c6104 | 2012-04-02 10:45:49 +0100 | [diff] [blame] | 13 | select POWER_SUPPLY |
Maarten Lankhorst | 1107276 | 2013-06-27 13:38:23 +0200 | [diff] [blame] | 14 | # Similar to i915, we need to select ACPI_VIDEO and it's dependencies |
| 15 | select BACKLIGHT_LCD_SUPPORT if ACPI && X86 |
| 16 | select BACKLIGHT_CLASS_DEVICE if ACPI && X86 |
Maarten Lankhorst | 1107276 | 2013-06-27 13:38:23 +0200 | [diff] [blame] | 17 | select INPUT if ACPI && X86 |
| 18 | select THERMAL if ACPI && X86 |
| 19 | select ACPI_VIDEO if ACPI && X86 |
Benjamin Gaignard | 99c48e1 | 2017-01-04 10:12:56 +0100 | [diff] [blame] | 20 | select DRM_VM |
Ben Skeggs | 6ee7386 | 2009-12-11 19:24:15 +1000 | [diff] [blame] | 21 | help |
Alexandre Courbot | 8ba9ff1 | 2014-06-26 14:33:32 +0900 | [diff] [blame] | 22 | Choose this option for open-source NVIDIA support. |
| 23 | |
| 24 | config NOUVEAU_PLATFORM_DRIVER |
Alexandre Courbot | 055a65d | 2015-01-15 15:29:56 +0900 | [diff] [blame] | 25 | bool "Nouveau (NVIDIA) SoC GPUs" |
Alexandre Courbot | 8ba9ff1 | 2014-06-26 14:33:32 +0900 | [diff] [blame] | 26 | depends on DRM_NOUVEAU && ARCH_TEGRA |
| 27 | default y |
| 28 | help |
| 29 | Support for Nouveau platform driver, used for SoC GPUs as found |
| 30 | on NVIDIA Tegra K1. |
Ben Skeggs | 6ee7386 | 2009-12-11 19:24:15 +1000 | [diff] [blame] | 31 | |
Ben Skeggs | 5999933 | 2012-08-03 14:58:10 +1000 | [diff] [blame] | 32 | config NOUVEAU_DEBUG |
| 33 | int "Maximum debug level" |
| 34 | depends on DRM_NOUVEAU |
| 35 | range 0 7 |
| 36 | default 5 |
| 37 | help |
| 38 | Selects the maximum debug level to compile support for. |
| 39 | |
| 40 | 0 - fatal |
| 41 | 1 - error |
| 42 | 2 - warning |
| 43 | 3 - info |
| 44 | 4 - debug |
| 45 | 5 - trace (recommended) |
| 46 | 6 - paranoia |
| 47 | 7 - spam |
| 48 | |
| 49 | The paranoia and spam levels will add a lot of extra checks which |
| 50 | may potentially slow down driver operation. |
| 51 | |
| 52 | config NOUVEAU_DEBUG_DEFAULT |
| 53 | int "Default debug level" |
| 54 | depends on DRM_NOUVEAU |
| 55 | range 0 7 |
| 56 | default 3 |
| 57 | help |
| 58 | Selects the default debug level |
| 59 | |
Ben Skeggs | eb81399 | 2017-11-01 03:56:19 +1000 | [diff] [blame] | 60 | config NOUVEAU_DEBUG_MMU |
| 61 | bool "Enable additional MMU debugging" |
| 62 | depends on DRM_NOUVEAU |
| 63 | default n |
| 64 | help |
| 65 | Say Y here if you want to enable verbose MMU debug output. |
| 66 | |
Ben Skeggs | 6ee7386 | 2009-12-11 19:24:15 +1000 | [diff] [blame] | 67 | config DRM_NOUVEAU_BACKLIGHT |
| 68 | bool "Support for backlight control" |
| 69 | depends on DRM_NOUVEAU |
| 70 | default y |
| 71 | help |
| 72 | Say Y here if you want to control the backlight of your display |
| 73 | (e.g. a laptop panel). |
Ben Skeggs | eeaf06ac | 2018-07-05 12:57:12 +1000 | [diff] [blame] | 74 | |
| 75 | config DRM_NOUVEAU_SVM |
| 76 | bool "(EXPERIMENTAL) Enable SVM (Shared Virtual Memory) support" |
| 77 | depends on ARCH_HAS_HMM |
| 78 | depends on DRM_NOUVEAU |
| 79 | depends on STAGING |
| 80 | select HMM_MIRROR |
Jérôme Glisse | 5be73b6 | 2018-07-26 17:59:13 -0400 | [diff] [blame] | 81 | select DEVICE_PRIVATE |
Ben Skeggs | eeaf06ac | 2018-07-05 12:57:12 +1000 | [diff] [blame] | 82 | default n |
| 83 | help |
| 84 | Say Y here if you want to enable experimental support for |
| 85 | Shared Virtual Memory (SVM). |