diff options
author | Rob Clark <rob@ti.com> | 2011-08-10 15:09:07 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-08-30 12:06:06 +0200 |
commit | 75ef8b3b9c0b76eb5a16cd838cb99a7deecceb85 (patch) | |
tree | 1d6a3762bbc157fe3fc65982f42452c97d539d4f /include/drm/drmP.h | |
parent | drm/radeon/kms: add s/r quirk for Compaq Presario V5245EU (diff) | |
download | linux-75ef8b3b9c0b76eb5a16cd838cb99a7deecceb85.tar.xz linux-75ef8b3b9c0b76eb5a16cd838cb99a7deecceb85.zip |
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.h | 3 |
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); |