Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPSTREAM: virtio: Support prime objects vmap/vunmap
Implement vmap/vunmap so we can export dmabufs to other drivers, such as video4linux. Tested with a virtio-gpu / vivid (virtual capture driver) pipeline, where the vivid driver imports the dmabufs exported by virtio-gpu. Note that dma_buf_vmap() does its own vmap counting, so it's not needed to take care of it in the driver. Signed-off-by: Ezequiel Garcia <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Gerd Hoffmann <[email protected]> (cherry picked from commit a03fb71716ee60d1d763f1f27773cbbaec1359ed) Signed-off-by: Greg Hartman <[email protected]> BUG: 139386237 Change-Id: Icab4912be0e3da5a6fd453eb42894e6a16344ad3
- Loading branch information