Message ID | 5111277B.5020607@canonical.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Tue, Feb 05, 2013 at 04:38:35PM +0100, Maarten Lankhorst wrote: > Argh, next attempt, based on i915's Kconfig. > > It seems that not only I have to select ACPI_VIDEO, I also have to select all the dependencies. > Is this a Kconfig bug or working as intended? i915 seems to have a workaround, so I copied it from > there. Except it's currently missing select THERMAL, so I guess it didn't get updated when that got > added. > > ---->8 > 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> Yep, this takes care of all deps, Tested-by: Borislav Petkov <bp@suse.de> Thanks.
On Tue, Feb 05, 2013 at 05:22:06PM +0100, Borislav Petkov wrote: > On Tue, Feb 05, 2013 at 04:38:35PM +0100, Maarten Lankhorst wrote: > > Argh, next attempt, based on i915's Kconfig. > > > > It seems that not only I have to select ACPI_VIDEO, I also have to select all the dependencies. > > Is this a Kconfig bug or working as intended? i915 seems to have a workaround, so I copied it from > > there. Except it's currently missing select THERMAL, so I guess it didn't get updated when that got > > added. > > > > ---->8 > > 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> > > Yep, this takes care of all deps, > > Tested-by: Borislav Petkov <bp@suse.de> Just to check whether anyone has picked this already - it is triggering on 3.8 too so it most probably needs a stable tag too. Thanks.
diff --git a/drivers/gpu/drm/nouveau/Kconfig b/drivers/gpu/drm/nouveau/Kconfig index 8a55bee..e84763a 100644 --- a/drivers/gpu/drm/nouveau/Kconfig +++ b/drivers/gpu/drm/nouveau/Kconfig @@ -10,10 +10,16 @@ config DRM_NOUVEAU select FB select FRAMEBUFFER_CONSOLE if !EXPERT select FB_BACKLIGHT if DRM_NOUVEAU_BACKLIGHT - select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && VIDEO_OUTPUT_CONTROL && INPUT select ACPI_WMI if ACPI select MXM_WMI if ACPI select POWER_SUPPLY + # Similar to i915, we need to select ACPI_VIDEO and it's dependencies + select BACKLIGHT_LCD_SUPPORT if ACPI && X86 + select BACKLIGHT_CLASS_DEVICE if ACPI && X86 + select VIDEO_OUTPUT_CONTROL if ACPI && X86 + select INPUT if ACPI && X86 + select THERMAL if ACPI && X86 + select ACPI_VIDEO if ACPI && X86 help Choose this option for open-source nVidia support.