Hi, ToDo list item - totally untested.
Bikeshed away about the text of the message and I can change. Cheers, Mark
>From cc3257d8b29c5302de869bfb2a442a1daf01f387 Mon Sep 17 00:00:00 2001 From: Mark Carey <m...@careysoft.co.nz> Date: Sun, 26 Aug 2012 21:09:39 +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..3dbf081 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