Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Maarten Lankhorst and committed by
Dave Airlie
1107276c 27f06b2d

+8
+1
drivers/gpu/drm/Kconfig
··· 139 139 select BACKLIGHT_CLASS_DEVICE if ACPI 140 140 select VIDEO_OUTPUT_CONTROL if ACPI 141 141 select INPUT if ACPI 142 + select THERMAL if ACPI 142 143 select ACPI_VIDEO if ACPI 143 144 select ACPI_BUTTON if ACPI 144 145 help
+7
drivers/gpu/drm/nouveau/Kconfig
··· 15 15 select ACPI_WMI if ACPI && X86 16 16 select MXM_WMI if ACPI && X86 17 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 25 help 19 26 Choose this option for open-source nVidia support. 20 27