Re: [PATCH v1] drm/virtio: Factor out common dmabuf unmapping code

2025-01-09 Thread Dmitry Osipenko
On 12/2/24 08:39, Dmitry Osipenko wrote: > Move out dmabuf detachment and unmapping into separate function. This > removes duplicated code and there is no need to check the GEM's kref now, > since both bo->attached and bo->sgt are unset under held reservation lock. > > Signed-off-by: Dmitry Osipen

RE: [PATCH v1] drm/virtio: Factor out common dmabuf unmapping code

2024-12-02 Thread Kasireddy, Vivek
Hi Dmitry, > Subject: [PATCH v1] drm/virtio: Factor out common dmabuf unmapping code > > Move out dmabuf detachment and unmapping into separate function. This > removes duplicated code and there is no need to check the GEM's kref now, > since both bo->attached and bo-&g

[PATCH v1] drm/virtio: Factor out common dmabuf unmapping code

2024-12-01 Thread Dmitry Osipenko
Move out dmabuf detachment and unmapping into separate function. This removes duplicated code and there is no need to check the GEM's kref now, since both bo->attached and bo->sgt are unset under held reservation lock. Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/virtio/virtgpu_prime.c | 3