Created
March 28, 2025 00:00
-
-
Save vejeta/213ed38a89e8f08cfc1341c7d9bad251 to your computer and use it in GitHub Desktop.
Tentative patch for nvidia-340xx for Linux Kernel 6.14.x in Debian
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- nvidia-legacy-340xx-340.108/nv-drm.c 2025-03-28 00:40:02.145469312 +0100 | |
+++ b/nv-drm.c 2025-03-28 00:32:41.586697382 +0100 | |
@@ -198,7 +198,10 @@ | |
.name = "nvidia-drm", | |
.desc = "NVIDIA DRM driver", | |
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 14, 0) | |
+ // Rel. commit. "drm: remove driver date from struct drm_driver and all drivers" (Jani Nikula, 4 Dec 2024) | |
.date = "20150116", | |
+#endif | |
.major = 0, | |
.minor = 0, | |
.patchlevel = 0, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Copy it to: /usr/src/nvidia-legacy-340xx-340.108/patches and
adding the file name "
nvidia-340xx-fix-linux-6.14.0.patch "
to line 12 at the end of the line in /usr/src/nvidia-legacy-340xx-340.108/dkms.conf
like:
PATCH=(... nvidia-340xx-fix-linux-6.14.0.patch)
Then, proceed reinstalling the debian kernel package as usual