]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit685ecd79e279db928cb47d79719f83d5276e9659
tree809594d66170d4f24b9156ad8b6eb9b30af755c5
parent97f08c2508579b698bded4f1f5a71c709a042efc
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