drm/virtio: Rewrite virtio_gpu_queue_ctrl_buffer using fenced version.
authorDavid Riley <davidriley@chromium.org>
Wed, 11 Sep 2019 18:14:02 +0000 (11:14 -0700)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 12 Sep 2019 07:49:24 +0000 (09:49 +0200)
commit32d6c2c5b5227cfc6f796bbd760dab81b05f48e5
tree485db562d8b22c1c898af7e2032bb41fe78f55a3
parent07583467c256ed1acacb204a96d69beacb34b7f6
drm/virtio: Rewrite virtio_gpu_queue_ctrl_buffer using fenced version.

Factor function in preparation to generating scatterlist prior to locking.

Signed-off-by: David Riley <davidriley@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20190911181403.40909-2-davidriley@chromium.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/virtgpu_vq.c