diff options
author | Lenard Spencer <lenardrspencer@gmail.com> | 2022-09-24 23:18:53 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-09-24 23:18:53 +0700 |
commit | 1df58fe33c351f601812b96c235e40efd02e18df (patch) | |
tree | 97c3bf04f5e0311c5f438ded668fb103f96ab85c /system/nvidia-open-kernel | |
parent | 231238b077379cf2750505a5b79120343507d9e7 (diff) |
system/nvidia-open-kernel: Updated for version 515.76.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/nvidia-open-kernel')
-rw-r--r-- | system/nvidia-open-kernel/nvidia-open-kernel-6.0.patch | 15 | ||||
-rw-r--r-- | system/nvidia-open-kernel/nvidia-open-kernel.SlackBuild | 7 | ||||
-rw-r--r-- | system/nvidia-open-kernel/nvidia-open-kernel.info | 6 |
3 files changed, 5 insertions, 23 deletions
diff --git a/system/nvidia-open-kernel/nvidia-open-kernel-6.0.patch b/system/nvidia-open-kernel/nvidia-open-kernel-6.0.patch deleted file mode 100644 index 047d6784ec24..000000000000 --- a/system/nvidia-open-kernel/nvidia-open-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-open/nvidia-drm/nvidia-drm-helper.h 2022-07-20 09:42:52.000000000 -0400 -+++ b/kernel-open/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-open-kernel/nvidia-open-kernel.SlackBuild b/system/nvidia-open-kernel/nvidia-open-kernel.SlackBuild index 322368dc8939..f85c086836b2 100644 --- a/system/nvidia-open-kernel/nvidia-open-kernel.SlackBuild +++ b/system/nvidia-open-kernel/nvidia-open-kernel.SlackBuild @@ -27,8 +27,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=nvidia-open-kernel -VERSION=${VERSION:-515.65.01} -BUILD=${BUILD:-3} +VERSION=${VERSION:-515.76} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -83,9 +83,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-open-kernel-6.0.patch - # CC=${CC:-gcc} suppresses an otherwise harmless "compiler mismatch" # message. If you custom-build your kernel with clang, # then pass CC=clang to this script. diff --git a/system/nvidia-open-kernel/nvidia-open-kernel.info b/system/nvidia-open-kernel/nvidia-open-kernel.info index cec07821eaf6..16756f73c4de 100644 --- a/system/nvidia-open-kernel/nvidia-open-kernel.info +++ b/system/nvidia-open-kernel/nvidia-open-kernel.info @@ -1,10 +1,10 @@ PRGNAM="nvidia-open-kernel" -VERSION="515.65.01" +VERSION="515.76" HOMEPAGE="https://github.com/NVIDIA/open-gpu-kernel-modules/" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-515.65.01.tar.xz" -MD5SUM_x86_64="ecab531eff6da633fa0715edca39cec5" +DOWNLOAD_x86_64="https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-515.76.tar.xz" +MD5SUM_x86_64="1b8f9e27a2de0e3e5a1e8992760c16eb" REQUIRES="" MAINTAINER="Lenard Spencer" EMAIL="lenardrspencer@gmail.com" |