aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drmP.h
diff options
context:
space:
mode:
authorRob Clark <rob@ti.com>2011-08-10 09:09:07 -0400
committerDave Airlie <airlied@redhat.com>2011-08-30 06:06:06 -0400
commit75ef8b3b9c0b76eb5a16cd838cb99a7deecceb85 (patch)
tree1d6a3762bbc157fe3fc65982f42452c97d539d4f /include/drm/drmP.h
parent302a8e8b06d312dcb3b718dfeb42aa912b5f426b (diff)
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/drmP.h')
-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)
1624 drm_gem_object_unreference_unlocked(obj); 1624 drm_gem_object_unreference_unlocked(obj);
1625} 1625}
1626 1626
1627void drm_gem_free_mmap_offset(struct drm_gem_object *obj);
1628int drm_gem_create_mmap_offset(struct drm_gem_object *obj);
1629
1627struct drm_gem_object *drm_gem_object_lookup(struct drm_device *dev, 1630struct drm_gem_object *drm_gem_object_lookup(struct drm_device *dev,
1628 struct drm_file *filp, 1631 struct drm_file *filp,
1629 u32 handle); 1632 u32 handle);