aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drmP.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-03-09 10:56:52 +1000
committerDave Airlie <airlied@redhat.com>2010-08-04 09:46:06 +1000
commitba4420c224c2808f2661cf8428f43ceef7a73a4a (patch)
tree67b32498483c797c76e8f504a83746bdef35db7d /include/drm/drmP.h
parent2581afccadd347bf97c3a5620ba72c99aca8c355 (diff)
downloadmrst-s0i3-test-ba4420c224c2808f2661cf8428f43ceef7a73a4a.tar.gz
mrst-s0i3-test-ba4420c224c2808f2661cf8428f43ceef7a73a4a.tar.xz
mrst-s0i3-test-ba4420c224c2808f2661cf8428f43ceef7a73a4a.zip
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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 04b564bfc4a..53017ba0ab7 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)
{