diff options
author | Britney Fransen <brfransen@gmail.com> | 2015-01-03 02:20:14 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2015-01-03 02:20:14 (GMT) |
commit | 0f7794af2e418e80ec2a9752326c6d7d98abb0d6 (patch) | |
tree | 00cee86fa6459a6847d43195dcb404d3b945a47b /abs/core/nvidia-340xx/nv-drm.patch | |
parent | 5600de9fc4ff3949c14fb1124ee893c23aad32a4 (diff) | |
download | linhes_pkgbuild-0f7794af2e418e80ec2a9752326c6d7d98abb0d6.zip linhes_pkgbuild-0f7794af2e418e80ec2a9752326c6d7d98abb0d6.tar.gz linhes_pkgbuild-0f7794af2e418e80ec2a9752326c6d7d98abb0d6.tar.bz2 |
nvidia-340xx: initial inclusion 340.65
Diffstat (limited to 'abs/core/nvidia-340xx/nv-drm.patch')
-rw-r--r-- | abs/core/nvidia-340xx/nv-drm.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/abs/core/nvidia-340xx/nv-drm.patch b/abs/core/nvidia-340xx/nv-drm.patch new file mode 100644 index 0000000..4c6a393 --- /dev/null +++ b/abs/core/nvidia-340xx/nv-drm.patch @@ -0,0 +1,27 @@ +--- kernel/nv-drm.c~ 2014-09-12 00:33:06.000000000 +0200 ++++ kernel/nv-drm.c 2014-10-14 11:35:52.854400737 +0200 +@@ -18,6 +18,11 @@ + + #include <drm/drmP.h> + ++/* 3.18-rc0+ */ ++#ifndef drm_gem_object ++#include <drm/drm_gem.h> ++#endif ++ + extern nv_linux_state_t *nv_linux_devices; + + struct nv_gem_object { +diff --git a/kernel/nv-drm.c~ b/kernel/nv-drm.c +index ecc982a..60d7aae 100644 +--- kernel/nv-drm.c~ ++++ kernel/nv-drm.c +@@ -129,6 +129,8 @@ static struct drm_driver nv_drm_driver = { + .gem_prime_vmap = nv_gem_prime_vmap, + .gem_prime_vunmap = nv_gem_prime_vunmap, + ++ .set_busid = drm_pci_set_busid, ++ + .name = "nvidia-drm", + .desc = "NVIDIA DRM driver", + .date = "20130102", |