Re: [PATCH v3] drm/virtio: fix missing dma_fence_put() in virtio_gpu_execbuffer_ioctl()

2020-08-06 Thread
Xin He 于2020年7月21日周二 下午6:17写道: > > From: Qi Liu > > We should put the reference count of the fence after calling > virtio_gpu_cmd_submit(). So add the missing dma_fence_put(). > > Fixes: 2cd7b6f08bc4 ("drm/virtio: add in/out fence support for explicit > synchronization") > Co-developed-by: Xin H

Re: [PATCH] drm/virtio: fix memory leak in virtio_gpu_cleanup_object()

2020-08-05 Thread
Xin He 于2020年7月22日周三 下午1:19写道: > > Before setting shmem->pages to NULL, kfree() should > be called. > > Signed-off-by: Xin He > Reviewed-by: Qi Liu > --- > drivers/gpu/drm/virtio/virtgpu_object.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/virtio/virtgpu_object.c >