diff options
Diffstat (limited to 'sys-kernel/nvidia-drivers-dkms/files')
-rw-r--r-- | sys-kernel/nvidia-drivers-dkms/files/dkms.patch (renamed from sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-455.45.01-dkms-kmalloc.patch) | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-455.45.01-dkms-kmalloc.patch b/sys-kernel/nvidia-drivers-dkms/files/dkms.patch index c3e9fbfb..3485b3ea 100644 --- a/sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-455.45.01-dkms-kmalloc.patch +++ b/sys-kernel/nvidia-drivers-dkms/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) - { |