drm/virtio: fence: pass plain pointer
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 28 Nov 2018 15:10:20 +0000 (16:10 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 29 Nov 2018 12:45:07 +0000 (13:45 +0100)
commit4d55fd66b454c3489758731b7c3f470579c3780e
tree68cebbf36deeee2a469790d6be2b393e6e858034
parent7cdf33ab02e01300e7e6289acbac9cd8759f8712
drm/virtio: fence: pass plain pointer

Since commit "9fdd90c0f4 drm/virtio: add virtio_gpu_alloc_fence()"
fences are not allocated any more by virtio_gpu_fence_emit().  So there
is no need to pass down a reference to the fence pointer, a plain
pointer is enough now.

Convert virtio_gpu_fence_emit() and callers.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Robert Foss <robert.foss@collabora.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20181128151021.29565-2-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
drivers/gpu/drm/virtio/virtgpu_vq.c