summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorRob Clark <rob@ti.com>2011-08-10 17:09:07 +0400
committerDave Airlie <airlied@redhat.com>2011-08-30 14:06:06 +0400
commit75ef8b3b9c0b76eb5a16cd838cb99a7deecceb85 (patch)
tree1d6a3762bbc157fe3fc65982f42452c97d539d4f /include/drm
parent302a8e8b06d312dcb3b718dfeb42aa912b5f426b (diff)
downloadlinux-75ef8b3b9c0b76eb5a16cd838cb99a7deecceb85.tar.xz
drm/gem: add functions for mmap offset creation
Signed-off-by: Rob Clark <rob@ti.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drmP.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 9b7c2bb4bb44..43538b643560 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -1624,6 +1624,9 @@ drm_gem_object_handle_unreference_unlocked(struct drm_gem_object *obj)
drm_gem_object_unreference_unlocked(obj);
}
+void drm_gem_free_mmap_offset(struct drm_gem_object *obj);
+int drm_gem_create_mmap_offset(struct drm_gem_object *obj);
+
struct drm_gem_object *drm_gem_object_lookup(struct drm_device *dev,
struct drm_file *filp,
u32 handle);