diff options
author | Dave Airlie <airlied@redhat.com> | 2013-06-11 02:14:21 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-06-11 02:14:21 +0400 |
commit | edee06b6f6b55c81c4cb78d0776d8ca01b05380d (patch) | |
tree | b2ed77452d8375d53a57012c0ff16affb7aef717 /include/drm/drmP.h | |
parent | d20d3174806ef6589cb912a488657d21fcd7ece2 (diff) | |
parent | 71d7282a0f1abb488e5be4d154893579624bc683 (diff) | |
download | linux-edee06b6f6b55c81c4cb78d0776d8ca01b05380d.tar.xz |
Merge branch 'drm/next' of git://linuxtv.org/pinchartl/fbdev into drm-next
GEM CMA PRIME support from Laurent.
* 'drm/next' of git://linuxtv.org/pinchartl/fbdev:
drm: GEM CMA: Add DRM PRIME support
drm: GEM CMA: Split object mapping into GEM mapping and CMA mapping
drm: GEM CMA: Split object creation into object alloc and DMA memory alloc
drm/omap: Use drm_gem_mmap_obj() to implement dma-buf mmap
drm/gem: Split drm_gem_mmap() into object search and object mapping
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 e4f765c80fb0..82670ac0d774 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -1616,6 +1616,8 @@ int drm_gem_private_object_init(struct drm_device *dev, void drm_gem_object_handle_free(struct drm_gem_object *obj); void drm_gem_vm_open(struct vm_area_struct *vma); void drm_gem_vm_close(struct vm_area_struct *vma); +int drm_gem_mmap_obj(struct drm_gem_object *obj, unsigned long obj_size, + struct vm_area_struct *vma); int drm_gem_mmap(struct file *filp, struct vm_area_struct *vma); #include <drm/drm_global.h> |