drm/virtio: return virtio_gpu_queue errors
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 8 Sep 2020 07:07:22 +0000 (09:07 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 15 Sep 2020 11:30:53 +0000 (13:30 +0200)
commitb7170f9457f282783b6f3843e2b30d619449837c
tree5e6dbf3c87a8df9e27a36cb8dd4083fec460f3bc
parentd6005d3dde75f7e4f21822c12446553dd7a69bb2
drm/virtio: return virtio_gpu_queue errors

In case queuing virtio commands fails (can happen when
the device got unplugged) pass up the error.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20200908070723.6394-3-kraxel@redhat.com
drivers/gpu/drm/virtio/virtgpu_vq.c