aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorLenard Spencer <lenardrspencer@gmail.com>2022-09-24 22:54:25 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-09-25 13:59:47 +0700
commit35247c64f8b305875aa23218ed9c405b48d63ae8 (patch)
tree98acaab9a873ffff20eb93fe2a6a156356b3131f /system
parentc6b8cacaa8bb8a3b5ba3f5639bb0b1fdb15de687 (diff)
system/nvidia-kernel: Updated for version 515.76.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/nvidia-kernel/nvidia-kernel-6.0.patch15
-rw-r--r--system/nvidia-kernel/nvidia-kernel.SlackBuild7
-rw-r--r--system/nvidia-kernel/nvidia-kernel.info6
3 files changed, 5 insertions, 23 deletions
diff --git a/system/nvidia-kernel/nvidia-kernel-6.0.patch b/system/nvidia-kernel/nvidia-kernel-6.0.patch
deleted file mode 100644
index 58d69c515eb5b..0000000000000
--- a/system/nvidia-kernel/nvidia-kernel-6.0.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff -Nur kernel.orig/nvidia-drm/nvidia-drm-helper.h kernel/nvidia-drm/nvidia-drm-helper.h
---- a/kernel/nvidia-drm/nvidia-drm-helper.h 2022-07-20 09:42:52.000000000 -0400
-+++ b/kernel/nvidia-drm/nvidia-drm-helper.h 2022-09-07 20:36:36.725936810 -0400
-@@ -109,6 +109,11 @@
- */
- #include <drm/drm_crtc.h>
-
-+#include <linux/version.h>
-+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 0, 0))
-+#include <drm/drm_framebuffer.h>
-+#endif
-+
- #if defined(drm_for_each_plane)
- #define nv_drm_for_each_plane(plane, dev) \
- drm_for_each_plane(plane, dev)
diff --git a/system/nvidia-kernel/nvidia-kernel.SlackBuild b/system/nvidia-kernel/nvidia-kernel.SlackBuild
index 95530cc89f888..c5bebcba7c54f 100644
--- a/system/nvidia-kernel/nvidia-kernel.SlackBuild
+++ b/system/nvidia-kernel/nvidia-kernel.SlackBuild
@@ -29,8 +29,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nvidia-kernel
-VERSION=${VERSION:-515.65.01}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-515.76}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -85,9 +85,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Patch for 6.0 kernel:
-patch -p1 < $CWD/nvidia-kernel-6.0.patch
-
(cd kernel || exit 1
# CC=${CC:-gcc} suppresses an otherwise harmless "compiler mismatch"
diff --git a/system/nvidia-kernel/nvidia-kernel.info b/system/nvidia-kernel/nvidia-kernel.info
index c7940556af08e..4b2101ee790c1 100644
--- a/system/nvidia-kernel/nvidia-kernel.info
+++ b/system/nvidia-kernel/nvidia-kernel.info
@@ -1,10 +1,10 @@
PRGNAM="nvidia-kernel"
-VERSION="515.65.01"
+VERSION="515.76"
HOMEPAGE="http://www.nvidia.com"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://download.nvidia.com/XFree86/Linux-x86_64/515.65.01/NVIDIA-Linux-x86_64-515.65.01.run"
-MD5SUM_x86_64="f6b65ce83a18f224c493e58bcbe06672"
+DOWNLOAD_x86_64="https://download.nvidia.com/XFree86/Linux-x86_64/515.76/NVIDIA-Linux-x86_64-515.76.run"
+MD5SUM_x86_64="1e740900bf47cf4574e95702125f1898"
REQUIRES=""
MAINTAINER="Lenard Spencer"
EMAIL="lenardrspencer@gmail.com"