* [PATCH] nouveau_drv.c: notify when KMS is disabled
@ 2012-05-22 6:06 Arvydas Sidorenko
0 siblings, 0 replies; only message in thread
From: Arvydas Sidorenko @ 2012-05-22 6:06 UTC (permalink / raw)
To: airlied; +Cc: bskeggs, maximlevitsky, dri-devel, linux-kernel, asido4
On nouveau init whenever VGA fallback is used no notification is given
in dmesg.
Signed-off-by: Arvydas Sidorenko <asido4@gmail.com>
---
drivers/gpu/drm/nouveau/nouveau_drv.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.c b/drivers/gpu/drm/nouveau/nouveau_drv.c
index 4f2030b..ea90d60 100644
--- a/drivers/gpu/drm/nouveau/nouveau_drv.c
+++ b/drivers/gpu/drm/nouveau/nouveau_drv.c
@@ -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);
--
1.7.8.6
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-05-22 6:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-22 6:06 [PATCH] nouveau_drv.c: notify when KMS is disabled Arvydas Sidorenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®