void-packages/srcpkgs/nvidia/files/linux-3.18.patch
Juan RP 4f8c78048d nvidia: build the nvidia-uvm kernel module required by CUDA.
Also re-add the 3.18 patch, this seems to be still necessary.

Close #935
2015-01-29 10:44:54 +01:00

13 lines
455 B
Diff

--- kernel/nv-drm.c 2014-11-08 00:57:53.000000000 +0100
+++ kernel/nv-drm.c 2014-11-13 21:03:37.589650873 +0100
@@ -128,6 +128,10 @@ static struct drm_driver nv_drm_driver =
.gem_prime_vmap = nv_gem_prime_vmap,
.gem_prime_vunmap = nv_gem_prime_vunmap,
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 0)
+ .set_busid = drm_pci_set_busid,
+#endif
+
.name = "nvidia-drm",
.desc = "NVIDIA DRM driver",
.date = "20130102",