diff options
author | Lenard Spencer <lenardrspencer@gmail.com> | 2022-08-12 04:57:53 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-08-13 10:40:36 +0700 |
commit | e0641e129361ff786d6a8e1d414960307216ab8a (patch) | |
tree | c49fc04874ab6594b6137aae58305354fa514413 /system/nvidia-legacy470-kernel | |
parent | bacfcd3420d6728e8a877b203f9171daef7bc3a0 (diff) |
system/nvidia-legacy470-kernel: Updated for version 470.141.03.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/nvidia-legacy470-kernel')
3 files changed, 6 insertions, 38 deletions
diff --git a/system/nvidia-legacy470-kernel/nvidia-fix-linux-5.19.patch b/system/nvidia-legacy470-kernel/nvidia-fix-linux-5.19.patch deleted file mode 100644 index 50f46efc2a7ad..0000000000000 --- a/system/nvidia-legacy470-kernel/nvidia-fix-linux-5.19.patch +++ /dev/null @@ -1,29 +0,0 @@ -From cc4acfadcd71ee07c8d1b29411620a79451780b9 Mon Sep 17 00:00:00 2001 -From: Joan Bruguera <joanbrugueram@gmail.com> -Date: Wed, 13 Apr 2022 21:21:13 +0200 -Subject: [PATCH] Buildfix NVIDIA 470.129.06 for Linux 5.19-rc1 - ---- - nvidia-drm/nvidia-dma-resv-helper.h | 9 +++++++++ - 1 file changed, 9 insertions(+) - -diff --git a/nvidia-drm/nvidia-dma-resv-helper.h b/nvidia-drm/nvidia-dma-resv-helper.h -index ad8800d..65ea1f8 100644 ---- a/nvidia-drm/nvidia-dma-resv-helper.h -+++ b/nvidia-drm/nvidia-dma-resv-helper.h -@@ -39,6 +39,15 @@ - #include <linux/reservation.h> - #endif - -+#include <linux/version.h> -+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 19, 0)) -+// Rel. commit "dma-buf: specify usage while adding fences to dma_resv obj v7" (Christian König, 9 Nov 2021) -+static inline void dma_resv_add_excl_fence(struct dma_resv *obj, struct dma_fence *fence) -+{ -+ dma_resv_add_fence(obj, fence, DMA_RESV_USAGE_WRITE); -+} -+#endif -+ - #include <nvidia-dma-fence-helper.h> - - #if defined(NV_LINUX_DMA_RESV_H_PRESENT) diff --git a/system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.SlackBuild b/system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.SlackBuild index 568a57af4bb0f..be63ffdc72b9e 100644 --- a/system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.SlackBuild +++ b/system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.SlackBuild @@ -29,8 +29,8 @@ # see nvidia-driver/changelog.txt PRGNAM=nvidia-legacy470-kernel -VERSION=${VERSION:-470.129.06} -BUILD=${BUILD:-2} +VERSION=${VERSION:-470.141.03} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -86,10 +86,7 @@ find -L . \ (cd kernel || exit 1 - unset arch - -# Patch for 5.19 kernel - patch -p1 < $CWD/nvidia-fix-linux-5.19.patch + unset ARCH # CC=${CC:-gcc} suppresses an otherwise harmless "compiler mismatch" # message. If you custom-build your kernel with clang, diff --git a/system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.info b/system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.info index 62f71889b9a1d..a4d588b80bd38 100644 --- a/system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.info +++ b/system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.info @@ -1,10 +1,10 @@ PRGNAM="nvidia-legacy470-kernel" -VERSION="470.129.06" +VERSION="470.141.03" HOMEPAGE="http://www.nvidia.com" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://download.nvidia.com/XFree86/Linux-x86_64/470.129.06/NVIDIA-Linux-x86_64-470.129.06.run" -MD5SUM_x86_64="1a9c8ad241e693dcdafc62c37e7c1cdc" +DOWNLOAD_x86_64="https://download.nvidia.com/XFree86/Linux-x86_64/470.141.03/NVIDIA-Linux-x86_64-470.141.03.run" +MD5SUM_x86_64="ff6d869676ddfd7852aa7de77d7a0eb9" REQUIRES="" MAINTAINER="Lenard Spencer" EMAIL="lenardrspencer@gmail.com" |