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 |
Ben Skeggs | 6ee7386 | 2009-12-11 19:24:15 +1000 | [diff] [blame] | 7 | select FB_BACKLIGHT if DRM_NOUVEAU_BACKLIGHT |
Jean Delvare | a386c00 | 2014-03-17 16:17:49 +0100 | [diff] [blame] | 8 | select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && INPUT |
Ben Hutchings | a91ed42 | 2013-02-20 02:57:32 +0000 | [diff] [blame] | 9 | select X86_PLATFORM_DEVICES if ACPI && X86 |
| 10 | select ACPI_WMI if ACPI && X86 |
| 11 | select MXM_WMI if ACPI && X86 |
Dave Airlie | 40c6104 | 2012-04-02 10:45:49 +0100 | [diff] [blame] | 12 | select POWER_SUPPLY |
Maarten Lankhorst | 1107276 | 2013-06-27 13:38:23 +0200 | [diff] [blame] | 13 | # Similar to i915, we need to select ACPI_VIDEO and it's dependencies |
| 14 | select BACKLIGHT_LCD_SUPPORT if ACPI && X86 |
| 15 | select BACKLIGHT_CLASS_DEVICE if ACPI && X86 |
Maarten Lankhorst | 1107276 | 2013-06-27 13:38:23 +0200 | [diff] [blame] | 16 | select INPUT if ACPI && X86 |
| 17 | select THERMAL if ACPI && X86 |
| 18 | select ACPI_VIDEO if ACPI && X86 |
Benjamin Gaignard | 99c48e1 | 2017-01-04 10:12:56 +0100 | [diff] [blame] | 19 | select DRM_VM |
Ben Skeggs | 6ee7386 | 2009-12-11 19:24:15 +1000 | [diff] [blame] | 20 | help |
Alexandre Courbot | 8ba9ff1 | 2014-06-26 14:33:32 +0900 | [diff] [blame] | 21 | Choose this option for open-source NVIDIA support. |
| 22 | |
| 23 | config NOUVEAU_PLATFORM_DRIVER |
Alexandre Courbot | 055a65d | 2015-01-15 15:29:56 +0900 | [diff] [blame] | 24 | bool "Nouveau (NVIDIA) SoC GPUs" |
Alexandre Courbot | 8ba9ff1 | 2014-06-26 14:33:32 +0900 | [diff] [blame] | 25 | depends on DRM_NOUVEAU && ARCH_TEGRA |
| 26 | default y |
| 27 | help |
| 28 | Support for Nouveau platform driver, used for SoC GPUs as found |
| 29 | on NVIDIA Tegra K1. |
Ben Skeggs | 6ee7386 | 2009-12-11 19:24:15 +1000 | [diff] [blame] | 30 | |
Ben Skeggs | 5999933 | 2012-08-03 14:58:10 +1000 | [diff] [blame] | 31 | config NOUVEAU_DEBUG |
| 32 | int "Maximum debug level" |
| 33 | depends on DRM_NOUVEAU |
| 34 | range 0 7 |
| 35 | default 5 |
| 36 | help |
| 37 | Selects the maximum debug level to compile support for. |
| 38 | |
| 39 | 0 - fatal |
| 40 | 1 - error |
| 41 | 2 - warning |
| 42 | 3 - info |
| 43 | 4 - debug |
| 44 | 5 - trace (recommended) |
| 45 | 6 - paranoia |
| 46 | 7 - spam |
| 47 | |
| 48 | The paranoia and spam levels will add a lot of extra checks which |
| 49 | may potentially slow down driver operation. |
| 50 | |
| 51 | config NOUVEAU_DEBUG_DEFAULT |
| 52 | int "Default debug level" |
| 53 | depends on DRM_NOUVEAU |
| 54 | range 0 7 |
| 55 | default 3 |
| 56 | help |
| 57 | Selects the default debug level |
| 58 | |
Ben Skeggs | 6ee7386 | 2009-12-11 19:24:15 +1000 | [diff] [blame] | 59 | config DRM_NOUVEAU_BACKLIGHT |
| 60 | bool "Support for backlight control" |
| 61 | depends on DRM_NOUVEAU |
| 62 | default y |
| 63 | help |
| 64 | Say Y here if you want to control the backlight of your display |
| 65 | (e.g. a laptop panel). |