All of lore.kernel.org
 help / color / mirror / Atom feed
* [folded-merged] drm-nouveau-make-vga_switcheroo-code-depend-on-vga_switcheroo-fix.patch removed from -mm tree
@ 2013-11-15 22:14 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2013-11-15 22:14 UTC (permalink / raw)
  To: mm-commits, jslaby, jeffm, bskeggs, airlied, rdunlap

Subject: [folded-merged] drm-nouveau-make-vga_switcheroo-code-depend-on-vga_switcheroo-fix.patch removed from -mm tree
To: rdunlap@infradead.org,airlied@linux.ie,bskeggs@redhat.com,jeffm@suse.com,jslaby@suse.cz,mm-commits@vger.kernel.org
From: akpm@linux-foundation.org
Date: Fri, 15 Nov 2013 14:14:17 -0800


The patch titled
     Subject: nouveau: fix build eror when VGA_SWITCHEROO is not enabled
has been removed from the -mm tree.  Its filename was
     drm-nouveau-make-vga_switcheroo-code-depend-on-vga_switcheroo-fix.patch

This patch was dropped because it was folded into drm-nouveau-make-vga_switcheroo-code-depend-on-vga_switcheroo.patch

------------------------------------------------------
From: Randy Dunlap <rdunlap@infradead.org>
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'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Ben Skeggs <bskeggs@redhat.com>
Cc: Jeff Mahoney <jeffm@suse.com>
Cc: Jiri Slaby <jslaby@suse.cz>
Cc: David Airlie <airlied@linux.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/gpu/drm/nouveau/nouveau_acpi.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/gpu/drm/nouveau/nouveau_acpi.c~drm-nouveau-make-vga_switcheroo-code-depend-on-vga_switcheroo-fix drivers/gpu/drm/nouveau/nouveau_acpi.c
--- a/drivers/gpu/drm/nouveau/nouveau_acpi.c~drm-nouveau-make-vga_switcheroo-code-depend-on-vga_switcheroo-fix
+++ a/drivers/gpu/drm/nouveau/nouveau_acpi.c
@@ -380,6 +380,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 rdunlap@infradead.org are

origin.patch
drm-nouveau-make-vga_switcheroo-code-depend-on-vga_switcheroo.patch
mtd-cmdlinepart-use-cmdline-partition-parser-lib-fix.patch
linux-next.patch
debugging-keep-track-of-page-owners-fix-2.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-11-15 22:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-15 22:14 [folded-merged] drm-nouveau-make-vga_switcheroo-code-depend-on-vga_switcheroo-fix.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.