Re: [PATCH v4 1/2] drm/virtio: Refactor job submission code path

2023-04-03 Thread Dmitry Osipenko
On 3/30/23 18:32, Emil Velikov wrote: >> +static int virtio_gpu_dma_fence_wait(struct virtio_gpu_submit *submit, >> + struct dma_fence *fence) >> +{ >> +struct dma_fence_unwrap itr; >> +struct dma_fence *f; >> +int err; >> + >> +dma_fence_unwrap_for_e

Re: [PATCH v4 1/2] drm/virtio: Refactor job submission code path

2023-03-30 Thread Emil Velikov
Hey Dmitry, On 2023/03/24, Dmitry Osipenko wrote: > Move virtio_gpu_execbuffer_ioctl() into separate virtgpu_submit.c file > and refactor the code along the way to ease addition of new features to > the ioctl. > At a glance, we have a handful of no-op as well as some functional changes - let's s

[PATCH v4 1/2] drm/virtio: Refactor job submission code path

2023-03-23 Thread Dmitry Osipenko
Move virtio_gpu_execbuffer_ioctl() into separate virtgpu_submit.c file and refactor the code along the way to ease addition of new features to the ioctl. Reviewed-by: Rob Clark Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/virtio/Makefile | 2 +- drivers/gpu/drm/virtio/virtgpu_dr