v2 spaces to tabs as per RSpliets feedback on IRC


>From 55370ae2ef1df30a7d15b454fc6189f74675e011 Mon Sep 17 00:00:00 2001
From: Mark Carey <m...@careysoft.co.nz>
Date: Sun, 26 Aug 2012 22:09:17 +1200
Subject: [PATCH] drm/nouveau: warn during init if modesetting disabled

Reported-by: Pekka Paalanen <p...@iki.fi>
Signed-off-by: Mark Carey <m...@careysoft.co.nz>
---
 drivers/gpu/drm/nouveau/nouveau_drm.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.c b/drivers/gpu/drm/nouveau/nouveau_drm.c
index 9fb56b3..aa9d3f6 100644
--- a/drivers/gpu/drm/nouveau/nouveau_drm.c
+++ b/drivers/gpu/drm/nouveau/nouveau_drm.c
@@ -655,8 +655,11 @@ nouveau_drm_init(void)
 			nouveau_modeset = 1;
 	}
 
-	if (!nouveau_modeset)
+	if (!nouveau_modeset) {
+		NV_FATAL(NULL, "modesetting disabled\n");
+		NV_FATAL(NULL, "modesetting required for normal operation\n");
 		return 0;
+	}
 
 	nouveau_register_dsm_handler();
 	return drm_pci_init(&driver, &nouveau_drm_pci_driver);
-- 
1.7.5.1

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

Reply via email to