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)
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>

No differences found