summaryrefslogtreecommitdiff
path: root/x11-drivers/nvidia-drivers/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-02-04 23:51:42 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-02-04 23:51:42 +0000
commitb1d96fb55f8022549fbd10bbcf26f285e2751c37 (patch)
treea778ef74ab4ea133be8a3c70a199b9ef4225e539 /x11-drivers/nvidia-drivers/files
parent76104ded5a9422b8be30d005b8d8aa1eeb7e2d05 (diff)
x11-drivers/nvidia-drivers : version bump (v460.39)
Diffstat (limited to 'x11-drivers/nvidia-drivers/files')
-rw-r--r--x11-drivers/nvidia-drivers/files/dkms.patch (renamed from x11-drivers/nvidia-drivers/files/nvidia-drivers-455.45.01-dkms-kmalloc.patch)15
-rw-r--r--x11-drivers/nvidia-drivers/files/locale.patch (renamed from x11-drivers/nvidia-drivers/files/nvidia-drivers-440.26-locale.patch)0
-rw-r--r--x11-drivers/nvidia-drivers/files/nvidia-drm-outputclass.conf4
3 files changed, 3 insertions, 16 deletions
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-drivers-455.45.01-dkms-kmalloc.patch b/x11-drivers/nvidia-drivers/files/dkms.patch
index c3e9fbfb..3485b3ea 100644
--- a/x11-drivers/nvidia-drivers/files/nvidia-drivers-455.45.01-dkms-kmalloc.patch
+++ b/x11-drivers/nvidia-drivers/files/dkms.patch
@@ -4,7 +4,7 @@
-PACKAGE_NAME="nvidia"
-PACKAGE_VERSION="__VERSION_STRING"
+PACKAGE_NAME="nvidia-drivers-dkms"
-+PACKAGE_VERSION="455.45.01"
++PACKAGE_VERSION="460.39"
AUTOINSTALL="yes"
# By default, DKMS will add KERNELRELEASE to the make command line; however,
@@ -25,16 +25,3 @@
+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)
- {
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-drivers-440.26-locale.patch b/x11-drivers/nvidia-drivers/files/locale.patch
index aa2a7434..aa2a7434 100644
--- a/x11-drivers/nvidia-drivers/files/nvidia-drivers-440.26-locale.patch
+++ b/x11-drivers/nvidia-drivers/files/locale.patch
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-drm-outputclass.conf b/x11-drivers/nvidia-drivers/files/nvidia-drm-outputclass.conf
index 9c36f59b..a94d18ca 100644
--- a/x11-drivers/nvidia-drivers/files/nvidia-drm-outputclass.conf
+++ b/x11-drivers/nvidia-drivers/files/nvidia-drm-outputclass.conf
@@ -3,6 +3,6 @@ Section "OutputClass"
MatchDriver "nvidia-drm"
Driver "nvidia"
Option "AllowEmptyInitialConfiguration"
- ModulePath "/usr/lib/nvidia/xorg"
- ModulePath "/usr/lib/xorg/modules"
+ ModulePath "/usr/lib64/nvidia/xorg"
+ ModulePath "/usr/lib64/xorg/modules"
EndSection