Skip to content
Snippets Groups Projects
Commit ea5ea3d8 authored by David Stevens's avatar David Stevens Committed by Gerd Hoffmann
Browse files

drm/virtio: support mapping exported vram


Implement virtgpu specific map_dma_buf callback to support mapping
exported vram object dma-bufs. The dma-buf callback is used directly, as
vram objects don't have backing pages and thus can't implement the
drm_gem_object_funcs.get_sg_table callback.

Signed-off-by: default avatarDavid Stevens <stevensd@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20210813005441.608293-1-stevensd@chromium.org


Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent f492283b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment