summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-04-03 11:59:04 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-02 07:53:40 -0700
commit7aa90727fda6943274224bc8dde19d346b60ee3f (patch)
tree1b207e6350de275e467855d989eb15f9cd03443c /include/linux
parentdd807a784fd36f4136516d5858efb6473dda422c (diff)
drm/virtio: fix vq wait_event condition
commit d02d270014f70dcab0117776b81a37b6fca745ae 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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions