commit | 5edbb56082567d754a096286368e99a3377d8c95 | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Fri Feb 07 07:46:53 2020 +0100 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Fri Feb 07 09:33:55 2020 +0100 |
tree | 72df0e1c229dd3645a53542467343b99afb49b29 | |
parent | 96b5d1bee29f12fe5d75a96992bd67f3c46c9048 [diff] |
drm/virtio: fix ring free check If the virtio device supports indirect ring descriptors we need only one ring entry for the whole command. Take that into account when checking whenever the virtqueue has enough free entries for our command. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Chia-I Wu <olvaffe@gmail.com> Link: http://patchwork.freedesktop.org/patch/msgid/20200207064653.14403-1-kraxel@redhat.com