[PATCH] UBUNTU: SAUCE: drm/nouveau: Disable nouveau driver by default

Timo Aaltonen tjaalton at ubuntu.com
Fri Mar 29 08:49:52 UTC 2019


BugLink: https://bugs.launchpad.net/bugs/1822026

This driver is buggy, it doesn't make sense to keep it enabled
by default. It can still be used by adding 'nouveau.modeset=1'
to the kernel cmdline.

Signed-off-by: Timo Aaltonen <timo.aaltonen at canonical.com>
---
 drivers/gpu/drm/nouveau/nouveau_drm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.c b/drivers/gpu/drm/nouveau/nouveau_drm.c
index f900e94592f8..663c9a2b8ee4 100644
--- a/drivers/gpu/drm/nouveau/nouveau_drm.c
+++ b/drivers/gpu/drm/nouveau/nouveau_drm.c
@@ -78,7 +78,7 @@ module_param_named(noaccel, nouveau_noaccel, int, 0400);
 
 MODULE_PARM_DESC(modeset, "enable driver (default: auto, "
 		          "0 = disabled, 1 = enabled, 2 = headless)");
-int nouveau_modeset = -1;
+int nouveau_modeset = 0;
 module_param_named(modeset, nouveau_modeset, int, 0400);
 
 MODULE_PARM_DESC(atomic, "Expose atomic ioctl (default: disabled)");
-- 
2.20.1




More information about the kernel-team mailing list