]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdc4f51a6f894f260ae5d4f21b5db4c658f90bec1
tree68cebbf36deeee2a469790d6be2b393e6e858034
parent42f1116d1d58fe1f53a3c0dbc430a9b426ed2873
drm/virtio: fence: pass plain pointer

Since commit "659f3c06e0 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