virtio-gpu: add virtio_gpu_queue_ctrl_buffer_locked
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 19 Aug 2015 21:35:57 +0000 (23:35 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 16 Oct 2015 08:43:59 +0000 (10:43 +0200)
commit9c73f4782642c785569ad50e01324002d160bd09
treee7a26402d99409135f3df8f65e7c03e0c304e7e2
parent25cb62b76430a91cc6195f902e61c2cb84ade622
virtio-gpu: add virtio_gpu_queue_ctrl_buffer_locked

Add virtio_gpu_queue_ctrl_buffer_locked function, which does the same as
virtio_gpu_queue_ctrl_buffer but does not take the virtqueue lock.  The
caller must hold the lock instead.

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