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

From: Jason Gunthorpe
Date: Tue Nov 02 2021 - 12:51:45 EST


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@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