drm/virtio: Add missing virtqueue reset
authorEzequiel Garcia <ezequiel@collabora.com>
Wed, 2 Jan 2019 17:55:07 +0000 (14:55 -0300)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 8 Jan 2019 10:45:28 +0000 (11:45 +0100)
commitedde9fc58e26c2b120e6e4d633b8df56629fd770
treea380b10244f69da26186d60ea3b3362d41f7808b
parent29cd2e2dac799e5f243d6d3c68bf3834b65b204e
drm/virtio: Add missing virtqueue reset

As per the VirtIO spec, the virtqueues must be reset during cleanup
(see "3.3.1 Driver Requirements: Device Cleanup").

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20190102175507.4653-2-ezequiel@collabora.com
drivers/gpu/drm/virtio/virtgpu_kms.c