lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Tue, 22 May 2012 08:06:14 +0200
From:	Arvydas Sidorenko <asido4@...il.com>
To:	airlied@...ux.ie
Cc:	bskeggs@...hat.com, maximlevitsky@...il.com,
	dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
	asido4@...il.com
Subject: [PATCH] nouveau_drv.c: notify when KMS is disabled

On nouveau init whenever VGA fallback is used no notification is given
in dmesg.

Signed-off-by: Arvydas Sidorenko <asido4@...il.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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ