summaryrefslogtreecommitdiff
path: root/x11-misc/bumblebee/files/bumblebee-3.2.1-handle-nvidia-modeset-and-nvidia-drm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/bumblebee/files/bumblebee-3.2.1-handle-nvidia-modeset-and-nvidia-drm.patch')
-rw-r--r--x11-misc/bumblebee/files/bumblebee-3.2.1-handle-nvidia-modeset-and-nvidia-drm.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11-misc/bumblebee/files/bumblebee-3.2.1-handle-nvidia-modeset-and-nvidia-drm.patch b/x11-misc/bumblebee/files/bumblebee-3.2.1-handle-nvidia-modeset-and-nvidia-drm.patch
index e71dd086..736658c1 100644
--- a/x11-misc/bumblebee/files/bumblebee-3.2.1-handle-nvidia-modeset-and-nvidia-drm.patch
+++ b/x11-misc/bumblebee/files/bumblebee-3.2.1-handle-nvidia-modeset-and-nvidia-drm.patch
@@ -1,6 +1,6 @@
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-10-22 18:41:42.151021720 +0100
++++ b/src/module.c 2016-10-23 18:21:39.053969992 +0100
@@ -96,7 +96,10 @@
int retries = 30;
bb_log(LOG_INFO, "Unloading %s driver\n", driver);
@@ -8,8 +8,8 @@ diff -Nur a/src/module.c b/src/module.c
- "rmmod",
+ "modprobe",
+ "-r",
-+ "nvidia_modeset",
+ "nvidia_drm",
++ "nvidia_modeset",
driver,
NULL
};