]> git.karo-electronics.de Git - linux-beck.git/commit
staging: drm/omap: dmabuf/prime mmap support
authorRob Clark <rob@ti.com>
Thu, 17 May 2012 08:37:25 +0000 (02:37 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 May 2012 15:54:08 +0000 (08:54 -0700)
commit8b6b569eac2e74d0b2a1822790f725a9a6abc2be
tree0df577fc6e1b3836e3a5283b72a5fa4f78d8ac96
parent39eb7e9791866973dbb7a3a6d2061d70356c7d90
staging: drm/omap: dmabuf/prime mmap support

Add support for mmap'ing buffers via dmabuf.  For handling mmap of
cached buffers correctly, fault handling and PTE shootdown are used
to track dirty pages and automagically handle cache flushes before
dma access to the buffer.

Signed-off-by: Rob Clark <rob@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/omapdrm/omap_drv.h
drivers/staging/omapdrm/omap_fb.c
drivers/staging/omapdrm/omap_gem.c
drivers/staging/omapdrm/omap_gem_dmabuf.c