Files
linux/drivers/gpu/drm
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
..
2018-02-25 11:03:52 +01:00
2018-03-24 10:58:46 +01:00
2015-10-19 11:00:44 +02:00
2015-09-30 10:44:48 +02:00
2015-09-30 10:44:48 +02:00
2015-03-13 17:37:35 +01:00
2015-09-30 10:44:48 +02:00
2015-09-30 10:44:48 +02:00