]> git.pld-linux.org Git - packages/xorg-driver-video-nvidia-legacy-390xx.git/blame - kernel-6.8.patch
- fix builing with kernel 6.8
[packages/xorg-driver-video-nvidia-legacy-390xx.git] / kernel-6.8.patch
CommitLineData
78b7ad69
JR
1--- NVIDIA-Linux-x86_64-390.157-no-compat32/kernel/nvidia-drm/nvidia-drm-drv.c~ 2024-03-17 23:33:31.000000000 +0100
2+++ NVIDIA-Linux-x86_64-390.157-no-compat32/kernel/nvidia-drm/nvidia-drm-drv.c 2024-03-17 23:46:53.389849541 +0100
3@@ -651,6 +651,9 @@
4 .llseek = noop_llseek,
5 };
6
7+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 8, 0)
8+#define DRM_UNLOCKED 0
9+#endif
10 static const struct drm_ioctl_desc nv_drm_ioctls[] = {
11 #if defined(NV_DRM_ATOMIC_MODESET_AVAILABLE)
12 DRM_IOCTL_DEF_DRV(NVIDIA_GEM_IMPORT_NVKMS_MEMORY,
This page took 0.639723 seconds and 4 git commands to generate.