diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-16 19:04:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-16 19:04:04 +0100 |
commit | 73b6dcbef81db994f790d20d5cc3838974032fbb (patch) | |
tree | f3ec4ca748da2ba2df5200405cfd99d80fdaf42c /sys-kernel/nvidia-drivers-dkms/files | |
parent | 2267a871d927432c30d4694c22b16b67c18e6cf6 (diff) |
sys-kernel/nvidia-drivers-dkms (515) : kernel 6.0 compatibility
Diffstat (limited to 'sys-kernel/nvidia-drivers-dkms/files')
-rw-r--r-- | sys-kernel/nvidia-drivers-dkms/files/515-kernel6.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sys-kernel/nvidia-drivers-dkms/files/515-kernel6.patch b/sys-kernel/nvidia-drivers-dkms/files/515-kernel6.patch new file mode 100644 index 00000000..71470fd0 --- /dev/null +++ b/sys-kernel/nvidia-drivers-dkms/files/515-kernel6.patch @@ -0,0 +1,28 @@ +diff -Nur a/kernel/nvidia-drm/nvidia-drm-helper.c b/kernel/nvidia-drm/nvidia-drm-helper.c +--- a/kernel/nvidia-drm/nvidia-drm-helper.c 2022-07-20 14:42:53.000000000 +0100 ++++ b/kernel/nvidia-drm/nvidia-drm-helper.c 2022-10-16 19:00:47.687049510 +0100 +@@ -41,6 +41,10 @@ + #include <drm/drm_atomic_uapi.h> + #endif + ++#if defined(NV_DRM_FRAMEBUFFER_GET_PRESENT) ++#include <drm/drm_framebuffer.h> ++#endif ++ + static void __nv_drm_framebuffer_put(struct drm_framebuffer *fb) + { + #if defined(NV_DRM_FRAMEBUFFER_GET_PRESENT) +diff -Nur a/kernel-open/nvidia-drm/nvidia-drm-helper.c b/kernel-open/nvidia-drm/nvidia-drm-helper.c +--- a/kernel-open/nvidia-drm/nvidia-drm-helper.c 2022-07-20 14:43:40.000000000 +0100 ++++ b/kernel-open/nvidia-drm/nvidia-drm-helper.c 2022-10-16 19:00:47.687049510 +0100 +@@ -41,6 +41,10 @@ + #include <drm/drm_atomic_uapi.h> + #endif + ++#if defined(NV_DRM_FRAMEBUFFER_GET_PRESENT) ++#include <drm/drm_framebuffer.h> ++#endif ++ + static void __nv_drm_framebuffer_put(struct drm_framebuffer *fb) + { + #if defined(NV_DRM_FRAMEBUFFER_GET_PRESENT) |