Pierre Moreau
2014-Mar-10  02:23 UTC
[Nouveau] [PATCH] drm/nouveau: print a message when KMS is disabled
Signed-off-by: Pierre Moreau <pierre.morrow at free.fr>
---
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
Pierre Moreau
2014-Jun-07  19:39 UTC
[Nouveau] [PATCH] drm/nouveau: print a message when KMS is disabled
Hi, Any thoughts on this patch? Pierre Moreau On 03:23 AM - Mar 10 2014, Pierre Moreau wrote:> Signed-off-by: Pierre Moreau <pierre.morrow at free.fr> > --- > > 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 > > _______________________________________________ > Nouveau mailing list > Nouveau at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/nouveau
Possibly Parallel Threads
- [PATCH] drm: merge nouveau_platform.ko into nouveau.ko
- [PATCH] drm: merge nouveau_platform.ko into nouveau.ko
- [PATCH v3 1/2] nouveau/bl: Assign different names to interfaces
- [PATCH 1/2] nouveau/bl: Assign different names to interfaces
- [PATCH 0/5] drm/nouveau: platform devices and GK20A probing