]> 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)
commit3fd03fdf7017dead515721db0b5ac7a7b9fa0845
treeb1ab25fcfb814ad8e4f3e4af02cee3caabef6dcd
parent44a0455cd197da55753960f23f2093f33c6e23a8
drm/virtio: fix a wait_event condition

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

Fixes: c55d8df37eed ("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