* [PATCH] drm/nouveau: print a message when KMS is disabled
@ 2014-03-10 2:23 Pierre Moreau
[not found] ` <1394418209-2244-1-git-send-email-pierre.morrow-GANU6spQydw@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Pierre Moreau @ 2014-03-10 2:23 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
Signed-off-by: Pierre Moreau <pierre.morrow-GANU6spQydw@public.gmane.org>
---
If KMS is disabled, Nouveau will now announce in the logs that it won't load.
(Adding Nouveau list as recipient.)
drivers/gpu/drm/nouveau/nouveau_drm.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.c b/drivers/gpu/drm/nouveau/nouveau_drm.c
index 89c484d..bb6409b 100644
--- a/drivers/gpu/drm/nouveau/nouveau_drm.c
+++ b/drivers/gpu/drm/nouveau/nouveau_drm.c
@@ -984,8 +984,10 @@ nouveau_drm_init(void)
#endif
}
- if (!nouveau_modeset)
+ if (!nouveau_modeset) {
+ DRM_INFO("Nouveau will not load as KMS was disabled.\n");
return 0;
+ }
nouveau_register_dsm_handler();
return drm_pci_init(&driver, &nouveau_drm_pci_driver);
--
1.9.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-07 19:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-10 2:23 [PATCH] drm/nouveau: print a message when KMS is disabled Pierre Moreau
[not found] ` <1394418209-2244-1-git-send-email-pierre.morrow-GANU6spQydw@public.gmane.org>
2014-06-07 19:39 ` Pierre Moreau
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.