summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/virtio/virtgpu_debugfs.c
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2020-02-05 10:19:52 -0800
committerGerd Hoffmann <kraxel@redhat.com>2020-02-06 11:58:18 +0100
commitc900b2a45cd333e45e9c2a83c7bbd50177433e87 (patch)
tree96e744ab7d6adc96b7f77b11292dc3d3953912e7 /drivers/gpu/drm/virtio/virtgpu_debugfs.c
parent6ebe8661ebf27a459aeefd6104943020c147e996 (diff)
drm/virtio: move the check for vqs_ready earlier
When vqs_ready is false, vq should be considered invalid and we should not check vq->num_free. After this change, a fenced command queued before the vqs are ready will have fence id 0 and will be considered done. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> Link: http://patchwork.freedesktop.org/patch/msgid/20200205181955.202485-9-olvaffe@gmail.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/virtio/virtgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions