Files
linux/drivers/gpu/drm/virtio
Gerd Hoffmann 7aa90727fd drm/virtio: fix vq wait_event condition
commit d02d270014 upstream.

Wait until we have enough space in the virt queue to actually queue up
our request.  Avoids the guest spinning in case we have a non-zero
amount of free entries but not enough for the request.

Cc: stable@vger.kernel.org
Reported-by: Alain Magloire <amagloire@blackberry.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20180403095904.11152-1-kraxel@redhat.com
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-02 07:53:40 -07:00
..
2015-06-03 14:17:38 +02:00
2015-10-16 10:44:02 +02:00
2015-06-16 11:22:40 +02:00
2015-10-16 10:44:03 +02:00
2015-10-16 10:44:02 +02:00
2015-10-16 10:44:02 +02:00
2015-06-03 14:17:38 +02:00
2015-10-16 10:44:02 +02:00