diff options
author | Dave Airlie <airlied@redhat.com> | 2010-03-09 10:56:52 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-08-04 09:46:06 +1000 |
commit | ba4420c224c2808f2661cf8428f43ceef7a73a4a (patch) | |
tree | 67b32498483c797c76e8f504a83746bdef35db7d /include/drm/drmP.h | |
parent | 2581afccadd347bf97c3a5620ba72c99aca8c355 (diff) | |
download | kernel_samsung_crespo-ba4420c224c2808f2661cf8428f43ceef7a73a4a.zip kernel_samsung_crespo-ba4420c224c2808f2661cf8428f43ceef7a73a4a.tar.gz kernel_samsung_crespo-ba4420c224c2808f2661cf8428f43ceef7a73a4a.tar.bz2 |
drm: move ttm global code to core drm
I wrote this for the prime sharing work, but I also noticed other external
non-upstream drivers from a large company carrying a similiar patch, so I
may as well ship it in master.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drmP.h')
-rw-r--r-- | include/drm/drmP.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 04b564b..53017ba 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -1453,6 +1453,8 @@ void drm_gem_vm_open(struct vm_area_struct *vma); void drm_gem_vm_close(struct vm_area_struct *vma); int drm_gem_mmap(struct file *filp, struct vm_area_struct *vma); +#include "drm_global.h" + static inline void drm_gem_object_reference(struct drm_gem_object *obj) { |