[nvidia-kmod] tweak patch
by Leigh Scott
commit 13088fe5d991544d1a8b52f690783eb9aef239fe
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Mon Sep 30 07:40:38 2019 +0100
tweak patch
linux_5.4.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/linux_5.4.patch b/linux_5.4.patch
index 775f9f2..d7179a7 100644
--- a/linux_5.4.patch
+++ b/linux_5.4.patch
@@ -5,7 +5,7 @@
static struct drm_driver nv_drm_driver = {
+#include <linux/version.h>
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0)
+ .driver_features = DRIVER_GEM | DRIVER_RENDER,
+#else
.driver_features = DRIVER_GEM | DRIVER_PRIME | DRIVER_RENDER,
5 years, 2 months
[nvidia-kmod] Patch for 5.4 pre rc kernel
by Leigh Scott
commit 4504b7ed4651d4958b7802bf816c60b7f7b62844
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Mon Sep 30 07:39:52 2019 +0100
Patch for 5.4 pre rc kernel
linux_5.4.patch | 16 ++++++++++++++++
nvidia-kmod.spec | 7 ++++++-
2 files changed, 22 insertions(+), 1 deletion(-)
---
diff --git a/linux_5.4.patch b/linux_5.4.patch
new file mode 100644
index 0000000..775f9f2
--- /dev/null
+++ b/linux_5.4.patch
@@ -0,0 +1,16 @@
+--- a/kernel/nvidia-drm/nvidia-drm-drv.c
++++ b/kernel/nvidia-drm/nvidia-drm-drv.c
+@@ -659,7 +659,12 @@
+
+ static struct drm_driver nv_drm_driver = {
+
++#include <linux/version.h>
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0)
++ .driver_features = DRIVER_GEM | DRIVER_RENDER,
++#else
+ .driver_features = DRIVER_GEM | DRIVER_PRIME | DRIVER_RENDER,
++#endif
+
+ .gem_free_object = nv_drm_gem_free,
+
+
diff --git a/nvidia-kmod.spec b/nvidia-kmod.spec
index 69f300c..8361547 100644
--- a/nvidia-kmod.spec
+++ b/nvidia-kmod.spec
@@ -12,12 +12,13 @@ Name: nvidia-kmod
Epoch: 3
Version: 435.21
# 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/
Source11: nvidia-kmodtool-excludekernel-filterfile
+Patch0: linux_5.4.patch
# needed for plague to make sure it builds for i586 and i686
ExclusiveArch: x86_64
@@ -41,6 +42,7 @@ kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name} --filterf
%setup -T -c
tar --use-compress-program xz -xf %{_datadir}/%{name}-%{version}/%{name}-%{version}-%{_target_cpu}.tar.xz
# patch loop
+%patch0 -p1
for kernel_version in %{?kernel_versions} ; do
cp -a kernel _kmod_build_${kernel_version%%___*}
@@ -68,6 +70,9 @@ done
%changelog
+* Mon Sep 30 2019 Leigh Scott <leigh123linux(a)googlemail.com> - 3:435.21-2
+- Patch for 5.4 pre rc kernel
+
* Fri Aug 30 2019 Leigh Scott <leigh123linux(a)googlemail.com> - 3:435.21-1
- Update to 435.21 release
5 years, 2 months
[mythtv/f29] (14 commits) ...Add obsoletes for python2-MythTV, fixes RFBZ#5388.
by Richard Shaw
Summary of changes:
dc5dc88... Add patch for PHP 7.2 on MythBackend.php. (*)
953f415... rebuilt (*)
9e0565f... Apply fix for php 7.2. (*)
b0be176... Merge branch 'master' of ssh://pkgs.rpmfusion.org/free/myth (*)
4706a9f... - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass (*)
415d065... Use Python3 on Fedora 31+ (*)
3e93708... Deprecate old script (*)
cb5bf3d... Fix Python builds (*)
f25cca2... Fix Python binding conditional macro (*)
37fd45c... Update to v30.0-69-g5cde0578d8. Initial update for Python 3 (*)
c9dd4a2... Update to v30.0-69-g5cde0578d8. Initial update for Python 3 (*)
bd44a6b... Re-add mythwikiscripts as it is being installed again for s (*)
072f9be... Fix packaging for backend only systems. (*)
a3f6c00... Add obsoletes for python2-MythTV, fixes RFBZ#5388. (*)
(*) This commit already existed in another branch; no separate mail sent
5 years, 2 months
[mythtv/f30: 2/2] Merge branch 'master' into f30
by Richard Shaw
commit 796576e8f2a32efd1c93336de9ffbc27d600bba0
Merge: fd0e8d5 a3f6c00
Author: Richard Shaw <hobbes1069(a)gmail.com>
Date: Sun Sep 29 17:42:24 2019 -0500
Merge branch 'master' into f30
mythtv.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
5 years, 2 months