Re: [PATCH v2 02/12] drm/virtio: switch virtio_gpu_wait_ioctl() to gem helper.

2019-06-18 Thread Daniel Vetter
On Tue, Jun 18, 2019 at 03:58:10PM +0200, Gerd Hoffmann wrote: > Use drm_gem_reservation_object_wait() in virtio_gpu_wait_ioctl(). > This also makes the ioctl run lockless. > > Signed-off-by: Gerd Hoffmann > Reviewed-by: Daniel Vetter Nit: Missing the v2 changelog here. -Daniel > --- > driver

[PATCH v2 02/12] drm/virtio: switch virtio_gpu_wait_ioctl() to gem helper.

2019-06-18 Thread Gerd Hoffmann
Use drm_gem_reservation_object_wait() in virtio_gpu_wait_ioctl(). This also makes the ioctl run lockless. Signed-off-by: Gerd Hoffmann Reviewed-by: Daniel Vetter --- drivers/gpu/drm/virtio/virtgpu_ioctl.c | 24 ++-- 1 file changed, 10 insertions(+), 14 deletions(-) diff --g