Re: [Intel-gfx] [PATCH 19/29] drm/i915/gvt: devirtualize ->gfn_to_mfn

Jason Gunthorpe
2021-11-02T16:14:51Z

On Tue, Nov 02, 2021 at 08:05:51AM +0100, Christoph Hellwig wrote:
> Just open code it in the only caller.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
> drivers/gpu/drm/i915/gvt/gtt.c | 9 +++++----
> drivers/gpu/drm/i915/gvt/hypercall.h | 1 -
> drivers/gpu/drm/i915/gvt/kvmgt.c | 16 ----------------
> drivers/gpu/drm/i915/gvt/mpt.h | 14 --------------
> 4 files changed, 5 insertions(+), 35 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>

Jason