]> git.baikalelectronics.ru Git - kernel.git/commit
drm/virtio: fix command submission with objects but without fence.
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 4 Sep 2019 07:48:28 +0000 (09:48 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 6 Sep 2019 05:23:37 +0000 (07:23 +0200)
commitaa08ad0f0babc6a4d97d68fcf8de971a8fd333aa
treead3f6b30dd047154f526abf0ff0dd3736f230031
parent9ee0b054adfee471b57bf375f278ae1d693e5344
drm/virtio: fix command submission with objects but without fence.

Only call virtio_gpu_array_add_fence if we actually have a fence.

Fixes: f30fdf2b4525 ("drm/virtio: rework virtio_gpu_execbuffer_ioctl fencing")
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20190904074828.32502-1-kraxel@redhat.com
drivers/gpu/drm/virtio/virtgpu_vq.c