]> git.baikalelectronics.ru Git - kernel.git/commit
drm/virtio: fix a wait_event condition
authorChia-I Wu <olvaffe@gmail.com>
Wed, 5 Feb 2020 18:19:45 +0000 (10:19 -0800)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 6 Feb 2020 10:55:08 +0000 (11:55 +0100)
commit3dc9b79be6fd9c101ecb23a610635854f1c47774
treeb1ab25fcfb814ad8e4f3e4af02cee3caabef6dcd
parentf38853e3b4170234c5cafb61700b1521a5e8b719
drm/virtio: fix a wait_event condition

outcnt may be greater than 1 since commit 85f5e02c4e4a ("drm/virtio:
Use vmalloc for command buffer allocations.").

Fixes: 85f5e02c4e4a ("drm/virtio: Use vmalloc for command buffer allocations.")
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Cc: David Riley <davidriley@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20200205181955.202485-2-olvaffe@gmail.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/virtgpu_vq.c