diff options
author | Qi Liu <liuqi.16@bytedance.com> | 2020-07-21 18:16:47 +0800 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-08-07 13:55:54 +0200 |
commit | 8b6ec999b198b59ae61e86e70f5e9df73fe4754f (patch) | |
tree | f93e07c3ed1c26b76e0a41c1fed2b72dab384ab7 /drivers/gpu/drm/virtio/virtgpu_object.c | |
parent | b5ac98cbb8e5e30c34ebc837d1e5a3982d2b5f5c (diff) |
drm/virtio: fix missing dma_fence_put() in virtio_gpu_execbuffer_ioctl()
We should put the reference count of the fence after calling
virtio_gpu_cmd_submit(). So add the missing dma_fence_put().
Fixes: 2cd7b6f08bc4 ("drm/virtio: add in/out fence support for explicit synchronization")
Co-developed-by: Xin He <hexin.op@bytedance.com>
Signed-off-by: Xin He <hexin.op@bytedance.com>
Signed-off-by: Qi Liu <liuqi.16@bytedance.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20200721101647.42653-1-hexin.op@bytedance.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/virtio/virtgpu_object.c')
0 files changed, 0 insertions, 0 deletions