All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/vmwgfx: respect 'nomodeset'
@ 2014-10-15 19:00 Rob Clark
  2014-10-15 19:24 ` Thomas Hellstrom
  0 siblings, 1 reply; 10+ messages in thread
From: Rob Clark @ 2014-10-15 19:00 UTC (permalink / raw)
  To: dri-devel; +Cc: Thomas Hellstrom

Signed-off-by: Rob Clark <robdclark@gmail.com>
---
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
index 18b54ac..f0267b8 100644
--- 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"
@@ -1453,6 +1454,12 @@ static int vmw_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
 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");
-- 
1.9.3

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-01-19 17:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-15 19:00 [PATCH] drm/vmwgfx: respect 'nomodeset' Rob Clark
2014-10-15 19:24 ` Thomas Hellstrom
2014-10-15 19:46   ` Rob Clark
2014-10-15 20:17     ` Thomas Hellstrom
2014-10-15 20:35       ` Rob Clark
2014-10-15 20:38         ` Rob Clark
2014-10-15 20:44           ` Thomas Hellstrom
2014-10-15 20:51             ` Rob Clark
2014-10-15 21:06               ` Thomas Hellstrom
2016-01-19 17:27                 ` Rob Clark

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.