Author: leigh123linux
Update of /cvs/nonfree/rpms/nvidia-kmod/F-20
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv24224
Added Files:
3.18_kernel.patch
Log Message:
* Sat Dec 20 2014 Leigh Scott <leigh123linux(a)googlemail.com> - 1:331.113-1
- Update to 331.113 release
- Patch for 3.18 kernel
3.18_kernel.patch:
nv-drm.c | 7 +++++++
1 file changed, 7 insertions(+)
--- NEW FILE 3.18_kernel.patch ---
--- a/kernel/nv-drm.c 2014-12-02 04:00:00.000000000 +0000
+++ b/kernel/nv-drm.c 2014-12-20 09:48:18.758497791 +0000
@@ -17,6 +17,9 @@
#if defined(NV_DRM_AVAILABLE)
#include <drm/drmP.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,18,0)
+#include <drm/drm_gem.h>
+#endif
extern nv_linux_state_t *nv_linux_devices;
@@ -124,6 +127,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",