drm/virtio: drop virtio_gpu_fence_cleanup()
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 19 Dec 2018 12:27:01 +0000 (13:27 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 8 Jan 2019 11:00:01 +0000 (12:00 +0100)
commitcb66c6daa5e9b2b2aa7ebe956e329c81c1ffe466
tree809594d66170d4f24b9156ad8b6eb9b30af755c5
parent6a01d277ac611663e8e810177b50d16aa6c2a915
drm/virtio: drop virtio_gpu_fence_cleanup()

Just call drm_fence_put directly instead.
Also set vgfb->fence to NULL after dropping the reference.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Ezequiel Garcia <ezequiel@collabora.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20181219122708.4586-4-kraxel@redhat.com
drivers/gpu/drm/virtio/virtgpu_drv.h
drivers/gpu/drm/virtio/virtgpu_fence.c
drivers/gpu/drm/virtio/virtgpu_ioctl.c
drivers/gpu/drm/virtio/virtgpu_plane.c