Re: [PATCH 18/34] drm/i915/gvt: devirtualize ->is_valid_gfn

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


On Mon, Apr 11, 2022 at 04:13:47PM +0200, Christoph Hellwig wrote:
> Just call the code directly and move towards the callers.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---
> drivers/gpu/drm/i915/gvt/gtt.c | 20 ++++++++++++++++++--
> drivers/gpu/drm/i915/gvt/hypercall.h | 1 -
> drivers/gpu/drm/i915/gvt/kvmgt.c | 17 -----------------
> drivers/gpu/drm/i915/gvt/mpt.h | 17 -----------------
> 4 files changed, 18 insertions(+), 37 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason