diff options
author | Lenard Spencer <lenardrspencer@gmail.com> | 2022-09-08 22:55:26 +0100 |
---|---|---|
committer | Dave Woodfall <dave@slackbuilds.org> | 2022-09-08 22:57:39 +0100 |
commit | 411744566f2b51f269177d41bab97cbad9cfa20c (patch) | |
tree | b9cffbd29331e7141a41343dc7a70bcc220c0cb2 /system/nvidia-open-kernel | |
parent | 78807236efaa1be2dee666592972ad5be1092d64 (diff) | |
download | slackbuilds-411744566f2b51f269177d41bab97cbad9cfa20c.tar.gz |
system/nvidia-open-kernel: New upstream patch.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Diffstat (limited to 'system/nvidia-open-kernel')
-rw-r--r-- | system/nvidia-open-kernel/nvidia-open-kernel-6.0.patch | 18 | ||||
-rw-r--r-- | system/nvidia-open-kernel/nvidia-open-kernel.SlackBuild | 2 |
2 files changed, 13 insertions, 7 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 index f3d780c026..047d6784ec 100644 --- a/system/nvidia-open-kernel/nvidia-open-kernel-6.0.patch +++ b/system/nvidia-open-kernel/nvidia-open-kernel-6.0.patch @@ -1,9 +1,15 @@ ---- a/kernel-open/nvidia-drm/nvidia-drm-helper.c 2022-07-20 16:42:53.000000000 +0300 -+++ b/kernel-open/nvidia-drm/nvidia-drm-helper.c 2022-08-20 16:32:34.836742336 +0300 -@@ -28,6 +28,7 @@ +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 "nvidia-drm-helper.h" ++#include <linux/version.h> ++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 0, 0)) +#include <drm/drm_framebuffer.h> - - #include "nvmisc.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 578216e2ce..322368dc89 100644 --- a/system/nvidia-open-kernel/nvidia-open-kernel.SlackBuild +++ b/system/nvidia-open-kernel/nvidia-open-kernel.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=nvidia-open-kernel VERSION=${VERSION:-515.65.01} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} |