Skip to content

Instantly share code, notes, and snippets.

View Mumuskeh's full-sized avatar

Mumuskeh

View GitHub Profile
@joanbm
joanbm / nvidia-470xx-fix-linux-6.15.patch
Last active August 6, 2025 13:51
Tentative fix for NVIDIA 470.256.02 driver for Linux 6.15-rc1
From c9a877ea48935bb40597cc2e7d88b0035a27e6f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joan=20Bruguera=20Mic=C3=B3?= <joanbrugueram@gmail.com>
Date: Sat, 12 Apr 2025 22:46:59 +0000
Subject: [PATCH] Tentative fix for NVIDIA 470.256.02 driver for Linux 6.15-rc1
The trickier part of this patch is that vm_flags_set and vm_flags_clear
depend on a GPL-only symbol (__vma_start_write) since Linux >=6.15.
In some situations (mainly nvidia_mmap_helper), we can replace it by
vm_flags_reset as the VMA gets locked by other previous calls.
@joanbm
joanbm / nvidia-470xx-fix-linux-6.14.patch
Created February 3, 2025 00:16
Tentative fix for NVIDIA 470.256.02 driver for Linux 6.14-rc1
From bee3ff1153f7b42491d2a0552d6f9a66a307ec1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joan=20Bruguera=20Mic=C3=B3?= <joanbrugueram@gmail.com>
Date: Sun, 15 Dec 2024 17:56:03 +0000
Subject: [PATCH] Tentative fix for NVIDIA 470.256.02 driver for Linux 6.14-rc1
---
nvidia-drm/nvidia-drm-drv.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/nvidia-drm/nvidia-drm-drv.c b/nvidia-drm/nvidia-drm-drv.c