summaryrefslogtreecommitdiff
path: root/sys-kernel/nvidia-drivers-dkms/files/390-kernel6.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-16 19:17:05 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-16 19:17:05 +0100
commitf863834617633f023f3dd1157298e4677e94a8b6 (patch)
tree8f0647b80f1bb122f7652c336890acfc69b29260 /sys-kernel/nvidia-drivers-dkms/files/390-kernel6.patch
parent07a57b42a0b763127bd2dc4a7fc9f1d15179cad6 (diff)
sys-kernel/nvidia-drivers-dkms (390 & 470) : fix patch hunks
Diffstat (limited to 'sys-kernel/nvidia-drivers-dkms/files/390-kernel6.patch')
-rw-r--r--sys-kernel/nvidia-drivers-dkms/files/390-kernel6.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys-kernel/nvidia-drivers-dkms/files/390-kernel6.patch b/sys-kernel/nvidia-drivers-dkms/files/390-kernel6.patch
index a8cf8d7c..ec5b2542 100644
--- a/sys-kernel/nvidia-drivers-dkms/files/390-kernel6.patch
+++ b/sys-kernel/nvidia-drivers-dkms/files/390-kernel6.patch
@@ -9,10 +9,10 @@ Subject: [PATCH] Tentative fix for NVIDIA 470.141.03 driver for Linux 6.0-rc1
nvidia/nv.c | 3 ++-
3 files changed, 11 insertions(+), 2 deletions(-)
-diff --git a/nvidia-drm/nvidia-drm-helper.c b/nvidia-drm/nvidia-drm-helper.c
+diff --git a/kernel/nvidia-drm/nvidia-drm-helper.c b/kernel/nvidia-drm/nvidia-drm-helper.c
index 3831180..fa03d51 100644
---- a/nvidia-drm/nvidia-drm-helper.c
-+++ b/nvidia-drm/nvidia-drm-helper.c
+--- a/kernel/nvidia-drm/nvidia-drm-helper.c
++++ b/kernel/nvidia-drm/nvidia-drm-helper.c
@@ -41,6 +41,11 @@
#include <drm/drm_atomic_uapi.h>
#endif
@@ -25,10 +25,10 @@ index 3831180..fa03d51 100644
static void __nv_drm_framebuffer_put(struct drm_framebuffer *fb)
{
#if defined(NV_DRM_FRAMEBUFFER_GET_PRESENT)
-diff --git a/nvidia/nv-acpi.c b/nvidia/nv-acpi.c
+diff --git a/kernel/nvidia/nv-acpi.c b/kernel/nvidia/nv-acpi.c
index 2b7b988..76c36fa 100644
---- a/nvidia/nv-acpi.c
-+++ b/nvidia/nv-acpi.c
+--- a/kernel/nvidia/nv-acpi.c
++++ b/kernel/nvidia/nv-acpi.c
@@ -16,7 +16,10 @@
#include <linux/acpi.h>