drm/virtio: set up virtqueue sgs before locking
authorChia-I Wu <olvaffe@gmail.com>
Wed, 5 Feb 2020 18:19:50 +0000 (10:19 -0800)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 6 Feb 2020 10:58:18 +0000 (11:58 +0100)
commitdb2e20726cca59e9bbf925fd65864fecfe8c96ab
tree12043fd65b5e6579abd6088b9513b1f2e8e60e0a
parent4d8d4869101590909fcf4bdb8fea8a9affdd2b94
drm/virtio: set up virtqueue sgs before locking

sgs setup does not need to be in the critical section.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20200205181955.202485-7-olvaffe@gmail.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/virtgpu_vq.c