aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorMaarten Lankhorst <m.b.lankhorst@gmail.com>2013-06-27 07:38:23 -0400
committerDave Airlie <airlied@redhat.com>2013-06-27 21:56:22 -0400
commit1107276c8a05ad6de9e2f12fb75e9f0c3f2c7764 (patch)
tree80f63eadf98ad5008654e67920578c71eaba207d /drivers/gpu
parent27f06b2dbb84cf44b9ff404db1b93f14796ba559 (diff)
drm/nouveau: always select ACPI_VIDEO if ACPI is enabled.
Having nouveau builtin would still allow ACPI_VIDEO to be used as external module if some of the deps for acpi_video have not been met, which would result in a linking failure. Solve this by selecting all dependencies as well. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> Acked-by: Ben Skeggs <bskeggs@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/Kconfig1
-rw-r--r--drivers/gpu/drm/nouveau/Kconfig7
2 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index 71ca63b79a4f..a7c54c843291 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -139,6 +139,7 @@ config DRM_I915
139 select BACKLIGHT_CLASS_DEVICE if ACPI 139 select BACKLIGHT_CLASS_DEVICE if ACPI
140 select VIDEO_OUTPUT_CONTROL if ACPI 140 select VIDEO_OUTPUT_CONTROL if ACPI
141 select INPUT if ACPI 141 select INPUT if ACPI
142 select THERMAL if ACPI
142 select ACPI_VIDEO if ACPI 143 select ACPI_VIDEO if ACPI
143 select ACPI_BUTTON if ACPI 144 select ACPI_BUTTON if ACPI
144 help 145 help
diff --git a/drivers/gpu/drm/nouveau/Kconfig b/drivers/gpu/drm/nouveau/Kconfig
index a7ff6d5a34b9..ff80f12480ea 100644
--- a/drivers/gpu/drm/nouveau/Kconfig
+++ b/drivers/gpu/drm/nouveau/Kconfig
@@ -15,6 +15,13 @@ config DRM_NOUVEAU
15 select ACPI_WMI if ACPI && X86 15 select ACPI_WMI if ACPI && X86
16 select MXM_WMI if ACPI && X86 16 select MXM_WMI if ACPI && X86
17 select POWER_SUPPLY 17 select POWER_SUPPLY
18 # Similar to i915, we need to select ACPI_VIDEO and it's dependencies
19 select BACKLIGHT_LCD_SUPPORT if ACPI && X86
20 select BACKLIGHT_CLASS_DEVICE if ACPI && X86
21 select VIDEO_OUTPUT_CONTROL if ACPI && X86
22 select INPUT if ACPI && X86
23 select THERMAL if ACPI && X86
24 select ACPI_VIDEO if ACPI && X86
18 help 25 help
19 Choose this option for open-source nVidia support. 26 Choose this option for open-source nVidia support.
20 27