Re: [PATCH 24/29] drm/i915/gvt: remove the extra vfio_device refcounting for dmabufs

From: Jason Gunthorpe
Date: Tue Nov 02 2021 - 12:37:09 EST


On Tue, Nov 02, 2021 at 08:05:56AM +0100, Christoph Hellwig wrote:
> All the dmabufs are torn down when th VGPU is released, so there is
> no need for extra refcounting here.
>
> Based on an patch from Jason Gunthorpe.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---
> drivers/gpu/drm/i915/gvt/dmabuf.c | 12 ------------
> drivers/gpu/drm/i915/gvt/gvt.h | 1 -
> 2 files changed, 13 deletions(-)

Oh, here it gets fixed up, yes:

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason