]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
dma-buf: add vmap interface
authorDave Airlie <airlied@redhat.com>
Sun, 20 May 2012 07:03:56 +0000 (12:33 +0530)
committerSumit Semwal <sumit.semwal@ti.com>
Fri, 25 May 2012 07:05:24 +0000 (12:35 +0530)
commit98f86c9e4ae3205e4c85c535691a5d36426360ee
tree07a533aaf702c8b0a0f6ffb0b0ee2ae6e4fe62e3
parent4c78513e457f72d5554a0f6e2eabfad7b98e4f19
dma-buf: add vmap interface

The main requirement I have for this interface is for scanning out
using the USB gpu devices. Since these devices have to read the
framebuffer on updates and linearly compress it, using kmaps
is a major overhead for every update.

v2: fix warn issues pointed out by Sylwester Nawrocki.

v3: fix compile !CONFIG_DMA_SHARED_BUFFER and add _GPL for now

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Rob Clark <rob.clark@linaro.org>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
drivers/base/dma-buf.c
include/linux/dma-buf.h