Re: [PATCH 19/34] drm/i915/gvt: devirtualize ->gfn_to_mfn

From: Jason Gunthorpe
Date: Mon Apr 11 2022 - 12:29:49 EST


On Mon, Apr 11, 2022 at 04:13:48PM +0200, Christoph Hellwig wrote:
> Just open code it in the only caller.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---
> 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@xxxxxxxxxx>

Jason