]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.14-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Mar 2016 19:21:30 +0000 (11:21 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Mar 2016 19:21:30 +0000 (11:21 -0800)
added patches:
drm-vmwgfx-respect-nomodeset.patch

queue-3.14/drm-vmwgfx-respect-nomodeset.patch [new file with mode: 0644]
queue-3.14/series

diff --git a/queue-3.14/drm-vmwgfx-respect-nomodeset.patch b/queue-3.14/drm-vmwgfx-respect-nomodeset.patch
new file mode 100644 (file)
index 0000000..e420b6f
--- /dev/null
@@ -0,0 +1,41 @@
+From 96c5d076f0a5e2023ecdb44d8261f87641ee71e0 Mon Sep 17 00:00:00 2001
+From: Rob Clark <robdclark@gmail.com>
+Date: Wed, 15 Oct 2014 15:00:47 -0400
+Subject: drm/vmwgfx: respect 'nomodeset'
+
+From: Rob Clark <robdclark@gmail.com>
+
+commit 96c5d076f0a5e2023ecdb44d8261f87641ee71e0 upstream.
+
+Signed-off-by: Rob Clark <robdclark@gmail.com>
+Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>.
+Signed-off-by: Dave Airlie <airlied@redhat.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/gpu/drm/vmwgfx/vmwgfx_drv.c |    7 +++++++
+ 1 file changed, 7 insertions(+)
+
+--- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
++++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
+@@ -25,6 +25,7 @@
+  *
+  **************************************************************************/
+ #include <linux/module.h>
++#include <linux/console.h>
+ #include <drm/drmP.h>
+ #include "vmwgfx_drv.h"
+@@ -1383,6 +1384,12 @@ static int vmw_probe(struct pci_dev *pde
+ static int __init vmwgfx_init(void)
+ {
+       int ret;
++
++#ifdef CONFIG_VGA_CONSOLE
++      if (vgacon_text_force())
++              return -EINVAL;
++#endif
++
+       ret = drm_pci_init(&driver, &vmw_pci_driver);
+       if (ret)
+               DRM_ERROR("Failed initializing DRM.\n");
index 079c7102512fb73921cc9ca5806dcf90aaa97447..c2fbfa4410fefd86d9b79560339743cbe2b58627 100644 (file)
@@ -103,3 +103,4 @@ mmc-mmci-fix-an-ages-old-detection-error.patch
 cputime-prevent-32bit-overflow-in-time_to_cputime.patch
 edac-robustify-workqueues-destruction.patch
 sparc64-fix-incorrect-sign-extension-in-sys_sparc64_personality.patch
+drm-vmwgfx-respect-nomodeset.patch