]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
virtio-gpu: add & use virtio_gpu_queue_fenced_ctrl_buffer
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 19 Aug 2015 21:44:15 +0000 (23:44 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 16 Oct 2015 08:44:00 +0000 (10:44 +0200)
commitec2f0577c7b1fccc7a5d7ee8002a4f162061498f
tree218790a9de25b9f7f415d94f51d4114c9f730ca5
parent9c73f4782642c785569ad50e01324002d160bd09
virtio-gpu: add & use virtio_gpu_queue_fenced_ctrl_buffer

Add helper function to handle the submission of fenced control requests.
Make sure we initialize the fence while holding the virtqueue lock, so
requests can't be reordered.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/virtgpu_fence.c
drivers/gpu/drm/virtio/virtgpu_vq.c