+ nouveau-fix-build-eror-when-vga_switcheroo-is-not-enabled.patch added to -mm tree
Subsystems (3)
Subject: + nouveau-fix-build-eror-when-vga_switcheroo-is-not-enabled.patch added to -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 20 Sep 2013 13:37:56 -0700
The patch titled
Subject: nouveau: fix build eror when VGA_SWITCHEROO is not enabled
has been added to the -mm tree. Its filename is
nouveau-fix-build-eror-when-vga_switcheroo-is-not-enabled.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/nouveau-fix-build-eror-when-vga_switcheroo-is-not-enabled.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/nouveau-fix-build-eror-when-vga_switcheroo-is-not-enabled.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Randy Dunlap <[email protected]>
Subject: nouveau: fix build eror when VGA_SWITCHEROO is not enabled
Fix nouveau build error on x86, when ACPI is enabled but VGA_SWITCHEROO is not enabled, by providing a stub function.
drivers/built-in.o: In function `nouveau_pmops_runtime_suspend':
nouveau_drm.c:(.text+0x3aac89): undefined reference to `nouveau_switcheroo_optimus_dsm'
---
drivers/gpu/drm/nouveau/nouveau_acpi.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/nouveau/nouveau_acpi.c renamed from drivers/gpu/drm/nouveau/nouveau_acpi.c~nouveau-fix-build-eror-when-vga_switcheroo-is-not-enabled +1 -0
@@ -373,6 +373,7 @@ void nouveau_unregister_dsm_handler(void#else void nouveau_register_dsm_handler (void ) {}void nouveau_unregister_dsm_handler (void ) {} +void nouveau_switcheroo_optimus_dsm (void ) {}#endif /* retrieve the ROM in 4k blocks */
_
Patches currently in -mm which might be from [email protected] are
origin.patch include-linux-of_irqh-fix-warnings-when-config_of=n.patch linux-next.patch nouveau-fix-build-eror-when-vga_switcheroo-is-not-enabled.patch debugging-keep-track-of-page-owners-fix-2.patch