summaryrefslogtreecommitdiff
path: root/sys-kernel/nvidia-drivers-dkms/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-01 00:25:35 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-01 00:25:35 +0000
commit5b6fafdb88724180bdf9e080a313cf1a255ce28f (patch)
treebc6c01283d4c622b2d777c4aacf576b08c0faaa5 /sys-kernel/nvidia-drivers-dkms/files
parent820f109bd2ccce6c9123fd4df490152a347aebea (diff)
sys-kernel/nvidia-drivers-dkms && x11-drivers/nvidia-drivers && x11-misc/nvidia-settings : version bump
Diffstat (limited to 'sys-kernel/nvidia-drivers-dkms/files')
-rw-r--r--sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-455.45.01-dkms-kmalloc.patch (renamed from sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-440.82-conf.patch)20
1 files changed, 16 insertions, 4 deletions
diff --git a/sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-440.82-conf.patch b/sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-455.45.01-dkms-kmalloc.patch
index 8c4a9020..c3e9fbfb 100644
--- a/sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-440.82-conf.patch
+++ b/sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-455.45.01-dkms-kmalloc.patch
@@ -1,11 +1,10 @@
-diff -Nur a/kernel/dkms.conf b/kernel/dkms.conf
---- a/kernel/dkms.conf 2019-05-09 19:10:50.000000000 +0100
-+++ b/kernel/dkms.conf 2019-06-22 16:04:07.646270011 +0100
+--- a/kernel/dkms.conf 2020-11-05 22:50:01.000000000 +0000
++++ b/kernel/dkms.conf 2020-12-31 22:26:00.878993419 +0000
@@ -1,12 +1,20 @@
-PACKAGE_NAME="nvidia"
-PACKAGE_VERSION="__VERSION_STRING"
+PACKAGE_NAME="nvidia-drivers-dkms"
-+PACKAGE_VERSION="440.82"
++PACKAGE_VERSION="455.45.01"
AUTOINSTALL="yes"
# By default, DKMS will add KERNELRELEASE to the make command line; however,
@@ -26,3 +25,16 @@ diff -Nur a/kernel/dkms.conf b/kernel/dkms.conf
+BUILT_MODULE_NAME[3]="nvidia-drm"
+DEST_MODULE_LOCATION[3]="/extra/dkms"
+
+--- a/kernel/nvidia-modeset/nvidia-modeset-linux.c 2020-11-05 23:19:28.000000000 +0000
++++ b/kernel/nvidia-modeset/nvidia-modeset-linux.c 2020-12-31 22:27:16.878028504 +0000
+@@ -282,8 +282,8 @@
+ * are called while nvkms_lock is held.
+ *************************************************************************/
+
+-/* Don't use kmalloc for allocations larger than 128k */
+-#define KMALLOC_LIMIT (128 * 1024)
++/* Don't use kmalloc for allocations larger than one page */
++#define KMALLOC_LIMIT PAGE_SIZE
+
+ void* NVKMS_API_CALL nvkms_alloc(size_t size, NvBool zero)
+ {