drm/nouveau: print a message when KMS is disabled
Subsystems (3)
PATCH 1/1 drm/nouveau: print a message when KMS is disabled
Signed-off-by Pierre Moreau <[email protected]>
---
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(-)
drivers/gpu/drm/nouveau/nouveau_drm.c +3 -1
@@ -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);
Signature · 1 line
1.9.0
A message that is not in the archive (sent off-list or not yet received): 1394418209-2244-1-git-send-email-pierre.morrow-GANU6spQydw@public.gmane.org
Hi,
Any thoughts on this patch?
Pierre Moreau
Quoted 33 lines · Pierre Moreau
Signed-off-by Pierre Moreau <[email protected]>---
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(-)drivers/gpu/drm/nouveau/nouveau_drm.c +3
-1@@ -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);Signature · 6 lines
1.9.0 _______________________________________________ Nouveau mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/nouveau