From: Arvydas Sidorenko <asido4@gmail.com>
To: airlied@linux.ie
Cc: bskeggs@redhat.com, maximlevitsky@gmail.com,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
asido4@gmail.com
Subject: [PATCH] nouveau_drv.c: notify when KMS is disabled
Date: Tue, 22 May 2012 08:06:14 +0200 [thread overview]
Message-ID: <1337666774-4514-1-git-send-email-asido4@gmail.com> (raw)
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
reply other threads:[~2012-05-22 6:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1337666774-4514-1-git-send-email-asido4@gmail.com \
--to=asido4@gmail.com \
--cc=airlied@linux.ie \
--cc=bskeggs@redhat.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maximlevitsky@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®