diff options
author | Ezequiel Garcia <ezequiel@collabora.com> | 2018-09-25 18:16:05 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-09-26 08:05:06 +0200 |
commit | a20c4173c4219d85ba7775fde584cd34305a0b3d (patch) | |
tree | ef61b4923f6927713a5aee08aea495a85c570144 /samples/bpf/xdp_adjust_tail_user.c | |
parent | 02c87cabd6f1a6de151f999690393c3b8ad07b90 (diff) |
virtio: Rework virtio_gpu_object_kmap()
Currently, virtio_gpu_object_kmap() is only called by
virtio_gpufb_create(), when a DRM framebuffer is created.
Thus, instead of returning the vmap'ed address, emit a warning
if virtio_gpu_object_kmap is called on an already mapped
object. With this change, kmap/kunmap calls are now balanced.
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20180925161606.17980-3-ezequiel@collabora.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'samples/bpf/xdp_adjust_tail_user.c')
0 files changed, 0 insertions, 0 deletions