commit 1db64215bfa478c1db3dd5bada2d9d1363a6ad44
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu May 12 10:37:12 2022 +0100
kernel-open isn't ready for main stream use
nvidia-kmod-pci-request-regions.patch | 6 +++---
nvidia-kmod-simpledrm.patch | 8 ++++----
nvidia-kmod.spec | 7 +++++--
3 files changed, 12 insertions(+), 9 deletions(-)
---
diff --git a/nvidia-kmod-pci-request-regions.patch
b/nvidia-kmod-pci-request-regions.patch
index 3f67ac3..8bc66a0 100644
--- a/nvidia-kmod-pci-request-regions.patch
+++ b/nvidia-kmod-pci-request-regions.patch
@@ -1,6 +1,6 @@
-diff -up kernel-open/nvidia/linux_nvswitch.c.orig kernel-open/nvidia/linux_nvswitch.c
---- kernel-open/nvidia/linux_nvswitch.c.orig 2021-12-31 13:53:49.000000000 +0100
-+++ kernel-open/nvidia/linux_nvswitch.c 2022-01-19 13:17:53.955709286 +0100
+diff -up kernel/nvidia/linux_nvswitch.c.orig kernel/nvidia/linux_nvswitch.c
+--- kernel/nvidia/linux_nvswitch.c.orig 2021-12-31 13:53:49.000000000 +0100
++++ kernel/nvidia/linux_nvswitch.c 2022-01-19 13:17:53.955709286 +0100
@@ -1320,6 +1320,9 @@ nvswitch_probe
pci_set_master(pci_dev);
diff --git a/nvidia-kmod-simpledrm.patch b/nvidia-kmod-simpledrm.patch
index 70bc0ae..3ac1479 100644
--- a/nvidia-kmod-simpledrm.patch
+++ b/nvidia-kmod-simpledrm.patch
@@ -16,13 +16,13 @@ early fbdev (i.e: simpledrm) to the one registered by the real DRM
drivers.
Signed-off-by: Javier Martinez Canillas <javierm(a)redhat.com>
---
- kernel-open/nvidia-drm/nvidia-drm-drv.c | 16 ++++++++++++++++
+ kernel/nvidia-drm/nvidia-drm-drv.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
-diff --git a/kernel-open/nvidia-drm/nvidia-drm-drv.c
b/kernel-open/nvidia-drm/nvidia-drm-drv.c
+diff --git a/kernel/nvidia-drm/nvidia-drm-drv.c b/kernel/nvidia-drm/nvidia-drm-drv.c
index 0d29d1d6bf4d..9149f87b6244 100644
---- a/kernel-open/nvidia-drm/nvidia-drm-drv.c
-+++ b/kernel-open/nvidia-drm/nvidia-drm-drv.c
+--- a/kernel/nvidia-drm/nvidia-drm-drv.c
++++ b/kernel/nvidia-drm/nvidia-drm-drv.c
@@ -60,6 +60,8 @@
#include <drm/drm_ioctl.h>
#endif
diff --git a/nvidia-kmod.spec b/nvidia-kmod.spec
index 943a085..ccf0328 100644
--- a/nvidia-kmod.spec
+++ b/nvidia-kmod.spec
@@ -12,7 +12,7 @@ Name: nvidia-kmod
Epoch: 3
Version: 515.43.04
# Taken over by kmodtool
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: NVIDIA display driver kernel module
License: Redistributable, no modification permitted
URL:
http://www.nvidia.com/
@@ -49,7 +49,7 @@ tar --use-compress-program xz -xf
%{_datadir}/%{name}-%{version}/%{name}-%{versi
%endif
for kernel_version in %{?kernel_versions} ; do
- cp -a kernel-open _kmod_build_${kernel_version%%___*}
+ cp -a kernel _kmod_build_${kernel_version%%___*}
done
%build
@@ -81,6 +81,9 @@ done
%changelog
+* Thu May 12 2022 Leigh Scott <leigh123linux(a)gmail.com> - 3:515.43.04-2
+- kernel-open isn't ready for main stream use
+
* Wed May 11 2022 Leigh Scott <leigh123linux(a)gmail.com> - 3:515.43.04-1
- Update to 515.43.04 beta