Skip to contentSkip to conversation

nouveau_drv.c: notify when KMS is disabled

PATCH New Arvydas Sidorenko 1 participant 1 message May 22, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nouveau_drv.c: notify when KMS is disabled

On nouveau init whenever VGA fallback is used no notification is given in dmesg.

---
 drivers/gpu/drm/nouveau/nouveau_drv.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
drivers/gpu/drm/nouveau/nouveau_drv.c +3 -1
index 4f2030b..ea90d60 100644
@@ -473,8 +473,10 @@ static int __init nouveau_init(void)
 			nouveau_modeset = 1;
 	}
 
-	if (!nouveau_modeset)
+	if (!nouveau_modeset) {
+		DRM_INFO("nouveau KMS disabled");
 		return 0;
+	}
 
 	nouveau_register_dsm_handler();
 	return drm_pci_init(&driver, &nouveau_pci_driver);
Signature · 1 line
1.7.8.6