linux_dsm_epyc7002/drivers/gpu/drm/virtio
Gerd Hoffmann d02d270014 drm/virtio: fix vq wait_event condition
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>
2018-04-25 15:03:13 -04:00
..
Kconfig drm: fix compilations issues introduced by "drm: allow to use mmuless SoC" 2017-01-09 11:30:30 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
virtgpu_debugfs.c drm/virtio: fix include notation and remove -Iinclude/drm flag 2017-05-18 07:12:31 +02:00
virtgpu_display.c drm/virtio: Replace 'unsigned' for 'unsigned int' 2018-02-27 08:40:41 +01:00
virtgpu_drm_bus.c drm: Remove drm_device->virtdev 2017-05-29 20:57:25 +02:00
virtgpu_drv.c drm/virtio: Remove multiple blank lines 2018-02-27 08:40:42 +01:00
virtgpu_drv.h drm/virtio: Replace 'unsigned' for 'unsigned int' 2018-02-27 08:40:41 +01:00
virtgpu_fb.c drm/virtio: Replace 'unsigned' for 'unsigned int' 2018-02-27 08:40:41 +01:00
virtgpu_fence.c dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02:00
virtgpu_gem.c drm/virtio: Add blank line after variable declarations 2018-02-27 08:40:37 +01:00
virtgpu_ioctl.c Linux 4.16-rc7 2018-03-28 14:30:41 +10:00
virtgpu_kms.c virtgpu: remove redundant task_comm copying 2017-11-10 12:45:35 +01:00
virtgpu_object.c drm/ttm: drop persistent_swap_storage from ttm_bo_init and co 2018-02-26 23:09:45 -05:00
virtgpu_plane.c drm: Plumb modifiers through plane init 2017-08-01 17:50:06 +01:00
virtgpu_prime.c drm/virtio: Remove multiple blank lines 2018-02-27 08:40:42 +01:00
virtgpu_ttm.c drm/ttm: add bo as parameter to the ttm_tt_create callback 2018-03-14 14:38:27 -05:00
virtgpu_vq.c drm/virtio: fix vq wait_event condition 2018-04-25 15:03:13 -04:00