summaryrefslogtreecommitdiff
path: root/x11-misc/bumblebee/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-10-22 18:43:40 +0100
committerV3n3RiX <venerix@rogentos.ro>2016-10-22 18:43:40 +0100
commita6098bbffed3a89d368f9ee777d3af17f088da22 (patch)
treed08740db4747beb67fada34f172c49e13756e216 /x11-misc/bumblebee/files
parent76850b84ab13946a9fcbb1487aaa7ee7f11fa29a (diff)
make sure nvidia-drm module does not brake optimus as nvidia-modeset module did
Diffstat (limited to 'x11-misc/bumblebee/files')
-rw-r--r--x11-misc/bumblebee/files/bumblebee-3.2.1-handle-nvidia-modeset-and-nvidia-drm.patch (renamed from x11-misc/bumblebee/files/bumblebee-3.2.1-handle-nvidia-modeset.patch)5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11-misc/bumblebee/files/bumblebee-3.2.1-handle-nvidia-modeset.patch b/x11-misc/bumblebee/files/bumblebee-3.2.1-handle-nvidia-modeset-and-nvidia-drm.patch
index 742a5d8e..e71dd086 100644
--- a/x11-misc/bumblebee/files/bumblebee-3.2.1-handle-nvidia-modeset.patch
+++ b/x11-misc/bumblebee/files/bumblebee-3.2.1-handle-nvidia-modeset-and-nvidia-drm.patch
@@ -1,7 +1,7 @@
diff -Nur a/src/module.c b/src/module.c
--- a/src/module.c 2013-04-26 16:49:03.022174178 +0100
-+++ b/src/module.c 2016-09-19 18:50:43.080311387 +0100
-@@ -96,7 +96,9 @@
++++ b/src/module.c 2016-10-22 18:41:42.151021720 +0100
+@@ -96,7 +96,10 @@
int retries = 30;
bb_log(LOG_INFO, "Unloading %s driver\n", driver);
char *mod_argv[] = {
@@ -9,6 +9,7 @@ diff -Nur a/src/module.c b/src/module.c
+ "modprobe",
+ "-r",
+ "nvidia_modeset",
++ "nvidia_drm",
driver,
NULL
};